Commit cedf015c authored by Tobias Hunger's avatar Tobias Hunger

ProjectConfiguration: Clean up some constants

Remove unnecessary constant and move others into the cpp file where
they are used.

Change-Id: Ib1e8ac69a39eb38794bbdafc860ca42ca29c3bdb
Reviewed-by: default avatarNiels Weber <niels.weber@theqtcompany.com>
parent 6d797a90
......@@ -47,6 +47,9 @@ using namespace ProjectExplorer;
namespace Android {
namespace Internal {
// Qt 5.2 has a new form of deployment
const char ANDROID_DEPLOYCONFIGURATION_ID[] = "Qt4ProjectManager.AndroidDeployConfiguration2";
AndroidDeployConfiguration::AndroidDeployConfiguration(Target *parent, Core::Id id)
: DeployConfiguration(parent, id)
{
......
......@@ -36,10 +36,6 @@
namespace Android {
namespace Internal {
// Qt 5.2 has a new form of deployment
const char ANDROID_DEPLOYCONFIGURATION_ID[] = "Qt4ProjectManager.AndroidDeployConfiguration2";
const char ANDROID_DC_PREFIX[] = "Qt4ProjectManager.AndroidDeployConfiguration2.";
class AndroidDeployConfiguration : public ProjectExplorer::DeployConfiguration
{
Q_OBJECT
......
......@@ -37,6 +37,8 @@ using namespace ProjectExplorer;
namespace BareMetal {
namespace Internal {
const char GdbCommandsKey[] = "BareMetal.GdbCommandsStep.Commands";
BareMetalGdbCommandsDeployStepWidget::BareMetalGdbCommandsDeployStepWidget(BareMetalGdbCommandsDeployStep &step)
: m_step(step)
{
......
......@@ -68,8 +68,6 @@ private:
QString m_gdbCommands;
};
const char GdbCommandsKey[] = "BareMetal.GdbCommandsStep.Commands";
class BareMetalGdbCommandsDeployStepWidget: public ProjectExplorer::BuildStepConfigWidget
{
Q_OBJECT
......
......@@ -45,6 +45,9 @@ using namespace ProjectExplorer;
namespace Ios {
namespace Internal {
const char IOS_DEPLOYCONFIGURATION_ID[] = "Qt4ProjectManager.IosDeployConfiguration";
const char IOS_DC_PREFIX[] = "Qt4ProjectManager.IosDeployConfiguration.";
IosDeployConfiguration::IosDeployConfiguration(Target *parent, Core::Id id)
: DeployConfiguration(parent, id)
{
......
......@@ -35,9 +35,6 @@
namespace Ios {
namespace Internal {
const char IOS_DEPLOYCONFIGURATION_ID[] = "Qt4ProjectManager.IosDeployConfiguration";
const char IOS_DC_PREFIX[] = "Qt4ProjectManager.IosDeployConfiguration.";
class IosDeployConfiguration : public ProjectExplorer::DeployConfiguration
{
Q_OBJECT
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment