android: code cosmetics

Fix whitespace, capitalization, naming, comments, add 'using'
in .cpp, remove 'using' in .h, remove unneeded Q_UNUSED, add
needed Q_UNUSED, etc.

Change-Id: Ibf9ba57850cbea1e79e152ec0165c8b01fa66567
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
hjk
2012-08-09 01:56:51 +02:00
parent d215470bb0
commit bab670af67
40 changed files with 237 additions and 328 deletions

View File

@@ -31,30 +31,22 @@
#include "androidpackageinstallationstep.h"
#include "androidmanager.h"
#include <QFileInfo>
#include <QDir>
#include <projectexplorer/buildsteplist.h>
using namespace Android::Internal;
const Core::Id AndroidPackageInstallationStep::Id("Qt4ProjectManager.AndroidPackageInstallationStep");
const Core::Id AndroidPackageInstallationStep::Id = Core::Id("Qt4ProjectManager.AndroidPackageInstallationStep");
static inline QString stepDisplayName()
AndroidPackageInstallationStep::AndroidPackageInstallationStep(ProjectExplorer::BuildStepList *bsl)
: MakeStep(bsl, Id)
{
return AndroidPackageInstallationStep::tr("Copy application data");
}
AndroidPackageInstallationStep::AndroidPackageInstallationStep(ProjectExplorer::BuildStepList *bsl) : MakeStep(bsl, Id)
{
const QString name = stepDisplayName();
const QString name = tr("Copy application data");
setDefaultDisplayName(name);
setDisplayName(name);
}
AndroidPackageInstallationStep::AndroidPackageInstallationStep(ProjectExplorer::BuildStepList *bc, AndroidPackageInstallationStep *other): MakeStep(bc, other)
{ }
AndroidPackageInstallationStep::~AndroidPackageInstallationStep()
AndroidPackageInstallationStep::AndroidPackageInstallationStep(ProjectExplorer::BuildStepList *bc, AndroidPackageInstallationStep *other)
: MakeStep(bc, other)
{ }
bool AndroidPackageInstallationStep::init()