summaryrefslogtreecommitdiffstats
path: root/languages/cpp/cppimplementationwidget.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-17 16:09:32 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-17 16:09:32 -0600
commit0fed1a188b8d8be416550c63e2d5954f06434386 (patch)
tree19f346183997f815423bd63cb9f2e86baa1f3b14 /languages/cpp/cppimplementationwidget.cpp
parent01b73b195ac252a67a00cfa0fa6a1ce4555f7304 (diff)
downloadtdevelop-0fed1a188b8d8be416550c63e2d5954f06434386.tar.gz
tdevelop-0fed1a188b8d8be416550c63e2d5954f06434386.zip
Remove spurious TQ_OBJECT instances
Diffstat (limited to 'languages/cpp/cppimplementationwidget.cpp')
-rw-r--r--languages/cpp/cppimplementationwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/languages/cpp/cppimplementationwidget.cpp b/languages/cpp/cppimplementationwidget.cpp
index 14294fe0..9c3bf466 100644
--- a/languages/cpp/cppimplementationwidget.cpp
+++ b/languages/cpp/cppimplementationwidget.cpp
@@ -43,7 +43,7 @@ CppImplementationWidget::CppImplementationWidget( KDevLanguageSupport *part,
TQStringList CppImplementationWidget::createClassFiles()
{
- TQString template_h = "#ifndef $DEFTEXT$_H\n#define $DEFTEXT$_H\n\n#include \"$BASEINCLUDE$\"\n\nclass $CLASSNAME$: public $BASECLASSNAME$ {\nQ_OBJECT\nTQ_OBJECT\npublic:\n $CLASSNAME$(TQWidget *parent = 0, const char *name = 0);\n};\n\n#endif\n";
+ TQString template_h = "#ifndef $DEFTEXT$_H\n#define $DEFTEXT$_H\n\n#include \"$BASEINCLUDE$\"\n\nclass $CLASSNAME$: public $BASECLASSNAME$ {\nQ_OBJECT\n\npublic:\n $CLASSNAME$(TQWidget *parent = 0, const char *name = 0);\n};\n\n#endif\n";
TQString template_cpp = "#include \"$CLASSINCLUDE$\"\n\n$CLASSNAME$::$CLASSNAME$(TQWidget *parent, const char *name)\n :$BASECLASSNAME$(parent, name)\n{\n}\n";
if ( m_part->project() ->options() == KDevProject::UsesAutotoolsBuildSystem )
template_cpp += "\n#include \"$TQMOCINCLUDE$\"\n";