summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Teske <daniel.teske@digia.com>2013-04-25 13:58:06 +0200
committerDaniel Teske <daniel.teske@digia.com>2013-04-25 18:33:51 +0200
commitba315fa750e232940f249f254725ae5e9d2f571d (patch)
treee6590e69cb8ce3717661119a5941146ff31c8823
parentcb857b47a27fc20ead792cb2c389636c850f2bd1 (diff)
downloadqt-creator-ba315fa750e232940f249f254725ae5e9d2f571d.tar.gz
IRunControlFactory::displayName: Remove unused function
It's never used. Change-Id: I11cc85b1d9a5944017b8a03738877f91cfe5d11f Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
-rw-r--r--src/plugins/analyzerbase/analyzerruncontrolfactory.cpp5
-rw-r--r--src/plugins/analyzerbase/analyzerruncontrolfactory.h1
-rw-r--r--src/plugins/android/androidrunfactories.cpp5
-rw-r--r--src/plugins/android/androidrunfactories.h2
-rw-r--r--src/plugins/debugger/debuggerruncontrolfactory.h3
-rw-r--r--src/plugins/debugger/debuggerrunner.cpp5
-rw-r--r--src/plugins/madde/maemorunfactories.cpp5
-rw-r--r--src/plugins/madde/maemorunfactories.h2
-rw-r--r--src/plugins/projectexplorer/localapplicationruncontrol.cpp5
-rw-r--r--src/plugins/projectexplorer/localapplicationruncontrol.h1
-rw-r--r--src/plugins/projectexplorer/runconfiguration.h2
-rw-r--r--src/plugins/qmlprojectmanager/qmlprojectruncontrol.cpp5
-rw-r--r--src/plugins/qmlprojectmanager/qmlprojectruncontrol.h2
-rw-r--r--src/plugins/qnx/blackberryruncontrolfactory.cpp5
-rw-r--r--src/plugins/qnx/blackberryruncontrolfactory.h2
-rw-r--r--src/plugins/qnx/qnxruncontrolfactory.cpp5
-rw-r--r--src/plugins/qnx/qnxruncontrolfactory.h2
-rw-r--r--src/plugins/remotelinux/remotelinuxruncontrolfactory.cpp5
-rw-r--r--src/plugins/remotelinux/remotelinuxruncontrolfactory.h2
19 files changed, 0 insertions, 64 deletions
diff --git a/src/plugins/analyzerbase/analyzerruncontrolfactory.cpp b/src/plugins/analyzerbase/analyzerruncontrolfactory.cpp
index 4d6b8362ce..38dcbc6703 100644
--- a/src/plugins/analyzerbase/analyzerruncontrolfactory.cpp
+++ b/src/plugins/analyzerbase/analyzerruncontrolfactory.cpp
@@ -48,11 +48,6 @@ AnalyzerRunControlFactory::AnalyzerRunControlFactory(QObject *parent) :
{
}
-QString AnalyzerRunControlFactory::displayName() const
-{
- return tr("Analyzer");
-}
-
bool AnalyzerRunControlFactory::canRun(RunConfiguration *runConfiguration, RunMode mode) const
{
IAnalyzerTool *tool = AnalyzerManager::toolFromRunMode(mode);
diff --git a/src/plugins/analyzerbase/analyzerruncontrolfactory.h b/src/plugins/analyzerbase/analyzerruncontrolfactory.h
index 9c29c32ae9..1a041c222d 100644
--- a/src/plugins/analyzerbase/analyzerruncontrolfactory.h
+++ b/src/plugins/analyzerbase/analyzerruncontrolfactory.h
@@ -44,7 +44,6 @@ public:
explicit AnalyzerRunControlFactory(QObject *parent = 0);
// IRunControlFactory implementation
- QString displayName() const;
bool canRun(RunConfiguration *runConfiguration, ProjectExplorer::RunMode mode) const;
ProjectExplorer::RunControl *create(RunConfiguration *runConfiguration,
ProjectExplorer::RunMode mode,
diff --git a/src/plugins/android/androidrunfactories.cpp b/src/plugins/android/androidrunfactories.cpp
index 8b3b6a6b31..2dd93bc6b4 100644
--- a/src/plugins/android/androidrunfactories.cpp
+++ b/src/plugins/android/androidrunfactories.cpp
@@ -167,10 +167,5 @@ RunControl *AndroidRunControlFactory::create(RunConfiguration *runConfig,
return AndroidDebugSupport::createDebugRunControl(rc, errorMessage);
}
-QString AndroidRunControlFactory::displayName() const
-{
- return tr("Run on Android device or emulator.");
-}
-
} // namespace Internal
} // namespace Qt4ProjectManager
diff --git a/src/plugins/android/androidrunfactories.h b/src/plugins/android/androidrunfactories.h
index 66f95f7193..3fa64f60e5 100644
--- a/src/plugins/android/androidrunfactories.h
+++ b/src/plugins/android/androidrunfactories.h
@@ -78,8 +78,6 @@ class AndroidRunControlFactory : public ProjectExplorer::IRunControlFactory
public:
explicit AndroidRunControlFactory(QObject *parent = 0);
- QString displayName() const;
-
bool canRun(ProjectExplorer::RunConfiguration *runConfiguration,
ProjectExplorer::RunMode mode) const;
ProjectExplorer::RunControl *create(ProjectExplorer::RunConfiguration *runConfiguration,
diff --git a/src/plugins/debugger/debuggerruncontrolfactory.h b/src/plugins/debugger/debuggerruncontrolfactory.h
index 883fce96dc..70a9adf2d5 100644
--- a/src/plugins/debugger/debuggerruncontrolfactory.h
+++ b/src/plugins/debugger/debuggerruncontrolfactory.h
@@ -68,9 +68,6 @@ public:
ProjectExplorer::IRunConfigurationAspect *createRunConfigurationAspect(
ProjectExplorer::RunConfiguration *rc);
-
-private:
- QString displayName() const;
};
} // namespace Internal
diff --git a/src/plugins/debugger/debuggerrunner.cpp b/src/plugins/debugger/debuggerrunner.cpp
index 5090f97485..9f18893ff5 100644
--- a/src/plugins/debugger/debuggerrunner.cpp
+++ b/src/plugins/debugger/debuggerrunner.cpp
@@ -325,11 +325,6 @@ bool DebuggerRunControlFactory::canRun(RunConfiguration *runConfiguration, RunMo
&& qobject_cast<LocalApplicationRunConfiguration *>(runConfiguration);
}
-QString DebuggerRunControlFactory::displayName() const
-{
- return DebuggerPlugin::tr("Debug");
-}
-
static DebuggerStartParameters localStartParameters(RunConfiguration *runConfiguration, QString *errorMessage)
{
DebuggerStartParameters sp;
diff --git a/src/plugins/madde/maemorunfactories.cpp b/src/plugins/madde/maemorunfactories.cpp
index d675fb543b..cbd84ddbc6 100644
--- a/src/plugins/madde/maemorunfactories.cpp
+++ b/src/plugins/madde/maemorunfactories.cpp
@@ -239,10 +239,5 @@ RunControl* MaemoRunControlFactory::create(RunConfiguration *runConfig, RunMode
QTC_ASSERT(false, return 0);
}
-QString MaemoRunControlFactory::displayName() const
-{
- return tr("Run on device");
-}
-
} // namespace Internal
} // namespace Madde
diff --git a/src/plugins/madde/maemorunfactories.h b/src/plugins/madde/maemorunfactories.h
index ce7782fb86..84d779099a 100644
--- a/src/plugins/madde/maemorunfactories.h
+++ b/src/plugins/madde/maemorunfactories.h
@@ -82,8 +82,6 @@ public:
explicit MaemoRunControlFactory(QObject *parent = 0);
~MaemoRunControlFactory();
- QString displayName() const;
-
bool canRun(ProjectExplorer::RunConfiguration *runConfiguration, ProjectExplorer::RunMode mode) const;
RunControl *create(ProjectExplorer::RunConfiguration *runConfiguration,
ProjectExplorer::RunMode mode,
diff --git a/src/plugins/projectexplorer/localapplicationruncontrol.cpp b/src/plugins/projectexplorer/localapplicationruncontrol.cpp
index 429649df6c..4d8a5efd34 100644
--- a/src/plugins/projectexplorer/localapplicationruncontrol.cpp
+++ b/src/plugins/projectexplorer/localapplicationruncontrol.cpp
@@ -53,11 +53,6 @@ bool LocalApplicationRunControlFactory::canRun(RunConfiguration *runConfiguratio
return mode == NormalRunMode && qobject_cast<LocalApplicationRunConfiguration *>(runConfiguration);
}
-QString LocalApplicationRunControlFactory::displayName() const
-{
- return tr("Run");
-}
-
RunControl *LocalApplicationRunControlFactory::create(RunConfiguration *runConfiguration, RunMode mode, QString *errorMessage)
{
QTC_ASSERT(canRun(runConfiguration, mode), return 0);
diff --git a/src/plugins/projectexplorer/localapplicationruncontrol.h b/src/plugins/projectexplorer/localapplicationruncontrol.h
index 4a7bbb38e2..0904f3d529 100644
--- a/src/plugins/projectexplorer/localapplicationruncontrol.h
+++ b/src/plugins/projectexplorer/localapplicationruncontrol.h
@@ -45,7 +45,6 @@ public:
LocalApplicationRunControlFactory ();
virtual ~LocalApplicationRunControlFactory();
virtual bool canRun(RunConfiguration *runConfiguration, RunMode mode) const;
- virtual QString displayName() const;
virtual RunControl* create(RunConfiguration *runConfiguration, RunMode mode, QString *errorMessage);
};
diff --git a/src/plugins/projectexplorer/runconfiguration.h b/src/plugins/projectexplorer/runconfiguration.h
index b656107f49..f51f8006b3 100644
--- a/src/plugins/projectexplorer/runconfiguration.h
+++ b/src/plugins/projectexplorer/runconfiguration.h
@@ -186,8 +186,6 @@ public:
virtual bool canRun(RunConfiguration *runConfiguration, RunMode mode) const = 0;
virtual RunControl *create(RunConfiguration *runConfiguration, RunMode mode, QString *errorMessage) = 0;
- virtual QString displayName() const = 0;
-
virtual IRunConfigurationAspect *createRunConfigurationAspect(RunConfiguration *rc);
};
diff --git a/src/plugins/qmlprojectmanager/qmlprojectruncontrol.cpp b/src/plugins/qmlprojectmanager/qmlprojectruncontrol.cpp
index 84af07b3b0..f54e185c62 100644
--- a/src/plugins/qmlprojectmanager/qmlprojectruncontrol.cpp
+++ b/src/plugins/qmlprojectmanager/qmlprojectruncontrol.cpp
@@ -192,11 +192,6 @@ RunControl *QmlProjectRunControlFactory::create(RunConfiguration *runConfigurati
return runControl;
}
-QString QmlProjectRunControlFactory::displayName() const
-{
- return tr("Run");
-}
-
RunControl *QmlProjectRunControlFactory::createDebugRunControl(QmlProjectRunConfiguration *runConfig, QString *errorMessage)
{
Debugger::DebuggerStartParameters params;
diff --git a/src/plugins/qmlprojectmanager/qmlprojectruncontrol.h b/src/plugins/qmlprojectmanager/qmlprojectruncontrol.h
index 0af1343cbe..9eea9736d5 100644
--- a/src/plugins/qmlprojectmanager/qmlprojectruncontrol.h
+++ b/src/plugins/qmlprojectmanager/qmlprojectruncontrol.h
@@ -78,8 +78,6 @@ public:
virtual bool canRun(ProjectExplorer::RunConfiguration *runConfiguration, ProjectExplorer::RunMode mode) const;
virtual ProjectExplorer::RunControl *create(ProjectExplorer::RunConfiguration *runConfiguration,
ProjectExplorer::RunMode mode, QString *errorMessage);
- virtual QString displayName() const;
-
private:
ProjectExplorer::RunControl *createDebugRunControl(QmlProjectRunConfiguration *runConfig, QString *errorMessage);
};
diff --git a/src/plugins/qnx/blackberryruncontrolfactory.cpp b/src/plugins/qnx/blackberryruncontrolfactory.cpp
index aa3e2c93aa..3db7911f9d 100644
--- a/src/plugins/qnx/blackberryruncontrolfactory.cpp
+++ b/src/plugins/qnx/blackberryruncontrolfactory.cpp
@@ -125,11 +125,6 @@ ProjectExplorer::RunControl *BlackBerryRunControlFactory::create(ProjectExplorer
return runControl;
}
-QString BlackBerryRunControlFactory::displayName() const
-{
- return tr("Run on BlackBerry Device");
-}
-
Debugger::DebuggerStartParameters BlackBerryRunControlFactory::startParameters(
const BlackBerryRunConfiguration *runConfig)
{
diff --git a/src/plugins/qnx/blackberryruncontrolfactory.h b/src/plugins/qnx/blackberryruncontrolfactory.h
index c31191f207..b66319e915 100644
--- a/src/plugins/qnx/blackberryruncontrolfactory.h
+++ b/src/plugins/qnx/blackberryruncontrolfactory.h
@@ -58,8 +58,6 @@ public:
ProjectExplorer::RunMode mode,
QString *errorMessage);
- QString displayName() const;
-
private:
static Debugger::DebuggerStartParameters startParameters( const BlackBerryRunConfiguration *runConfig);
diff --git a/src/plugins/qnx/qnxruncontrolfactory.cpp b/src/plugins/qnx/qnxruncontrolfactory.cpp
index 34794d46ee..989f38ff15 100644
--- a/src/plugins/qnx/qnxruncontrolfactory.cpp
+++ b/src/plugins/qnx/qnxruncontrolfactory.cpp
@@ -154,8 +154,3 @@ RunControl *QnxRunControlFactory::create(RunConfiguration *runConfig, RunMode mo
return runControl;
}
-
-QString QnxRunControlFactory::displayName() const
-{
- return tr("Run on remote QNX device");
-}
diff --git a/src/plugins/qnx/qnxruncontrolfactory.h b/src/plugins/qnx/qnxruncontrolfactory.h
index 5f00138cb8..2f1773a44e 100644
--- a/src/plugins/qnx/qnxruncontrolfactory.h
+++ b/src/plugins/qnx/qnxruncontrolfactory.h
@@ -44,8 +44,6 @@ class QnxRunControlFactory : public ProjectExplorer::IRunControlFactory
public:
explicit QnxRunControlFactory(QObject *parent = 0);
- QString displayName() const;
-
bool canRun(ProjectExplorer::RunConfiguration *runConfiguration,
ProjectExplorer::RunMode mode) const;
ProjectExplorer::RunControl *create(ProjectExplorer::RunConfiguration *runConfiguration,
diff --git a/src/plugins/remotelinux/remotelinuxruncontrolfactory.cpp b/src/plugins/remotelinux/remotelinuxruncontrolfactory.cpp
index 8cd5be8e44..8682e54055 100644
--- a/src/plugins/remotelinux/remotelinuxruncontrolfactory.cpp
+++ b/src/plugins/remotelinux/remotelinuxruncontrolfactory.cpp
@@ -108,10 +108,5 @@ RunControl *RemoteLinuxRunControlFactory::create(RunConfiguration *runConfig, Ru
QTC_ASSERT(false, return 0);
}
-QString RemoteLinuxRunControlFactory::displayName() const
-{
- return tr("Run on remote Linux device");
-}
-
} // namespace Internal
} // namespace RemoteLinux
diff --git a/src/plugins/remotelinux/remotelinuxruncontrolfactory.h b/src/plugins/remotelinux/remotelinuxruncontrolfactory.h
index 9a5805ddde..9a34790d12 100644
--- a/src/plugins/remotelinux/remotelinuxruncontrolfactory.h
+++ b/src/plugins/remotelinux/remotelinuxruncontrolfactory.h
@@ -41,8 +41,6 @@ public:
explicit RemoteLinuxRunControlFactory(QObject *parent = 0);
~RemoteLinuxRunControlFactory();
- QString displayName() const;
-
bool canRun(ProjectExplorer::RunConfiguration *runConfiguration,
ProjectExplorer::RunMode mode) const;
ProjectExplorer::RunControl *create(ProjectExplorer::RunConfiguration *runConfiguration,