From 1fb755bb42c4a323716c9d6351e502609d1d993c Mon Sep 17 00:00:00 2001 From: hjk Date: Tue, 30 Jul 2013 11:55:28 +0200 Subject: Analyzer: Remove intermediate "ValgrindTool" inheritance level It's an empty shell nowadays. Change-Id: I661735eccf035b58cc405905a58bd74e787e6abc Reviewed-by: Aurindam Jana --- src/plugins/valgrind/memchecktool.h | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'src/plugins/valgrind/memchecktool.h') 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 #include -#include 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(); -- cgit v1.2.1