GammaRay  2.4.0
uiintegration.h
1 /*
2  * This file is part of GammaRay, the Qt application inspection and
3  * manipulation tool.
4  *
5  * Copyright (C) 2014-2015 Klar?lvdalens Datakonsult AB, a KDAB Group company, info@kdab.com
6  * Author: Anton Kreuzkamp <anton.kreuzkamp@kdab.com>
7  *
8  * Licensees holding valid commercial KDAB GammaRay licenses may use this file in
9  * accordance with GammaRay Commercial License Agreement provided with the Software.
10  *
11  * Contact info@kdab.com if any conditions of this licensing are not clear to you.
12  *
13  * This program is free software; you can redistribute it and/or modify
14  * it under the terms of the GNU General Public License as published by
15  * the Free Software Foundation, either version 2 of the License, or
16  * (at your option) any later version.
17  *
18  * This program is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21  * GNU General Public License for more details.
22  *
23  * You should have received a copy of the GNU General Public License
24  * along with this program. If not, see <http://www.gnu.org/licenses/>.
25  *
26  */
27 
28 #ifndef UIINTEGRATION_H
29 #define UIINTEGRATION_H
30 
31 #include "gammaray_ui_export.h"
32 
33 #include <QObject>
34 
35 namespace GammaRay {
36 
41 class GAMMARAY_UI_EXPORT UiIntegration : public QObject
42 {
43  Q_OBJECT
44 public:
45 
46  explicit UiIntegration(QObject *parent = 0);
47  virtual ~UiIntegration();
48 
49  static UiIntegration* instance();
50 
55  static void requestNavigateToCode(const QString &filePath, int lineNumber, int columnNumber = 0);
56 
57 Q_SIGNALS:
58  void navigateToCode(const QString &filePath, int lineNumber, int columnNumber);
59 
60 private:
62  static UiIntegration *s_uiIntegrationInstance;
63 };
64 
65 } // namespace GammaRay
66 
67 #endif // UIINTEGRATION_H
Definition: uiintegration.h:41
Definition: endpoint.h:42

Klarälvdalens Datakonsult AB (KDAB)
"The Qt Experts"
http://www.kdab.com/
GammaRay
Qt-application inspection and manipulation tool
http://www.kdab.com/kdab-products/gammaray/