diff -r b72c6db6890b -r 5dc02b23752f qmake/project.h --- a/qmake/project.h Wed Jun 23 19:07:03 2010 +0300 +++ b/qmake/project.h Tue Jul 06 15:10:48 2010 +0300 @@ -78,6 +78,7 @@ FunctionBlock *function; QMap testFunctions, replaceFunctions; + bool recursive; bool own_prop; QString pfile, cfile; QMakeProperty *prop; @@ -105,6 +106,7 @@ QStringList doVariableReplaceExpand(const QString &str, QMap &place, bool *ok=0); void init(QMakeProperty *, const QMap *); QStringList &values(const QString &v, QMap &place); + void validateModes(); public: QMakeProject() { init(0, 0); } @@ -148,11 +150,13 @@ bool isActiveConfig(const QString &x, bool regex=false, QMap *place=NULL); - bool isSet(const QString &v); - bool isEmpty(const QString &v); - QStringList &values(const QString &v); - QString first(const QString &v); - QMap &variables(); + bool isSet(const QString &v); // No compat mapping, no magic variables + bool isEmpty(const QString &v); // With compat mapping, but no magic variables + QStringList &values(const QString &v); // With compat mapping and magic variables + QString first(const QString &v); // ditto + QMap &variables(); // No compat mapping and magic, obviously + + bool isRecursive() const { return recursive; } protected: friend class MakefileGenerator; @@ -175,9 +179,6 @@ inline QStringList &QMakeProject::values(const QString &v) { return values(v, vars); } -inline bool QMakeProject::isEmpty(const QString &v) -{ return !isSet(v) || values(v).isEmpty(); } - inline bool QMakeProject::isSet(const QString &v) { return vars.contains(v); } @@ -192,10 +193,6 @@ inline QMap &QMakeProject::variables() { return vars; } -// Helper functions needed for Symbian -bool isForSymbian(); -bool isForSymbianSbsv2(); - QT_END_NAMESPACE #endif // PROJECT_H