diff options
Diffstat (limited to 'languages/cpp/app_templates/kscons_tdemdi')
5 files changed, 6 insertions, 6 deletions
diff --git a/languages/cpp/app_templates/kscons_tdemdi/QUICKSTART b/languages/cpp/app_templates/kscons_tdemdi/QUICKSTART index 0028fa2c..4d23ce93 100644 --- a/languages/cpp/app_templates/kscons_tdemdi/QUICKSTART +++ b/languages/cpp/app_templates/kscons_tdemdi/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_tdemdi/app_part.h b/languages/cpp/app_templates/kscons_tdemdi/app_part.h index 13f773a1..e23f8cbf 100644 --- a/languages/cpp/app_templates/kscons_tdemdi/app_part.h +++ b/languages/cpp/app_templates/kscons_tdemdi/app_part.h @@ -22,7 +22,7 @@ class TDEAboutData; */ class %{APPNAMELC}Part : public KParts::ReadWritePart { - Q_OBJECT + TQ_OBJECT public: /** diff --git a/languages/cpp/app_templates/kscons_tdemdi/apptdemdi.h b/languages/cpp/app_templates/kscons_tdemdi/apptdemdi.h index 288395db..a2af9030 100644 --- a/languages/cpp/app_templates/kscons_tdemdi/apptdemdi.h +++ b/languages/cpp/app_templates/kscons_tdemdi/apptdemdi.h @@ -27,7 +27,7 @@ class MiscProperties; */ class %{APPNAMELC}tdemdi : public KMdiMainFrm { - Q_OBJECT + TQ_OBJECT public: %{APPNAMELC}tdemdi( KMdi::MdiMode mode ); diff --git a/languages/cpp/app_templates/kscons_tdemdi/apptdemdiView.h b/languages/cpp/app_templates/kscons_tdemdi/apptdemdiView.h index 00109fdb..1f40ea9a 100644 --- a/languages/cpp/app_templates/kscons_tdemdi/apptdemdiView.h +++ b/languages/cpp/app_templates/kscons_tdemdi/apptdemdiView.h @@ -14,7 +14,7 @@ */ class %{APPNAMELC}tdemdiView : public KMdiChildView { - Q_OBJECT + TQ_OBJECT public: %{APPNAMELC}tdemdiView( TQWidget *parentWidget=0L, const char *name=0L ); diff --git a/languages/cpp/app_templates/kscons_tdemdi/tdemdikonsole.h b/languages/cpp/app_templates/kscons_tdemdi/tdemdikonsole.h index d84cd961..0aded5c1 100644 --- a/languages/cpp/app_templates/kscons_tdemdi/tdemdikonsole.h +++ b/languages/cpp/app_templates/kscons_tdemdi/tdemdikonsole.h @@ -7,7 +7,7 @@ class tdemdikonsole : public TQVBox { - Q_OBJECT + TQ_OBJECT public: |