diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-01 16:42:03 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-01 17:02:15 +0900 |
commit | cb0195be79817650098e150c46e2f459847d639d (patch) | |
tree | fcc89f9f3245d0ceb2348440045c2c49c89474f5 /languages | |
parent | f3d43273fab6185fb07a20829ba537c650261a16 (diff) | |
download | tdevelop-cb0195be79817650098e150c46e2f459847d639d.tar.gz tdevelop-cb0195be79817650098e150c46e2f459847d639d.zip |
Addendum to previous commit (replace Q_OBJECT with TQ_OBJECT)
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit fb2c1f71e00b812e70477e64d9493fbfea403417)
Diffstat (limited to 'languages')
-rw-r--r-- | languages/cpp/cppimplementationwidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/languages/cpp/cppimplementationwidget.cpp b/languages/cpp/cppimplementationwidget.cpp index 35069349..1307e3d8 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\n\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$ {\nTQ_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 \"$MOCINCLUDE$\"\n"; |