forked from qt-creator/qt-creator
Whitespace Changes
Change-Id: I5cafe8a659090d7e6f7afeeac0c103f98085bda3 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
@@ -545,7 +545,7 @@ void MaemoPublisherFremantleFree::finishWithFailure(const QString &progressMsg,
|
|||||||
bool MaemoPublisherFremantleFree::updateDesktopFiles(QString *error) const
|
bool MaemoPublisherFremantleFree::updateDesktopFiles(QString *error) const
|
||||||
{
|
{
|
||||||
bool success = true;
|
bool success = true;
|
||||||
const Qt4MaemoDeployConfiguration * const deployConfig
|
const Qt4MaemoDeployConfiguration *const deployConfig
|
||||||
= qobject_cast<Qt4MaemoDeployConfiguration *>(m_buildConfig->target()->activeDeployConfiguration());
|
= qobject_cast<Qt4MaemoDeployConfiguration *>(m_buildConfig->target()->activeDeployConfiguration());
|
||||||
QTC_ASSERT(deployConfig, return false);
|
QTC_ASSERT(deployConfig, return false);
|
||||||
const DeploymentInfo *const deploymentInfo = deployConfig->deploymentInfo();
|
const DeploymentInfo *const deploymentInfo = deployConfig->deploymentInfo();
|
||||||
|
@@ -50,7 +50,7 @@ class MaemoPublishingWizardFremantleFree : public Utils::Wizard
|
|||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
explicit MaemoPublishingWizardFremantleFree(const ProjectExplorer::Project *project,
|
explicit MaemoPublishingWizardFremantleFree(const ProjectExplorer::Project *project,
|
||||||
QWidget *parent = 0);
|
QWidget *parent = 0);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
virtual int nextId() const;
|
virtual int nextId() const;
|
||||||
|
@@ -227,7 +227,7 @@ void Project::setActiveTarget(Target *target)
|
|||||||
|
|
||||||
Target *Project::target(const Core::Id id) const
|
Target *Project::target(const Core::Id id) const
|
||||||
{
|
{
|
||||||
foreach (Target * target, d->m_targets) {
|
foreach (Target *target, d->m_targets) {
|
||||||
if (target->id() == id)
|
if (target->id() == id)
|
||||||
return target;
|
return target;
|
||||||
}
|
}
|
||||||
|
@@ -87,7 +87,7 @@ public:
|
|||||||
Q_UNUSED(e);
|
Q_UNUSED(e);
|
||||||
QPainter p(this);
|
QPainter p(this);
|
||||||
QColor fillColor = Utils::StyleHelper::mergedColors(
|
QColor fillColor = Utils::StyleHelper::mergedColors(
|
||||||
palette().button().color(), Qt::black, 80);
|
palette().button().color(), Qt::black, 80);
|
||||||
p.fillRect(contentsRect(), fillColor);
|
p.fillRect(contentsRect(), fillColor);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@@ -107,9 +107,9 @@ void RootWidget::paintEvent(QPaintEvent *e)
|
|||||||
|
|
||||||
QPainter painter(this);
|
QPainter painter(this);
|
||||||
QColor light = Utils::StyleHelper::mergedColors(
|
QColor light = Utils::StyleHelper::mergedColors(
|
||||||
palette().button().color(), Qt::white, 30);
|
palette().button().color(), Qt::white, 30);
|
||||||
QColor dark = Utils::StyleHelper::mergedColors(
|
QColor dark = Utils::StyleHelper::mergedColors(
|
||||||
palette().button().color(), Qt::black, 85);
|
palette().button().color(), Qt::black, 85);
|
||||||
|
|
||||||
painter.setPen(light);
|
painter.setPen(light);
|
||||||
painter.drawLine(rect().topRight(), rect().bottomRight());
|
painter.drawLine(rect().topRight(), rect().bottomRight());
|
||||||
@@ -132,7 +132,7 @@ PanelsWidget::PanelsWidget(QWidget *parent) :
|
|||||||
|
|
||||||
QPalette pal = m_root->palette();
|
QPalette pal = m_root->palette();
|
||||||
QColor background = Utils::StyleHelper::mergedColors(
|
QColor background = Utils::StyleHelper::mergedColors(
|
||||||
palette().window().color(), Qt::white, 85);
|
palette().window().color(), Qt::white, 85);
|
||||||
pal.setColor(QPalette::All, QPalette::Window, background.darker(102));
|
pal.setColor(QPalette::All, QPalette::Window, background.darker(102));
|
||||||
setPalette(pal);
|
setPalette(pal);
|
||||||
pal.setColor(QPalette::All, QPalette::Window, background);
|
pal.setColor(QPalette::All, QPalette::Window, background);
|
||||||
|
@@ -506,7 +506,7 @@ void SymbianIDeviceConfigurationWidget::getInstalledPackagesResult(const Coda::C
|
|||||||
const QString uidKey = QLatin1String("uid");
|
const QString uidKey = QLatin1String("uid");
|
||||||
const QString errorKey = QLatin1String("error");
|
const QString errorKey = QLatin1String("error");
|
||||||
const QString versionKey = QLatin1String("version");
|
const QString versionKey = QLatin1String("version");
|
||||||
foreach (const QVariant& var, resultsList) {
|
foreach (const QVariant &var, resultsList) {
|
||||||
QVariantHash obj = var.toHash();
|
QVariantHash obj = var.toHash();
|
||||||
bool ok = false;
|
bool ok = false;
|
||||||
uint uid = obj.value(uidKey).toString().toUInt(&ok, 16);
|
uint uid = obj.value(uidKey).toString().toUInt(&ok, 16);
|
||||||
@@ -567,7 +567,7 @@ void SymbianIDeviceConfigurationWidget::getHalResult(const Coda::CodaCommandResu
|
|||||||
int y = 0;
|
int y = 0;
|
||||||
const QString nameKey = QLatin1String("name");
|
const QString nameKey = QLatin1String("name");
|
||||||
const QString valueKey = QLatin1String("value");
|
const QString valueKey = QLatin1String("value");
|
||||||
foreach (const QVariant& var, resultsList) {
|
foreach (const QVariant &var, resultsList) {
|
||||||
QVariantHash obj = var.toHash();
|
QVariantHash obj = var.toHash();
|
||||||
const QString name = obj.value(nameKey).toString();
|
const QString name = obj.value(nameKey).toString();
|
||||||
if (name == QLatin1String("EDisplayXPixels"))
|
if (name == QLatin1String("EDisplayXPixels"))
|
||||||
|
@@ -103,7 +103,7 @@ private:
|
|||||||
|
|
||||||
void setDeviceInfoLabel(const QString &message, bool isError = false);
|
void setDeviceInfoLabel(const QString &message, bool isError = false);
|
||||||
|
|
||||||
QWidget * createCommunicationChannel();
|
QWidget *createCommunicationChannel();
|
||||||
|
|
||||||
void getQtVersionCommandResult(const Coda::CodaCommandResult &result);
|
void getQtVersionCommandResult(const Coda::CodaCommandResult &result);
|
||||||
void getRomInfoResult(const Coda::CodaCommandResult &result);
|
void getRomInfoResult(const Coda::CodaCommandResult &result);
|
||||||
|
Reference in New Issue
Block a user