Changeset 846 for trunk/qmake/project.h
- Timestamp:
- May 5, 2011, 5:36:53 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.7.2 (added) merged: 845 /branches/vendor/nokia/qt/current merged: 844 /branches/vendor/nokia/qt/4.6.3 removed
- Property svn:mergeinfo changed
-
trunk/qmake/project.h
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) … … 79 79 QMap<QString, FunctionBlock*> testFunctions, replaceFunctions; 80 80 81 81 82 bool own_prop; 83 82 84 QString pfile, cfile; 83 85 QMakeProperty *prop; … … 106 108 void init(QMakeProperty *, const QMap<QString, QStringList> *); 107 109 QStringList &values(const QString &v, QMap<QString, QStringList> &place); 110 108 111 109 112 public: … … 116 119 117 120 enum { ReadCache=0x01, ReadConf=0x02, ReadCmdLine=0x04, ReadProFile=0x08, 118 Read PostFiles=0x10, ReadFeatures=0x20, ReadConfigs=0x40, ReadAll=0xFF };121 ReadFeatures=0x20, ReadConfigs=0x40, ReadAll=0xFF }; 119 122 inline bool parse(const QString &text) { return parse(text, vars); } 120 123 bool read(const QString &project, uchar cmd=ReadAll); … … 125 128 126 129 QString projectFile(); 127 QString configFile();128 130 inline QMakeProperty *properties() { return prop; } 129 131 … … 149 151 QMap<QString, QStringList> *place=NULL); 150 152 151 bool isSet(const QString &v); 152 bool isEmpty(const QString &v); 153 QStringList &values(const QString &v); 154 QString first(const QString &v); 155 QMap<QString, QStringList> &variables(); 153 bool isSet(const QString &v); // No compat mapping, no magic variables 154 bool isEmpty(const QString &v); // With compat mapping, but no magic variables 155 QStringList &values(const QString &v); // With compat mapping and magic variables 156 QString first(const QString &v); // ditto 157 QMap<QString, QStringList> &variables(); // No compat mapping and magic, obviously 158 159 bool isRecursive() const { return recursive; } 156 160 157 161 protected: … … 170 174 } 171 175 172 inline QString QMakeProject::configFile()173 { return cfile; }174 175 176 inline QStringList &QMakeProject::values(const QString &v) 176 177 { return values(v, vars); } 177 178 inline bool QMakeProject::isEmpty(const QString &v)179 { return !isSet(v) || values(v).isEmpty(); }180 178 181 179 inline bool QMakeProject::isSet(const QString &v) … … 193 191 { return vars; } 194 192 195 // Helper functions needed for Symbian196 bool isForSymbian();197 bool isForSymbianSbsv2();198 199 193 QT_END_NAMESPACE 200 194
Note:
See TracChangeset
for help on using the changeset viewer.