aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/autotest/itestframework.h
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2020-01-10 12:00:37 +0100
committerhjk <hjk@qt.io>2020-01-15 10:52:24 +0000
commit03003872bcbf54afc69223f3f5271e98ad15736b (patch)
tree9c4567e41e83a5b9b7daa6eec86729e9cb7ab243 /src/plugins/autotest/itestframework.h
parentd86fba3ee1904446442881e77515d019e8618f73 (diff)
AutoTest: Drop ITestSettingsPage intermediate class
Less code in total, and more uniform with other IOptionPage subclasses. Change-Id: I3d1cb9fae0faf32a360394cc5cf3262a9b59b456 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/autotest/itestframework.h')
-rw-r--r--src/plugins/autotest/itestframework.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/plugins/autotest/itestframework.h b/src/plugins/autotest/itestframework.h
index 9753ccc12a..11bdfa31cc 100644
--- a/src/plugins/autotest/itestframework.h
+++ b/src/plugins/autotest/itestframework.h
@@ -28,10 +28,11 @@
#include "testtreeitem.h"
#include "itestparser.h"
+namespace Core { class IOptionsPage; }
+
namespace Autotest {
class IFrameworkSettings;
-class ITestSettingsPage;
class ITestFramework
{
@@ -47,7 +48,7 @@ public:
virtual unsigned priority() const = 0; // should this be modifyable?
virtual bool hasFrameworkSettings() const { return false; }
virtual IFrameworkSettings *createFrameworkSettings() const { return nullptr; }
- virtual ITestSettingsPage *createSettingsPage(QSharedPointer<IFrameworkSettings> settings) const
+ virtual Core::IOptionsPage *createSettingsPage(QSharedPointer<IFrameworkSettings> settings) const
{
Q_UNUSED(settings)
return nullptr;
@@ -66,6 +67,8 @@ public:
return m_testParser;
}
+ Core::Id settingsId() const;
+
bool active() const { return m_active; }
void setActive(bool active) { m_active = active; }
bool grouping() const { return m_grouping; }