summaryrefslogtreecommitdiffstats
path: root/src/tools/moc/parser.h
diff options
context:
space:
mode:
authorSami Lempinen <sami.lempinen@nokia.com>2011-03-09 14:18:08 (GMT)
committerSami Lempinen <sami.lempinen@nokia.com>2011-03-09 14:18:08 (GMT)
commite496be83f0ba8849cace30078223eb0fd40f004e (patch)
treee9d0736269ab86d9ed9e6125ac6e419f8328cd0e /src/tools/moc/parser.h
parentcf94df01d2d2364653f2ab602688394450e92d31 (diff)
parent56ad75da12ec6a4d7b65ce4e1a246ee48fda9736 (diff)
downloadQt-e496be83f0ba8849cace30078223eb0fd40f004e.zip
Qt-e496be83f0ba8849cace30078223eb0fd40f004e.tar.gz
Qt-e496be83f0ba8849cace30078223eb0fd40f004e.tar.bz2
Remerging SymbianLite to team repository.
Diffstat (limited to 'src/tools/moc/parser.h')
-rw-r--r--src/tools/moc/parser.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tools/moc/parser.h b/src/tools/moc/parser.h
index 8356449..a874248 100644
--- a/src/tools/moc/parser.h
+++ b/src/tools/moc/parser.h
@@ -50,10 +50,11 @@ QT_BEGIN_NAMESPACE
class Parser
{
public:
- Parser():index(0), displayWarnings(true){}
+ Parser():index(0), displayWarnings(true), displayNotes(true) {}
Symbols symbols;
int index;
bool displayWarnings;
+ bool displayNotes;
QStack<QByteArray> currentFilenames;
@@ -73,6 +74,7 @@ public:
void error(int rollback);
void error(const char *msg = 0);
void warning(const char * = 0);
+ void note(const char * = 0);
};