summaryrefslogtreecommitdiff
path: root/src/plugins/valgrind/memchecktool.h
diff options
context:
space:
mode:
authorhjk <hjk121@nokiamail.com>2013-07-30 11:55:28 +0200
committerhjk <hjk121@nokiamail.com>2013-08-01 10:32:51 +0200
commit1fb755bb42c4a323716c9d6351e502609d1d993c (patch)
tree8f86064a92734bc687ede362f1cf07b97db984f3 /src/plugins/valgrind/memchecktool.h
parent2ba88d1c18bb903627a4a03692eb70f31c313a6f (diff)
downloadqt-creator-1fb755bb42c4a323716c9d6351e502609d1d993c.tar.gz
Analyzer: Remove intermediate "ValgrindTool" inheritance level
It's an empty shell nowadays. Change-Id: I661735eccf035b58cc405905a58bd74e787e6abc Reviewed-by: Aurindam Jana <aurindam.jana@digia.com>
Diffstat (limited to 'src/plugins/valgrind/memchecktool.h')
-rw-r--r--src/plugins/valgrind/memchecktool.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/plugins/valgrind/memchecktool.h b/src/plugins/valgrind/memchecktool.h
index 26c632c8f2..3603e77ef6 100644
--- a/src/plugins/valgrind/memchecktool.h
+++ b/src/plugins/valgrind/memchecktool.h
@@ -31,18 +31,13 @@
#ifndef MEMCHECKTOOL_H
#define MEMCHECKTOOL_H
-#include "valgrindtool.h"
+#include <analyzerbase/ianalyzertool.h>
#include <QSortFilterProxyModel>
-#include <QSharedPointer>
QT_BEGIN_NAMESPACE
-class QItemSelection;
-class QTreeView;
class QModelIndex;
class QAction;
-class QSpinBox;
-class QCheckBox;
class QMenu;
QT_END_NAMESPACE
@@ -82,7 +77,7 @@ private:
bool m_filterExternalIssues;
};
-class MemcheckTool : public ValgrindTool
+class MemcheckTool : public Analyzer::IAnalyzerTool
{
Q_OBJECT
@@ -93,6 +88,7 @@ public:
ProjectExplorer::RunMode runMode() const;
QString displayName() const;
QString description() const;
+ bool canRun(ProjectExplorer::RunConfiguration *, ProjectExplorer::RunMode mode) const;
// Create the valgrind settings (for all valgrind tools)
Analyzer::AbstractAnalyzerSubConfig *createGlobalSettings();