forked from qt-creator/qt-creator
Do not fully qualify types in ProjectExplorer namespace
Rely on using namespace ProjectExplorer that got introduced in a previous commit. Change-Id: I83cfc7387d8e5329b588d6d841cd9c2322270363 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -67,7 +67,7 @@ namespace Internal {
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
class DebuggerRunConfigWidget : public ProjectExplorer::RunConfigWidget
|
class DebuggerRunConfigWidget : public RunConfigWidget
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
@@ -215,7 +215,7 @@ void DebuggerRunConfigWidget::useMultiProcessToggled(bool on)
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
DebuggerRunConfigurationAspect::DebuggerRunConfigurationAspect(
|
DebuggerRunConfigurationAspect::DebuggerRunConfigurationAspect(
|
||||||
ProjectExplorer::RunConfiguration *rc) :
|
RunConfiguration *rc) :
|
||||||
IRunConfigurationAspect(rc),
|
IRunConfigurationAspect(rc),
|
||||||
m_useCppDebugger(AutoEnabledLanguage),
|
m_useCppDebugger(AutoEnabledLanguage),
|
||||||
m_useQmlDebugger(AutoEnabledLanguage),
|
m_useQmlDebugger(AutoEnabledLanguage),
|
||||||
@@ -292,8 +292,8 @@ void DebuggerRunConfigurationAspect::setUseMultiProcess(bool value)
|
|||||||
|
|
||||||
bool DebuggerRunConfigurationAspect::isQmlDebuggingSpinboxSuppressed() const
|
bool DebuggerRunConfigurationAspect::isQmlDebuggingSpinboxSuppressed() const
|
||||||
{
|
{
|
||||||
ProjectExplorer::Kit *k = runConfiguration()->target()->kit();
|
Kit *k = runConfiguration()->target()->kit();
|
||||||
ProjectExplorer::IDevice::ConstPtr dev = ProjectExplorer::DeviceKitInformation::device(k);
|
IDevice::ConstPtr dev = DeviceKitInformation::device(k);
|
||||||
if (dev.isNull())
|
if (dev.isNull())
|
||||||
return false;
|
return false;
|
||||||
return dev->canAutoDetectPorts();
|
return dev->canAutoDetectPorts();
|
||||||
@@ -327,12 +327,12 @@ void DebuggerRunConfigurationAspect::fromMap(const QVariantMap &map)
|
|||||||
}
|
}
|
||||||
|
|
||||||
DebuggerRunConfigurationAspect *DebuggerRunConfigurationAspect::create
|
DebuggerRunConfigurationAspect *DebuggerRunConfigurationAspect::create
|
||||||
(ProjectExplorer::RunConfiguration *runConfiguration) const
|
(RunConfiguration *runConfiguration) const
|
||||||
{
|
{
|
||||||
return new DebuggerRunConfigurationAspect(runConfiguration);
|
return new DebuggerRunConfigurationAspect(runConfiguration);
|
||||||
}
|
}
|
||||||
|
|
||||||
ProjectExplorer::RunConfigWidget *DebuggerRunConfigurationAspect::createConfigurationWidget()
|
RunConfigWidget *DebuggerRunConfigurationAspect::createConfigurationWidget()
|
||||||
{
|
{
|
||||||
return new Internal::DebuggerRunConfigWidget(this);
|
return new Internal::DebuggerRunConfigWidget(this);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user