summaryrefslogtreecommitdiff
path: root/src/tools/moc/parser.h
diff options
context:
space:
mode:
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 8356449cde..a874248f5e 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);
};