autotools: style, more 'using', less typing.

Change-Id: I27e8843d5278d1b1a33bd7bdce2f0e721adbd725
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
hjk
2012-01-13 13:36:45 +01:00
committed by hjk
parent 21dcecee28
commit 761bef0adc
9 changed files with 123 additions and 123 deletions

View File

@@ -60,7 +60,7 @@ const char AUTORECONF_ADDITIONAL_ARGUMENTS_KEY[] = "AutotoolsProjectManager.Auto
// AutoreconfStepFactory class
////////////////////////////////
AutoreconfStepFactory::AutoreconfStepFactory(QObject *parent) :
ProjectExplorer::IBuildStepFactory(parent)
IBuildStepFactory(parent)
{
}
@@ -108,9 +108,9 @@ BuildStep *AutoreconfStepFactory::clone(BuildStepList *parent, BuildStep *source
return new AutoreconfStep(parent, static_cast<AutoreconfStep *>(source));
}
bool AutoreconfStepFactory::canRestore(ProjectExplorer::BuildStepList *parent, const QVariantMap &map) const
bool AutoreconfStepFactory::canRestore(BuildStepList *parent, const QVariantMap &map) const
{
QString id(ProjectExplorer::idFromMap(map));
QString id = idFromMap(map);
return canCreate(parent, id);
}
@@ -128,20 +128,20 @@ BuildStep *AutoreconfStepFactory::restore(BuildStepList *parent, const QVariantM
/////////////////////////
// AutoreconfStep class
/////////////////////////
AutoreconfStep::AutoreconfStep(ProjectExplorer::BuildStepList *bsl) :
AutoreconfStep::AutoreconfStep(BuildStepList *bsl) :
AbstractProcessStep(bsl, QLatin1String(AUTORECONF_STEP_ID)),
m_runAutoreconf(false)
{
ctor();
}
AutoreconfStep::AutoreconfStep(ProjectExplorer::BuildStepList *bsl, const QString &id) :
AutoreconfStep::AutoreconfStep(BuildStepList *bsl, const QString &id) :
AbstractProcessStep(bsl, id)
{
ctor();
}
AutoreconfStep::AutoreconfStep(ProjectExplorer::BuildStepList *bsl, AutoreconfStep *bs) :
AutoreconfStep::AutoreconfStep(BuildStepList *bsl, AutoreconfStep *bs) :
AbstractProcessStep(bsl, bs),
m_additionalArguments(bs->additionalArguments())
{
@@ -194,7 +194,7 @@ void AutoreconfStep::run(QFutureInterface<bool> &interface)
AbstractProcessStep::run(interface);
}
ProjectExplorer::BuildStepConfigWidget* AutoreconfStep::createConfigWidget()
BuildStepConfigWidget *AutoreconfStep::createConfigWidget()
{
return new AutoreconfStepConfigWidget(this);
}