summaryrefslogtreecommitdiffstats
path: root/src/tools/moc/moc.h
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2020-01-03 15:03:39 +0100
committerOlivier Goffart <ogoffart@woboq.com>2020-01-17 02:22:22 +0100
commit983432effdae888a372d814ff9516abbcb7a3c29 (patch)
treec93a17a50d71508b59f1bb22f48727ccaf2370d1 /src/tools/moc/moc.h
parent4772a2da15ae0624633f3fc4d029d5f0e1e33892 (diff)
Introduce Q_MOC_INCLUDE
A new macro that can be added in the header file parsed by moc to tell moc to include that file in the generated file Change-Id: I03ad702c3fcd8380371015f226ee4b7456daf132 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/tools/moc/moc.h')
-rw-r--r--src/tools/moc/moc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/moc/moc.h b/src/tools/moc/moc.h
index 1d70fa154b..91a03a767f 100644
--- a/src/tools/moc/moc.h
+++ b/src/tools/moc/moc.h
@@ -256,6 +256,7 @@ public:
void parseInterfaces(ClassDef *def);
void parseDeclareInterface();
void parseDeclareMetatype();
+ void parseMocInclude();
void parseSlotInPrivate(ClassDef *def, FunctionDef::Access access);
void parsePrivateProperty(ClassDef *def);