path: root/src/tools/moc/generator.h
diff options
authorLars Knoll <>2012-02-06 23:36:17 +0100
committerQt by Nokia <>2012-02-15 17:27:37 +0100
commit7184456f9a26a9c07a689c15b415ddf82eb000b7 (patch)
tree076d42ad3fd6f08a1cbef21ee6811a3fa951850b /src/tools/moc/generator.h
parent556dd0228aca07dfe8443fd99e9f2ead4e13ab22 (diff)
Implement new plugin mechanism
moc can now embed meta information about the plugin inside the plugin itself. This information can be queried by Qt without having to load the plugin. Source compatibility with the old plugin loading mechanism is still there, but will be removed before Qt 5.0. Change-Id: I03e4196ddfed07d0fe94acca40d5de8a6ce7f920 Reviewed-by: João Abecasis <> Reviewed-by: Thiago Macieira <>
Diffstat (limited to 'src/tools/moc/generator.h')
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/moc/generator.h b/src/tools/moc/generator.h
index a3dc3d0041..6682e1a36a 100644
--- a/src/tools/moc/generator.h
+++ b/src/tools/moc/generator.h
@@ -63,6 +63,7 @@ private:
void generateMetacall();
void generateStaticMetacall();
void generateSignal(FunctionDef *def, int index);
+ void generatePluginMetaData();
int strreg(const char *); // registers a string and returns its id
QList<QByteArray> strings;