summaryrefslogtreecommitdiffstats
path: root/languages/cpp/cppnewclassdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/cppnewclassdlg.cpp')
-rw-r--r--languages/cpp/cppnewclassdlg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/languages/cpp/cppnewclassdlg.cpp b/languages/cpp/cppnewclassdlg.cpp
index 773f36ae..14d3cd49 100644
--- a/languages/cpp/cppnewclassdlg.cpp
+++ b/languages/cpp/cppnewclassdlg.cpp
@@ -2013,7 +2013,7 @@ void CppNewClassDialog::ClassGenerator::gen_interface()
TQString qobjectStr;
if ( childClass || qobject )
- qobjectStr = "TQ_OBJECT";
+ qobjectStr = "Q_OBJECT\nTQ_OBJECT";
TQString baseclass;