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(); }