From e1a690e10098cdc29d7b4fb453f84e18855357be Mon Sep 17 00:00:00 2001 From: Janne Anttila Date: Wed, 29 Jul 2009 08:52:13 +0300 Subject: Fixed some tab/space usage in symmake.cpp --- qmake/generators/symbian/symmake.cpp | 40 ++++++++++++++++++------------------ 1 file 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 " << endl; + t << "#include <" << appName << ".rsg>" << endl; + t << "#include " << endl; + t << endl; + //t << "#include " << "\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 " << "\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; -- cgit v0.12