summaryrefslogtreecommitdiffstats
path: root/kode/printer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kode/printer.cpp')
-rw-r--r--kode/printer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/kode/printer.cpp b/kode/printer.cpp
index ddb5e5c4..761823dd 100644
--- a/kode/printer.cpp
+++ b/kode/printer.cpp
@@ -200,6 +200,8 @@ TQString Printer::classHeader( const Class &c )
code.indent();
if ( c.isTQObject() ) {
+ code += "Q_OBJECT";
+ code.newLine();
code += "TQ_OBJECT";
code.newLine();
}