forked from qt-creator/qt-creator
Analyzer: Cleanup settings handling
More flexible, less over-engineered this way. Change-Id: I3e224a6be85d3a187056d79fd506e8cf6a32c8a9 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
@@ -33,11 +33,11 @@
|
||||
|
||||
#include <QListView>
|
||||
|
||||
namespace Analyzer { class AnalyzerSettings; }
|
||||
|
||||
namespace Valgrind {
|
||||
namespace Internal {
|
||||
|
||||
class ValgrindBaseSettings;
|
||||
|
||||
class MemcheckErrorView : public QListView
|
||||
{
|
||||
Q_OBJECT
|
||||
@@ -52,10 +52,10 @@ public:
|
||||
|
||||
void setDefaultSuppressionFile(const QString &suppFile);
|
||||
QString defaultSuppressionFile() const;
|
||||
Analyzer::AnalyzerSettings *settings() const { return m_settings; }
|
||||
ValgrindBaseSettings *settings() const { return m_settings; }
|
||||
|
||||
public slots:
|
||||
void settingsChanged(Analyzer::AnalyzerSettings *settings);
|
||||
void settingsChanged(ValgrindBaseSettings *settings);
|
||||
void goNext();
|
||||
void goBack();
|
||||
|
||||
@@ -75,7 +75,7 @@ private:
|
||||
QAction *m_copyAction;
|
||||
QAction *m_suppressAction;
|
||||
QString m_defaultSuppFile;
|
||||
Analyzer::AnalyzerSettings *m_settings;
|
||||
ValgrindBaseSettings *m_settings;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
|
||||
Reference in New Issue
Block a user