diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-20 15:07:57 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-21 17:28:49 +0900 |
commit | 9c40420b261ea30555cabc299829028ee345b9e5 (patch) | |
tree | 0bec930107d651516239f2592512b2057b9f5452 /languages/cpp/app_templates/kscons_kxt | |
parent | 3f9cda007f52077d533117c4fa2441629ad9d796 (diff) | |
download | tdevelop-9c40420b261ea30555cabc299829028ee345b9e5.tar.gz tdevelop-9c40420b261ea30555cabc299829028ee345b9e5.zip |
Replace Q_OBJECT with TQ_OBJECT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'languages/cpp/app_templates/kscons_kxt')
-rw-r--r-- | languages/cpp/app_templates/kscons_kxt/QUICKSTART | 4 | ||||
-rw-r--r-- | languages/cpp/app_templates/kscons_kxt/app.h | 2 | ||||
-rw-r--r-- | languages/cpp/app_templates/kscons_kxt/appview.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/languages/cpp/app_templates/kscons_kxt/QUICKSTART b/languages/cpp/app_templates/kscons_kxt/QUICKSTART index 0028fa2c..4d23ce93 100644 --- a/languages/cpp/app_templates/kscons_kxt/QUICKSTART +++ b/languages/cpp/app_templates/kscons_kxt/QUICKSTART @@ -64,7 +64,7 @@ To make scons run (much) faster, consult ./addons/README in bksys MOC PROCESSING In qt programs, when a header 'foo.h' contains a class that has -Q_SIGNALS and Q_SLOTS, then 'foo.h' must contain the macro Q_OBJECT +Q_SIGNALS and Q_SLOTS, then 'foo.h' must contain the macro TQ_OBJECT in order to compile. foo_moc.cpp is usually generated, and is used to produce foo_moc.o which is linked with the program or the library. @@ -129,7 +129,7 @@ among others), so when you can work without libtool ** moc processing ** As stated above, you should always add #include "foo.moc" -for your qt classes (Q_OBJECT) to save precious compilation time. +for your qt classes (TQ_OBJECT) to save precious compilation time. ** using a cache ** It is a good idea to enable the cache feature in SConstruct, diff --git a/languages/cpp/app_templates/kscons_kxt/app.h b/languages/cpp/app_templates/kscons_kxt/app.h index 8fb9d688..9493eb35 100644 --- a/languages/cpp/app_templates/kscons_kxt/app.h +++ b/languages/cpp/app_templates/kscons_kxt/app.h @@ -28,7 +28,7 @@ class KURL; class %{APPNAME} : public TDEMainWindow, public DCOPObject { K_DCOP - Q_OBJECT + TQ_OBJECT public: /** diff --git a/languages/cpp/app_templates/kscons_kxt/appview.h b/languages/cpp/app_templates/kscons_kxt/appview.h index 38f0e58a..7b115860 100644 --- a/languages/cpp/app_templates/kscons_kxt/appview.h +++ b/languages/cpp/app_templates/kscons_kxt/appview.h @@ -21,7 +21,7 @@ class KURL; */ class %{APPNAME}View : public %{APPNAME}view_base { - Q_OBJECT + TQ_OBJECT public: /** |