summaryrefslogtreecommitdiffstats
path: root/qmake/generators/symbian/symbiancommon.h
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2010-02-09 09:03:06 (GMT)
committeraxis <qt-info@nokia.com>2010-02-09 09:24:40 (GMT)
commit8985620b40e92dae928d6597924eacdf36da020c (patch)
tree7f7b0c2e8fd1469b78fbb87a25f9a84781acc0b5 /qmake/generators/symbian/symbiancommon.h
parent0de1cf57c6ad80776dc4d57a394ea5e0982686a6 (diff)
downloadQt-8985620b40e92dae928d6597924eacdf36da020c.zip
Qt-8985620b40e92dae928d6597924eacdf36da020c.tar.gz
Qt-8985620b40e92dae928d6597924eacdf36da020c.tar.bz2
Implemented rss file generator for Linux.
Most code was reused from the Windows generator. Icons don't currently work due to a problem with the mifconv tool. In addition backslashes were changed to slashes in all common code, since qmake seems to prefer this when doing path cleanup and the like.
Diffstat (limited to 'qmake/generators/symbian/symbiancommon.h')
-rw-r--r--qmake/generators/symbian/symbiancommon.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/qmake/generators/symbian/symbiancommon.h b/qmake/generators/symbian/symbiancommon.h
index abe6d51..32f9483 100644
--- a/qmake/generators/symbian/symbiancommon.h
+++ b/qmake/generators/symbian/symbiancommon.h
@@ -63,11 +63,21 @@ public:
virtual void init();
+protected:
+
QString removePathSeparators(QString &file);
void removeSpecialCharacters(QString& str);
void generatePkgFile(const QString &iconFile, DeploymentList &depList, bool epocBuild);
bool containsStartWithItem(const QChar &c, const QStringList& src);
+ void writeRegRssFile(QStringList &useritems);
+ void writeRssFile(QString &numberOfIcons, QString &iconfile);
+ void writeLocFile(QStringList &symbianLangCodes);
+ void readRssRules(QString &numberOfIcons, QString &iconFile, QStringList &userRssRules);
+
+ QStringList symbianLangCodesFromTsFiles();
+ void fillQt2S60LangMapTable();
+
protected:
MakefileGenerator *generator;
@@ -77,6 +87,8 @@ protected:
QString privateDirUid;
QString uid3;
TargetType targetType;
+
+ QHash<QString, QString> qt2S60LangMapTable;
};
#endif // SYMBIANCOMMON_H