forked from qt-creator/qt-creator
autotools: minor cleanup
Change-Id: Ic7862a4a97e60ed016a53f5893e03e3f9ec11e53 Reviewed-by: Patricia Santana Cruz <patriciasc@openismus.com> Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -53,12 +53,10 @@ using namespace AutotoolsProjectManager;
|
||||
using namespace AutotoolsProjectManager::Internal;
|
||||
using namespace ProjectExplorer;
|
||||
|
||||
namespace {
|
||||
const char MAKE_STEP_ID[] = "AutotoolsProjectManager.MakeStep";
|
||||
const char CLEAN_KEY[] = "AutotoolsProjectManager.MakeStep.Clean";
|
||||
const char BUILD_TARGETS_KEY[] = "AutotoolsProjectManager.MakeStep.BuildTargets";
|
||||
const char MAKE_STEP_ADDITIONAL_ARGUMENTS_KEY[] = "AutotoolsProjectManager.MakeStep.AdditionalArguments";
|
||||
}
|
||||
|
||||
//////////////////////////
|
||||
// MakeStepFactory class
|
||||
@@ -68,10 +66,6 @@ MakeStepFactory::MakeStepFactory(QObject *parent) :
|
||||
{
|
||||
}
|
||||
|
||||
MakeStepFactory::~MakeStepFactory()
|
||||
{
|
||||
}
|
||||
|
||||
QStringList MakeStepFactory::availableCreationIds(BuildStepList *parent) const
|
||||
{
|
||||
if (parent->target()->project()->id() == QLatin1String(Constants::AUTOTOOLS_PROJECT_ID))
|
||||
@@ -164,10 +158,6 @@ void MakeStep::ctor()
|
||||
setDefaultDisplayName(tr("Make"));
|
||||
}
|
||||
|
||||
MakeStep::~MakeStep()
|
||||
{
|
||||
}
|
||||
|
||||
AutotoolsBuildConfiguration *MakeStep::autotoolsBuildConfiguration() const
|
||||
{
|
||||
return static_cast<AutotoolsBuildConfiguration *>(buildConfiguration());
|
||||
@@ -208,7 +198,7 @@ void MakeStep::run(QFutureInterface<bool> &interface)
|
||||
AbstractProcessStep::run(interface);
|
||||
}
|
||||
|
||||
ProjectExplorer::BuildStepConfigWidget* MakeStep::createConfigWidget()
|
||||
ProjectExplorer::BuildStepConfigWidget *MakeStep::createConfigWidget()
|
||||
{
|
||||
return new MakeStepConfigWidget(this);
|
||||
}
|
||||
@@ -246,7 +236,7 @@ QString MakeStep::additionalArguments() const
|
||||
|
||||
QVariantMap MakeStep::toMap() const
|
||||
{
|
||||
QVariantMap map(AbstractProcessStep::toMap());
|
||||
QVariantMap map = AbstractProcessStep::toMap();
|
||||
|
||||
map.insert(QLatin1String(BUILD_TARGETS_KEY), m_buildTargets);
|
||||
map.insert(QLatin1String(MAKE_STEP_ADDITIONAL_ARGUMENTS_KEY), m_additionalArguments);
|
||||
@@ -288,10 +278,6 @@ MakeStepConfigWidget::MakeStepConfigWidget(MakeStep *makeStep) :
|
||||
this, SLOT(updateDetails()));
|
||||
}
|
||||
|
||||
MakeStepConfigWidget::~MakeStepConfigWidget()
|
||||
{
|
||||
}
|
||||
|
||||
QString MakeStepConfigWidget::displayName() const
|
||||
{
|
||||
return tr("Make", "AutotoolsProjectManager::MakeStepConfigWidget display name.");
|
||||
|
||||
Reference in New Issue
Block a user