AutoTest: Code cosmetics

Change-Id: I49a73b83b1b6857c34913db8f7c6818cf7a1a129
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Christian Stenger
2018-05-31 07:38:04 +02:00
parent 73d9c2fff3
commit ad8e67cea3
24 changed files with 41 additions and 37 deletions

View File

@@ -47,11 +47,11 @@ public:
virtual const char *name() const = 0;
virtual unsigned priority() const = 0; // should this be modifyable?
virtual bool hasFrameworkSettings() const { return false; }
virtual IFrameworkSettings *createFrameworkSettings() const { return 0; }
virtual IFrameworkSettings *createFrameworkSettings() const { return nullptr; }
virtual ITestSettingsPage *createSettingsPage(QSharedPointer<IFrameworkSettings> settings) const
{
Q_UNUSED(settings);
return 0;
return nullptr;
}
TestTreeItem *rootNode()
@@ -78,8 +78,8 @@ protected:
virtual TestTreeItem *createRootNode() const = 0;
private:
TestTreeItem *m_rootNode = 0;
ITestParser *m_testParser = 0;
TestTreeItem *m_rootNode = nullptr;
ITestParser *m_testParser = nullptr;
bool m_active = false;
bool m_grouping = false;
};