summaryrefslogtreecommitdiffstats
path: root/src/tools/dbusxml2qt3/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/dbusxml2qt3/main.cpp')
-rw-r--r--src/tools/dbusxml2qt3/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tools/dbusxml2qt3/main.cpp b/src/tools/dbusxml2qt3/main.cpp
index ad54291..0f19dc5 100644
--- a/src/tools/dbusxml2qt3/main.cpp
+++ b/src/tools/dbusxml2qt3/main.cpp
@@ -264,13 +264,17 @@ int main(int argc, char** argv)
if (baseName.isEmpty())
{
+ ClassGenerator::generateIncludeMoc((*it).name.lower() + "Proxy", sourceStream);
ClassGenerator::finishStreams((*it).name.lower() + "Proxy",
headerStream, sourceStream);
}
}
if (!baseName.isEmpty())
+ {
+ ClassGenerator::generateIncludeMoc(baseName, sourceStream);
ClassGenerator::finishStreams(baseName, headerStream, sourceStream);
+ }
}
if (generateNode || generateAll)