forked from qt-creator/qt-creator
AutoTest: Use using namespace Utils more often
Change-Id: I9d20cd3496c4719d58a977f8fd53253c86d55463 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -8,6 +8,8 @@
|
||||
#include "testtreeitem.h"
|
||||
#include "testtreemodel.h"
|
||||
|
||||
using namespace Utils;
|
||||
|
||||
namespace Autotest {
|
||||
|
||||
ITestBase::ITestBase(bool activeByDefault, const ITestBase::TestBaseType type)
|
||||
@@ -15,15 +17,15 @@ ITestBase::ITestBase(bool activeByDefault, const ITestBase::TestBaseType type)
|
||||
, m_type(type)
|
||||
{}
|
||||
|
||||
Utils::Id ITestBase::settingsId() const
|
||||
Id ITestBase::settingsId() const
|
||||
{
|
||||
return Utils::Id(Constants::SETTINGSPAGE_PREFIX)
|
||||
return Id(Constants::SETTINGSPAGE_PREFIX)
|
||||
.withSuffix(QString("%1.%2").arg(priority()).arg(QLatin1String(name())));
|
||||
}
|
||||
|
||||
Utils::Id ITestBase::id() const
|
||||
Id ITestBase::id() const
|
||||
{
|
||||
return Utils::Id(Constants::FRAMEWORK_PREFIX).withSuffix(name());
|
||||
return Id(Constants::FRAMEWORK_PREFIX).withSuffix(name());
|
||||
}
|
||||
|
||||
void ITestBase::resetRootNode()
|
||||
|
||||
Reference in New Issue
Block a user