diff options
author | hjk <[email protected]> | 2016-03-02 12:05:30 +0100 |
---|---|---|
committer | hjk <[email protected]> | 2016-03-02 13:14:07 +0000 |
commit | 7a5226aa47a54e2ed82fc9308d47fe7cb0457069 (patch) | |
tree | 03cc607ade8b53e583bdb70f23b4ba608fcfc167 /src/plugins/valgrind/callgrindtool.h | |
parent | c0b9565de7fae8d7be84e3764b864285fe7737d9 (diff) |
Valgrind: Clean up tools interface a bit
Mainly move tool specific code from plugin.cpp to *tool.cpp.
Clean up includes etc.
Change-Id: Ic968ead9d93099c59abe9f99a9db529305160f95
Reviewed-by: Christian Stenger <[email protected]>
Diffstat (limited to 'src/plugins/valgrind/callgrindtool.h')
-rw-r--r-- | src/plugins/valgrind/callgrindtool.h | 23 |
1 files changed, 2 insertions, 21 deletions
diff --git a/src/plugins/valgrind/callgrindtool.h b/src/plugins/valgrind/callgrindtool.h index 271b92fe4b7..e7df17db865 100644 --- a/src/plugins/valgrind/callgrindtool.h +++ b/src/plugins/valgrind/callgrindtool.h @@ -28,8 +28,6 @@ #include <QObject> -namespace ProjectExplorer { class RunConfiguration; } - namespace Valgrind { namespace Internal { @@ -41,27 +39,10 @@ const char CallgrindCalleesDockId[] = "Callgrind.Callees.Dock"; const char CallgrindFlatDockId[] = "Callgrind.Flat.Dock"; const char CallgrindVisualizationDockId[] = "Callgrind.Visualization.Dock"; -class ValgrindRunControl; const char CALLGRIND_RUN_MODE[] = "CallgrindTool.CallgrindRunMode"; -class CallgrindToolPrivate; - -class CallgrindTool : public QObject -{ - Q_OBJECT - -public: - CallgrindTool(QObject *parent); - ~CallgrindTool(); - - ValgrindRunControl *createRunControl(ProjectExplorer::RunConfiguration *runConfiguration); - QWidget *createWidgets(); - - void handleShowCostsOfFunction(); - -private: - CallgrindToolPrivate *d; -}; +void initCallgrindTool(QObject *parent); +void destroyCallgrindTool(); } // namespace Internal } // namespace Valgrind |