summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2009-07-29 05:52:13 (GMT)
committerJanne Anttila <janne.anttila@digia.com>2009-07-29 05:52:13 (GMT)
commite1a690e10098cdc29d7b4fb453f84e18855357be (patch)
treea3d14e661ecba748c0c22847b03ad51d94978718
parentd050cb9c44d3c185a36f2af8be36ab70ce7a794e (diff)
downloadQt-e1a690e10098cdc29d7b4fb453f84e18855357be.zip
Qt-e1a690e10098cdc29d7b4fb453f84e18855357be.tar.gz
Qt-e1a690e10098cdc29d7b4fb453f84e18855357be.tar.bz2
Fixed some tab/space usage in symmake.cpp
-rw-r--r--qmake/generators/symbian/symmake.cpp40
1 files changed, 20 insertions, 20 deletions
diff --git a/qmake/generators/symbian/symmake.cpp b/qmake/generators/symbian/symmake.cpp
index 34ab560..f2c7557 100644
--- a/qmake/generators/symbian/symmake.cpp
+++ b/qmake/generators/symbian/symmake.cpp
@@ -1267,7 +1267,7 @@ bool SymbianMakefileGenerator::writeRegRssFile(QString &appName, QStringList &us
QFile ft(filename);
if(ft.open(QIODevice::WriteOnly)) {
generatedFiles << ft.fileName();
- QTextStream t(&ft);
+ QTextStream t(&ft);
t << "// ============================================================================" << endl;
t << "// * Generated by qmake (" << qmake_version() << ") (Qt " << QT_VERSION_STR << ") on: ";
t << QDateTime::currentDateTime().toString(Qt::ISODate) << endl;
@@ -1275,21 +1275,21 @@ bool SymbianMakefileGenerator::writeRegRssFile(QString &appName, QStringList &us
t << "// * user." << endl;
t << "// ============================================================================" << endl;
t << endl;
- t << "#include <" << appName << ".rsg>" << endl;
- t << "#include <appinfo.rh>" << endl;
+ t << "#include <" << appName << ".rsg>" << endl;
+ t << "#include <appinfo.rh>" << endl;
+ t << endl;
+ //t << "#include <data_caging_paths.hrh>" << "\n" << endl;
+ t << "UID2 " << "KUidAppRegistrationResourceFile" << endl;
+ t << "UID3 " << uid3 << endl << endl;
+ t << "RESOURCE APP_REGISTRATION_INFO" << endl;
+ t << "\t{" << endl;
+ t << "\tapp_file=\"" << appName << "\";" << endl;
+ t << "\tlocalisable_resource_file=\"" RESOURCE_DIRECTORY_RESOURCE << appName << "\";" << endl;
t << endl;
- //t << "#include <data_caging_paths.hrh>" << "\n" << endl;
- t << "UID2 " << "KUidAppRegistrationResourceFile" << endl;
- t << "UID3 " << uid3 << endl << endl;
- t << "RESOURCE APP_REGISTRATION_INFO" << endl;
- t << "\t{" << endl;
- t << "\tapp_file=\"" << appName << "\";" << endl;
- t << "\tlocalisable_resource_file=\"" RESOURCE_DIRECTORY_RESOURCE << appName << "\";" << endl;
- t << endl;
foreach(QString item, userItems)
t << "\t" << item << endl;
- t << "\t}" << endl;
+ t << "\t}" << endl;
} else {
return false;
}
@@ -1302,7 +1302,7 @@ bool SymbianMakefileGenerator::writeRssFile(QString &appName, QString &numberOfI
QFile ft(filename);
if(ft.open(QIODevice::WriteOnly)) {
generatedFiles << ft.fileName();
- QTextStream t(&ft);
+ QTextStream t(&ft);
t << "// ============================================================================" << endl;
t << "// * Generated by qmake (" << qmake_version() << ") (Qt " << QT_VERSION_STR << ") on: ";
t << QDateTime::currentDateTime().toString(Qt::ISODate) << endl;
@@ -1314,11 +1314,11 @@ bool SymbianMakefileGenerator::writeRssFile(QString &appName, QString &numberOfI
t << "#include \"" << appName << ".loc\"" << endl;
t << endl;
t << "RESOURCE LOCALISABLE_APP_INFO r_localisable_app_info" << endl;
- t << "\t{" << endl;
+ t << "\t{" << endl;
t << "\tshort_caption = STRING_r_short_caption;" << endl;
t << "\tcaption_and_icon =" << endl;
t << "\tCAPTION_AND_ICON_INFO" << endl;
- t << "\t\t{" << endl;
+ t << "\t\t{" << endl;
t << "\t\tcaption = STRING_r_caption;" << endl;
if(numberOfIcons.isEmpty() || iconFile.isEmpty() ) {
@@ -1331,10 +1331,10 @@ bool SymbianMakefileGenerator::writeRssFile(QString &appName, QString &numberOfI
t << "\t\tnumber_of_icons = " << numberOfIcons << ";" << endl;
t << "\t\ticon_file = \"" << iconFile << "\";" << endl;
}
- t << "\t\t};" << endl;
- t << "\t}" << endl;
- t << endl;
- } else {
+ t << "\t\t};" << endl;
+ t << "\t}" << endl;
+ t << endl;
+ } else {
return false;
}
return true;
@@ -1346,7 +1346,7 @@ bool SymbianMakefileGenerator::writeLocFile(QString &appName, QStringList &symbi
QFile ft(filename);
if(ft.open(QIODevice::WriteOnly)) {
generatedFiles << ft.fileName();
- QTextStream t(&ft);
+ QTextStream t(&ft);
t << "// ============================================================================" << endl;
t << "// * Generated by qmake (" << qmake_version() << ") (Qt " << QT_VERSION_STR << ") on: ";
t << QDateTime::currentDateTime().toString(Qt::ISODate) << endl;