summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-07-20 15:07:57 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-07-21 17:51:37 +0900
commitf3d43273fab6185fb07a20829ba537c650261a16 (patch)
tree1c587bc4e2af242a54f79334ec76e9119127addc /languages/cpp/app_templates
parent4ab396a40eb06d14b10d8a35a4ca2166a677804f (diff)
downloadtdevelop-f3d43273fab6185fb07a20829ba537c650261a16.tar.gz
tdevelop-f3d43273fab6185fb07a20829ba537c650261a16.zip
Replace Q_OBJECT with TQ_OBJECT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 9c40420b261ea30555cabc299829028ee345b9e5)
Diffstat (limited to 'languages/cpp/app_templates')
-rw-r--r--languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.h2
-rw-r--r--languages/cpp/app_templates/kapp/app.h2
-rw-r--r--languages/cpp/app_templates/kapp/appview.h2
-rw-r--r--languages/cpp/app_templates/kapp/pref.h6
-rw-r--r--languages/cpp/app_templates/kateplugin/plugin_app.h4
-rw-r--r--languages/cpp/app_templates/kateplugin2/plugin_app.h6
-rw-r--r--languages/cpp/app_templates/kdedcop/app.h2
-rw-r--r--languages/cpp/app_templates/kdevlang/kdevlang_part.h2
-rw-r--r--languages/cpp/app_templates/kdevpart/globalconfig.h2
-rw-r--r--languages/cpp/app_templates/kdevpart/kdevpart_part.h2
-rw-r--r--languages/cpp/app_templates/kdevpart/kdevpart_widget.h2
-rw-r--r--languages/cpp/app_templates/kdevpart/projectconfig.h2
-rw-r--r--languages/cpp/app_templates/kdevpart2/globalconfig.h2
-rw-r--r--languages/cpp/app_templates/kdevpart2/kdevpart_part.h2
-rw-r--r--languages/cpp/app_templates/kdevpart2/kdevpart_widget.h2
-rw-r--r--languages/cpp/app_templates/kdevpart2/projectconfig.h2
-rw-r--r--languages/cpp/app_templates/khello/app.h2
-rw-r--r--languages/cpp/app_templates/khello2/app.h2
-rw-r--r--languages/cpp/app_templates/khello2/widget.h2
-rw-r--r--languages/cpp/app_templates/kicker/applet.h2
-rw-r--r--languages/cpp/app_templates/kmake/mainviewimp.h2
-rw-r--r--languages/cpp/app_templates/kofficepart/kopart_factory.h2
-rw-r--r--languages/cpp/app_templates/kofficepart/kopart_part.h2
-rw-r--r--languages/cpp/app_templates/kofficepart/kopart_view.h2
-rw-r--r--languages/cpp/app_templates/konqnavpanel/konqnavpanel.h2
-rw-r--r--languages/cpp/app_templates/kpartapp/app.h2
-rw-r--r--languages/cpp/app_templates/kpartapp/app_part.h4
-rw-r--r--languages/cpp/app_templates/kpartplugin/plugin_app.h4
-rw-r--r--languages/cpp/app_templates/kscons_kxt/QUICKSTART4
-rw-r--r--languages/cpp/app_templates/kscons_kxt/app.h2
-rw-r--r--languages/cpp/app_templates/kscons_kxt/appview.h2
-rw-r--r--languages/cpp/app_templates/kscons_tdemdi/QUICKSTART4
-rw-r--r--languages/cpp/app_templates/kscons_tdemdi/app_part.h2
-rw-r--r--languages/cpp/app_templates/kscons_tdemdi/apptdemdi.h2
-rw-r--r--languages/cpp/app_templates/kscons_tdemdi/apptdemdiView.h2
-rw-r--r--languages/cpp/app_templates/kscons_tdemdi/tdemdikonsole.h2
-rw-r--r--languages/cpp/app_templates/kxt/app.h2
-rw-r--r--languages/cpp/app_templates/kxt/appview.h2
-rw-r--r--languages/cpp/app_templates/noatunui/plugin_impl.h2
-rw-r--r--languages/cpp/app_templates/opieapp/example.h2
-rw-r--r--languages/cpp/app_templates/opieapplet/simpleimpl.h2
-rw-r--r--languages/cpp/app_templates/opieinput/simpleimpl.h2
-rw-r--r--languages/cpp/app_templates/opiemenu/simpleimpl.h2
-rw-r--r--languages/cpp/app_templates/opienet/simpleiface.h2
-rw-r--r--languages/cpp/app_templates/opietoday/examplepluginwidget.h2
-rw-r--r--languages/cpp/app_templates/qmakeapp/qmakeapp.h2
-rw-r--r--languages/cpp/app_templates/qtopiaapp/example.h2
-rw-r--r--languages/cpp/app_templates/tdecmodule/module.h2
-rw-r--r--languages/cpp/app_templates/tdeconfig35/app.h2
-rw-r--r--languages/cpp/app_templates/tdeconfig35/appview.h2
-rw-r--r--languages/cpp/app_templates/tdefileplugin/tdefile_plugin.h2
-rw-r--r--languages/cpp/app_templates/tdescreensaver/tdescreensaver.h4
52 files changed, 62 insertions, 62 deletions
diff --git a/languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.h b/languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.h
index ef58ff46..ba2d50ed 100644
--- a/languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.h
+++ b/languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.h
@@ -9,7 +9,7 @@ class TQTextEdit;
class %{APPNAME}: public TQMainWindow
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/languages/cpp/app_templates/kapp/app.h b/languages/cpp/app_templates/kapp/app.h
index 5f39dd11..fe2a96d3 100644
--- a/languages/cpp/app_templates/kapp/app.h
+++ b/languages/cpp/app_templates/kapp/app.h
@@ -25,7 +25,7 @@ class KURL;
*/
class %{APPNAME} : public TDEMainWindow
{
- Q_OBJECT
+ TQ_OBJECT
public:
/**
diff --git a/languages/cpp/app_templates/kapp/appview.h b/languages/cpp/app_templates/kapp/appview.h
index 79513a9d..f79e7322 100644
--- a/languages/cpp/app_templates/kapp/appview.h
+++ b/languages/cpp/app_templates/kapp/appview.h
@@ -23,7 +23,7 @@ class KURL;
*/
class %{APPNAME}View : public TQWidget, public %{APPNAME}Iface
{
- Q_OBJECT
+ TQ_OBJECT
public:
/**
diff --git a/languages/cpp/app_templates/kapp/pref.h b/languages/cpp/app_templates/kapp/pref.h
index b2aae436..ec7116fd 100644
--- a/languages/cpp/app_templates/kapp/pref.h
+++ b/languages/cpp/app_templates/kapp/pref.h
@@ -11,7 +11,7 @@ class %{APPNAME}PrefPageTwo;
class %{APPNAME}Preferences : public KDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
%{APPNAME}Preferences();
@@ -23,7 +23,7 @@ private:
class %{APPNAME}PrefPageOne : public TQFrame
{
- Q_OBJECT
+ TQ_OBJECT
public:
%{APPNAME}PrefPageOne(TQWidget *parent = 0);
@@ -31,7 +31,7 @@ public:
class %{APPNAME}PrefPageTwo : public TQFrame
{
- Q_OBJECT
+ TQ_OBJECT
public:
%{APPNAME}PrefPageTwo(TQWidget *parent = 0);
diff --git a/languages/cpp/app_templates/kateplugin/plugin_app.h b/languages/cpp/app_templates/kateplugin/plugin_app.h
index 19ccdfdb..fba66bcc 100644
--- a/languages/cpp/app_templates/kateplugin/plugin_app.h
+++ b/languages/cpp/app_templates/kateplugin/plugin_app.h
@@ -16,7 +16,7 @@
class KatePluginFactory : public KLibFactory
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -31,7 +31,7 @@ class KatePluginFactory : public KLibFactory
class KatePlugin%{APPNAME} : public Kate::Plugin, Kate::PluginViewInterface
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/languages/cpp/app_templates/kateplugin2/plugin_app.h b/languages/cpp/app_templates/kateplugin2/plugin_app.h
index c7ee6f13..4096a9de 100644
--- a/languages/cpp/app_templates/kateplugin2/plugin_app.h
+++ b/languages/cpp/app_templates/kateplugin2/plugin_app.h
@@ -20,7 +20,7 @@ class %{APPNAME}ConfigPage;
class KatePluginFactory : public KLibFactory
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -35,7 +35,7 @@ private:
class KatePlugin%{APPNAME} : public Kate::Plugin, Kate::PluginViewInterface, Kate::PluginConfigInterfaceExtension
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -66,7 +66,7 @@ private:
class %{APPNAME}ConfigPage : public Kate::PluginConfigPage
{
- Q_OBJECT
+ TQ_OBJECT
friend class KatePlugin%{APPNAME};
diff --git a/languages/cpp/app_templates/kdedcop/app.h b/languages/cpp/app_templates/kdedcop/app.h
index 814fccad..ecb916d6 100644
--- a/languages/cpp/app_templates/kdedcop/app.h
+++ b/languages/cpp/app_templates/kdedcop/app.h
@@ -18,7 +18,7 @@
*/
class %{APPNAME} : public TDEMainWindow
{
- Q_OBJECT
+ TQ_OBJECT
public:
/**
diff --git a/languages/cpp/app_templates/kdevlang/kdevlang_part.h b/languages/cpp/app_templates/kdevlang/kdevlang_part.h
index 1cce0fa6..80a5354d 100644
--- a/languages/cpp/app_templates/kdevlang/kdevlang_part.h
+++ b/languages/cpp/app_templates/kdevlang/kdevlang_part.h
@@ -17,7 +17,7 @@ class TDEAction;
*/
class %{APPNAME}Part : public KDevLanguageSupport
{
- Q_OBJECT
+ TQ_OBJECT
public:
%{APPNAME}Part(TQObject *parent, const char *name, const TQStringList &);
diff --git a/languages/cpp/app_templates/kdevpart/globalconfig.h b/languages/cpp/app_templates/kdevpart/globalconfig.h
index 723dbae2..c5625705 100644
--- a/languages/cpp/app_templates/kdevpart/globalconfig.h
+++ b/languages/cpp/app_templates/kdevpart/globalconfig.h
@@ -8,7 +8,7 @@ class %{APPNAME}Part;
class %{APPNAME}GlobalConfig: public %{APPNAME}GlobalConfigBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
%{APPNAME}GlobalConfig(%{APPNAME}Part *part, TQWidget *parent = 0, const char *name = 0);
diff --git a/languages/cpp/app_templates/kdevpart/kdevpart_part.h b/languages/cpp/app_templates/kdevpart/kdevpart_part.h
index 9414d448..cae84cf2 100644
--- a/languages/cpp/app_templates/kdevpart/kdevpart_part.h
+++ b/languages/cpp/app_templates/kdevpart/kdevpart_part.h
@@ -18,7 +18,7 @@ Please read the README.dox file for more info about this part
*/
class %{APPNAME}Part: public KDevPlugin
{
- Q_OBJECT
+ TQ_OBJECT
public:
%{APPNAME}Part(TQObject *parent, const char *name, const TQStringList &args);
diff --git a/languages/cpp/app_templates/kdevpart/kdevpart_widget.h b/languages/cpp/app_templates/kdevpart/kdevpart_widget.h
index e54abd4d..53b86bc9 100644
--- a/languages/cpp/app_templates/kdevpart/kdevpart_widget.h
+++ b/languages/cpp/app_templates/kdevpart/kdevpart_widget.h
@@ -10,7 +10,7 @@ class %{APPNAME}Part;
class %{APPNAME}Widget: public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
%{APPNAME}Widget(%{APPNAME}Part *part);
diff --git a/languages/cpp/app_templates/kdevpart/projectconfig.h b/languages/cpp/app_templates/kdevpart/projectconfig.h
index 49d4f089..54ffcccf 100644
--- a/languages/cpp/app_templates/kdevpart/projectconfig.h
+++ b/languages/cpp/app_templates/kdevpart/projectconfig.h
@@ -8,7 +8,7 @@ class %{APPNAME}Part;
class %{APPNAME}ProjectConfig: public %{APPNAME}ProjectConfigBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
%{APPNAME}ProjectConfig(%{APPNAME}Part *part, TQWidget *parent = 0, const char *name = 0);
diff --git a/languages/cpp/app_templates/kdevpart2/globalconfig.h b/languages/cpp/app_templates/kdevpart2/globalconfig.h
index 723dbae2..c5625705 100644
--- a/languages/cpp/app_templates/kdevpart2/globalconfig.h
+++ b/languages/cpp/app_templates/kdevpart2/globalconfig.h
@@ -8,7 +8,7 @@ class %{APPNAME}Part;
class %{APPNAME}GlobalConfig: public %{APPNAME}GlobalConfigBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
%{APPNAME}GlobalConfig(%{APPNAME}Part *part, TQWidget *parent = 0, const char *name = 0);
diff --git a/languages/cpp/app_templates/kdevpart2/kdevpart_part.h b/languages/cpp/app_templates/kdevpart2/kdevpart_part.h
index 9414d448..cae84cf2 100644
--- a/languages/cpp/app_templates/kdevpart2/kdevpart_part.h
+++ b/languages/cpp/app_templates/kdevpart2/kdevpart_part.h
@@ -18,7 +18,7 @@ Please read the README.dox file for more info about this part
*/
class %{APPNAME}Part: public KDevPlugin
{
- Q_OBJECT
+ TQ_OBJECT
public:
%{APPNAME}Part(TQObject *parent, const char *name, const TQStringList &args);
diff --git a/languages/cpp/app_templates/kdevpart2/kdevpart_widget.h b/languages/cpp/app_templates/kdevpart2/kdevpart_widget.h
index e54abd4d..53b86bc9 100644
--- a/languages/cpp/app_templates/kdevpart2/kdevpart_widget.h
+++ b/languages/cpp/app_templates/kdevpart2/kdevpart_widget.h
@@ -10,7 +10,7 @@ class %{APPNAME}Part;
class %{APPNAME}Widget: public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
%{APPNAME}Widget(%{APPNAME}Part *part);
diff --git a/languages/cpp/app_templates/kdevpart2/projectconfig.h b/languages/cpp/app_templates/kdevpart2/projectconfig.h
index 49d4f089..54ffcccf 100644
--- a/languages/cpp/app_templates/kdevpart2/projectconfig.h
+++ b/languages/cpp/app_templates/kdevpart2/projectconfig.h
@@ -8,7 +8,7 @@ class %{APPNAME}Part;
class %{APPNAME}ProjectConfig: public %{APPNAME}ProjectConfigBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
%{APPNAME}ProjectConfig(%{APPNAME}Part *part, TQWidget *parent = 0, const char *name = 0);
diff --git a/languages/cpp/app_templates/khello/app.h b/languages/cpp/app_templates/khello/app.h
index 11a9241f..bc0b1520 100644
--- a/languages/cpp/app_templates/khello/app.h
+++ b/languages/cpp/app_templates/khello/app.h
@@ -16,7 +16,7 @@
*/
class %{APPNAME} : public TDEMainWindow
{
- Q_OBJECT
+ TQ_OBJECT
public:
/**
diff --git a/languages/cpp/app_templates/khello2/app.h b/languages/cpp/app_templates/khello2/app.h
index 11a9241f..bc0b1520 100644
--- a/languages/cpp/app_templates/khello2/app.h
+++ b/languages/cpp/app_templates/khello2/app.h
@@ -16,7 +16,7 @@
*/
class %{APPNAME} : public TDEMainWindow
{
- Q_OBJECT
+ TQ_OBJECT
public:
/**
diff --git a/languages/cpp/app_templates/khello2/widget.h b/languages/cpp/app_templates/khello2/widget.h
index 127019ee..aac7c40d 100644
--- a/languages/cpp/app_templates/khello2/widget.h
+++ b/languages/cpp/app_templates/khello2/widget.h
@@ -7,7 +7,7 @@
class %{APPNAME}Widget : public %{APPNAME}WidgetBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/languages/cpp/app_templates/kicker/applet.h b/languages/cpp/app_templates/kicker/applet.h
index 7d272743..e078b568 100644
--- a/languages/cpp/app_templates/kicker/applet.h
+++ b/languages/cpp/app_templates/kicker/applet.h
@@ -14,7 +14,7 @@
class %{APPNAME} : public KPanelApplet
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/languages/cpp/app_templates/kmake/mainviewimp.h b/languages/cpp/app_templates/kmake/mainviewimp.h
index a5ca62df..3e1a7287 100644
--- a/languages/cpp/app_templates/kmake/mainviewimp.h
+++ b/languages/cpp/app_templates/kmake/mainviewimp.h
@@ -5,7 +5,7 @@
class MainViewImp : public MainView
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/languages/cpp/app_templates/kofficepart/kopart_factory.h b/languages/cpp/app_templates/kofficepart/kopart_factory.h
index 2d5a56e2..7957037a 100644
--- a/languages/cpp/app_templates/kofficepart/kopart_factory.h
+++ b/languages/cpp/app_templates/kofficepart/kopart_factory.h
@@ -13,7 +13,7 @@ class TDEAboutData;
class %{APPNAME}Factory : public KoFactory
{
- Q_OBJECT
+ TQ_OBJECT
public:
%{APPNAME}Factory( TQObject* parent = 0, const char* name = 0 );
diff --git a/languages/cpp/app_templates/kofficepart/kopart_part.h b/languages/cpp/app_templates/kofficepart/kopart_part.h
index 9dced411..57b57cb6 100644
--- a/languages/cpp/app_templates/kofficepart/kopart_part.h
+++ b/languages/cpp/app_templates/kofficepart/kopart_part.h
@@ -10,7 +10,7 @@
class %{APPNAME}Part : public KoDocument
{
- Q_OBJECT
+ TQ_OBJECT
public:
%{APPNAME}Part( TQWidget *parentWidget = 0, const char *widgetName = 0, TQObject* parent = 0, const char* name = 0, bool singleViewMode = false );
diff --git a/languages/cpp/app_templates/kofficepart/kopart_view.h b/languages/cpp/app_templates/kofficepart/kopart_view.h
index a7e0fd50..6233ff6d 100644
--- a/languages/cpp/app_templates/kofficepart/kopart_view.h
+++ b/languages/cpp/app_templates/kofficepart/kopart_view.h
@@ -15,7 +15,7 @@ class %{APPNAME}Part;
class %{APPNAME}View : public KoView
{
- Q_OBJECT
+ TQ_OBJECT
public:
%{APPNAME}View( %{APPNAME}Part* part, TQWidget* parent = 0, const char* name = 0 );
diff --git a/languages/cpp/app_templates/konqnavpanel/konqnavpanel.h b/languages/cpp/app_templates/konqnavpanel/konqnavpanel.h
index 527be77e..aedddf27 100644
--- a/languages/cpp/app_templates/konqnavpanel/konqnavpanel.h
+++ b/languages/cpp/app_templates/konqnavpanel/konqnavpanel.h
@@ -13,7 +13,7 @@
class %{APPNAME} : public KonqSidebarPlugin
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/languages/cpp/app_templates/kpartapp/app.h b/languages/cpp/app_templates/kpartapp/app.h
index b9101033..480680b7 100644
--- a/languages/cpp/app_templates/kpartapp/app.h
+++ b/languages/cpp/app_templates/kpartapp/app.h
@@ -21,7 +21,7 @@ class TDEToggleAction;
*/
class %{APPNAME} : public KParts::MainWindow
{
- Q_OBJECT
+ TQ_OBJECT
public:
/**
diff --git a/languages/cpp/app_templates/kpartapp/app_part.h b/languages/cpp/app_templates/kpartapp/app_part.h
index 6ea44663..39e3827b 100644
--- a/languages/cpp/app_templates/kpartapp/app_part.h
+++ b/languages/cpp/app_templates/kpartapp/app_part.h
@@ -20,7 +20,7 @@ class TQMultiLineEdit;
*/
class %{APPNAME}Part : public KParts::ReadWritePart
{
- Q_OBJECT
+ TQ_OBJECT
public:
/**
@@ -70,7 +70,7 @@ class TDEAboutData;
class %{APPNAME}PartFactory : public KParts::Factory
{
- Q_OBJECT
+ TQ_OBJECT
public:
%{APPNAME}PartFactory();
diff --git a/languages/cpp/app_templates/kpartplugin/plugin_app.h b/languages/cpp/app_templates/kpartplugin/plugin_app.h
index bfb1357b..30352231 100644
--- a/languages/cpp/app_templates/kpartplugin/plugin_app.h
+++ b/languages/cpp/app_templates/kpartplugin/plugin_app.h
@@ -7,7 +7,7 @@
class Plugin%{APPNAME} : public KParts::Plugin
{
- Q_OBJECT
+ TQ_OBJECT
public:
Plugin%{APPNAME}( TQObject* parent = 0, const char* name = 0 );
@@ -19,7 +19,7 @@ public slots:
class %{APPNAME}Factory : public KLibFactory
{
- Q_OBJECT
+ TQ_OBJECT
public:
%{APPNAME}Factory();
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:
/**
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:
diff --git a/languages/cpp/app_templates/kxt/app.h b/languages/cpp/app_templates/kxt/app.h
index 7b6305ea..83bcca7d 100644
--- a/languages/cpp/app_templates/kxt/app.h
+++ b/languages/cpp/app_templates/kxt/app.h
@@ -26,7 +26,7 @@ class KURL;
*/
class %{APPNAMELC} : public TDEMainWindow
{
- Q_OBJECT
+ TQ_OBJECT
public:
/**
diff --git a/languages/cpp/app_templates/kxt/appview.h b/languages/cpp/app_templates/kxt/appview.h
index a486ec43..20e010d0 100644
--- a/languages/cpp/app_templates/kxt/appview.h
+++ b/languages/cpp/app_templates/kxt/appview.h
@@ -21,7 +21,7 @@ class KURL;
*/
class %{APPNAMELC}View : public %{APPNAMELC}view_base
{
- Q_OBJECT
+ TQ_OBJECT
public:
/**
diff --git a/languages/cpp/app_templates/noatunui/plugin_impl.h b/languages/cpp/app_templates/noatunui/plugin_impl.h
index 44f77f75..253c94dc 100644
--- a/languages/cpp/app_templates/noatunui/plugin_impl.h
+++ b/languages/cpp/app_templates/noatunui/plugin_impl.h
@@ -25,7 +25,7 @@ class KStatusBar;
*/
class %{APPNAME}UI : public TQWidget, public UserInterface
{
-Q_OBJECT
+TQ_OBJECT
public:
%{APPNAME}UI();
diff --git a/languages/cpp/app_templates/opieapp/example.h b/languages/cpp/app_templates/opieapp/example.h
index 0dabb6c9..9f2cd967 100644
--- a/languages/cpp/app_templates/opieapp/example.h
+++ b/languages/cpp/app_templates/opieapp/example.h
@@ -4,7 +4,7 @@
class %{APPNAME} : public %{APPNAME}Base
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/languages/cpp/app_templates/opieapplet/simpleimpl.h b/languages/cpp/app_templates/opieapplet/simpleimpl.h
index dc227bb1..a1e8400f 100644
--- a/languages/cpp/app_templates/opieapplet/simpleimpl.h
+++ b/languages/cpp/app_templates/opieapplet/simpleimpl.h
@@ -39,7 +39,7 @@
* You might also want to reimplement mouse*Event to use some simple actions
*/
class %{APPNAME} : public TQWidget {
- Q_OBJECT
+ TQ_OBJECT
public:
%{APPNAME}(TQWidget *parent);
diff --git a/languages/cpp/app_templates/opieinput/simpleimpl.h b/languages/cpp/app_templates/opieinput/simpleimpl.h
index 6466810d..8ac6ce99 100644
--- a/languages/cpp/app_templates/opieinput/simpleimpl.h
+++ b/languages/cpp/app_templates/opieinput/simpleimpl.h
@@ -8,7 +8,7 @@
class TQPixmap;
class TQCheckBox;
class %{APPNAME} : public TQHBox {
- Q_OBJECT
+ TQ_OBJECT
public:
%{APPNAME}( TQWidget *par, WFlags f );
diff --git a/languages/cpp/app_templates/opiemenu/simpleimpl.h b/languages/cpp/app_templates/opiemenu/simpleimpl.h
index bf111a5a..688cf0b8 100644
--- a/languages/cpp/app_templates/opiemenu/simpleimpl.h
+++ b/languages/cpp/app_templates/opiemenu/simpleimpl.h
@@ -8,7 +8,7 @@
class %{APPNAME} : public TQObject, public MenuAppletInterface
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/languages/cpp/app_templates/opienet/simpleiface.h b/languages/cpp/app_templates/opienet/simpleiface.h
index 4ad088f8..8dac2450 100644
--- a/languages/cpp/app_templates/opienet/simpleiface.h
+++ b/languages/cpp/app_templates/opienet/simpleiface.h
@@ -4,7 +4,7 @@
#include <interfaces/interface.h>
class %{APPNAME}Interface : public Interface {
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/languages/cpp/app_templates/opietoday/examplepluginwidget.h b/languages/cpp/app_templates/opietoday/examplepluginwidget.h
index 252efc85..a802f2ba 100644
--- a/languages/cpp/app_templates/opietoday/examplepluginwidget.h
+++ b/languages/cpp/app_templates/opietoday/examplepluginwidget.h
@@ -7,7 +7,7 @@
class %{APPNAME}Widget : public TQWidget {
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/languages/cpp/app_templates/qmakeapp/qmakeapp.h b/languages/cpp/app_templates/qmakeapp/qmakeapp.h
index ef58ff46..ba2d50ed 100644
--- a/languages/cpp/app_templates/qmakeapp/qmakeapp.h
+++ b/languages/cpp/app_templates/qmakeapp/qmakeapp.h
@@ -9,7 +9,7 @@ class TQTextEdit;
class %{APPNAME}: public TQMainWindow
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/languages/cpp/app_templates/qtopiaapp/example.h b/languages/cpp/app_templates/qtopiaapp/example.h
index eca9c039..af32c7e7 100644
--- a/languages/cpp/app_templates/qtopiaapp/example.h
+++ b/languages/cpp/app_templates/qtopiaapp/example.h
@@ -5,7 +5,7 @@
class %{APPNAME} : public %{APPNAME}Base
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/languages/cpp/app_templates/tdecmodule/module.h b/languages/cpp/app_templates/tdecmodule/module.h
index 44ed3540..58622984 100644
--- a/languages/cpp/app_templates/tdecmodule/module.h
+++ b/languages/cpp/app_templates/tdecmodule/module.h
@@ -8,7 +8,7 @@
class %{APPNAME}: public TDECModule
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/languages/cpp/app_templates/tdeconfig35/app.h b/languages/cpp/app_templates/tdeconfig35/app.h
index b090428f..7e9825ab 100644
--- a/languages/cpp/app_templates/tdeconfig35/app.h
+++ b/languages/cpp/app_templates/tdeconfig35/app.h
@@ -25,7 +25,7 @@ class KURL;
*/
class %{APPNAMELC} : public TDEMainWindow
{
- Q_OBJECT
+ TQ_OBJECT
public:
/**
diff --git a/languages/cpp/app_templates/tdeconfig35/appview.h b/languages/cpp/app_templates/tdeconfig35/appview.h
index a486ec43..20e010d0 100644
--- a/languages/cpp/app_templates/tdeconfig35/appview.h
+++ b/languages/cpp/app_templates/tdeconfig35/appview.h
@@ -21,7 +21,7 @@ class KURL;
*/
class %{APPNAMELC}View : public %{APPNAMELC}view_base
{
- Q_OBJECT
+ TQ_OBJECT
public:
/**
diff --git a/languages/cpp/app_templates/tdefileplugin/tdefile_plugin.h b/languages/cpp/app_templates/tdefileplugin/tdefile_plugin.h
index 7397dafc..bdc6b945 100644
--- a/languages/cpp/app_templates/tdefileplugin/tdefile_plugin.h
+++ b/languages/cpp/app_templates/tdefileplugin/tdefile_plugin.h
@@ -12,7 +12,7 @@ class TQStringList;
class %{APPNAME}Plugin: public KFilePlugin
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/languages/cpp/app_templates/tdescreensaver/tdescreensaver.h b/languages/cpp/app_templates/tdescreensaver/tdescreensaver.h
index e066852a..9557e4c1 100644
--- a/languages/cpp/app_templates/tdescreensaver/tdescreensaver.h
+++ b/languages/cpp/app_templates/tdescreensaver/tdescreensaver.h
@@ -8,7 +8,7 @@
class %{APPNAME} : public KScreenSaver
{
- Q_OBJECT
+ TQ_OBJECT
public:
%{APPNAME}( WId drawable );
@@ -20,7 +20,7 @@ private:
class %{APPNAME}Setup : public %{APPNAME}UI
{
- Q_OBJECT
+ TQ_OBJECT
public:
%{APPNAME}Setup( TQWidget *parent = NULL, const char *name = NULL );