From 155d68c1e7d7dc0fed2534ac43d6d77ce2781f55 Mon Sep 17 00:00:00 2001 From: llornkcor Date: Thu, 10 Jul 2003 02:40:10 +0000 Subject: update qmake to 1.05a --- (limited to 'qmake/project.h') diff --git a/qmake/project.h b/qmake/project.h index 201e63c..ec19f0c 100644 --- a/qmake/project.h +++ b/qmake/project.h @@ -5,7 +5,7 @@ ** ** Created : 970521 ** -** Copyright (C) 1992-2000 Trolltech AS. All rights reserved. +** Copyright (C) 1992-2002 Trolltech AS. All rights reserved. ** ** This file is part of the network module of the Qt GUI Toolkit. ** @@ -34,8 +34,8 @@ ** not clear to you. ** **********************************************************************/ -#ifndef __QMAKE_H__ -#define __QMAKE_H__ +#ifndef __PROJECT_H__ +#define __PROJECT_H__ #include #include @@ -48,16 +48,16 @@ class QMakeProject QString pfile, cfile; QMap vars, base_vars, cache; - bool parse(QString text, QMap &place); - bool doProjectTest(QString func, const QString ¶ms, QMap &place); - bool doProjectTest(QString func, QStringList args, QMap &place); + bool parse(const QString &text, QMap &place); + bool doProjectTest(const QString &func, const QString ¶ms, QMap &place); + bool doProjectTest(const QString &func, QStringList args, QMap &place); bool doProjectCheckReqs(const QStringList &deps, QMap &place); QString doVariableReplace(QString &str, const QMap &place); public: QMakeProject(); - bool read(QString project, QString pwd); + bool read(const QString &project, const QString &pwd, bool just_project=FALSE); QString projectFile(); QString configFile(); @@ -65,11 +65,11 @@ public: QStringList &values(const QString &v); QString first(const QString &v); QMap &variables(); - bool isActiveConfig(const QString &x); + bool isActiveConfig(const QString &x, bool regex=FALSE); protected: friend class MakefileGenerator; - bool read(QString file, QMap &place); + bool read(const QString &file, QMap &place); }; @@ -111,4 +111,4 @@ inline QString QMakeProject::first(const QString &v) inline QMap &QMakeProject::variables() { return vars; } -#endif /* __QMAKE_H__ */ +#endif /* __PROJECT_H__ */ -- cgit v0.9.0.2