diff options
Diffstat (limited to 'languages/cpp/app_templates')
54 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 bc8a2b93..ef58ff46 100644 --- a/languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.h +++ b/languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.h @@ -10,7 +10,7 @@ class TQTextEdit; class %{APPNAME}: public TQMainWindow { Q_OBJECT - TQ_OBJECT + public: %{APPNAME}(); diff --git a/languages/cpp/app_templates/kapp/app.h b/languages/cpp/app_templates/kapp/app.h index 762d8791..8c40e1fc 100644 --- a/languages/cpp/app_templates/kapp/app.h +++ b/languages/cpp/app_templates/kapp/app.h @@ -26,7 +26,7 @@ class KURL; class %{APPNAME} : public KMainWindow { Q_OBJECT - TQ_OBJECT + public: /** * Default Constructor diff --git a/languages/cpp/app_templates/kapp/appview.h b/languages/cpp/app_templates/kapp/appview.h index a32c35a0..be484fec 100644 --- a/languages/cpp/app_templates/kapp/appview.h +++ b/languages/cpp/app_templates/kapp/appview.h @@ -24,7 +24,7 @@ class KURL; class %{APPNAME}View : public TQWidget, public %{APPNAME}Iface { Q_OBJECT - TQ_OBJECT + public: /** * Default constructor diff --git a/languages/cpp/app_templates/kapp/pref.h b/languages/cpp/app_templates/kapp/pref.h index b22ab262..b2aae436 100644 --- a/languages/cpp/app_templates/kapp/pref.h +++ b/languages/cpp/app_templates/kapp/pref.h @@ -12,7 +12,7 @@ class %{APPNAME}PrefPageTwo; class %{APPNAME}Preferences : public KDialogBase { Q_OBJECT - TQ_OBJECT + public: %{APPNAME}Preferences(); @@ -24,7 +24,7 @@ private: class %{APPNAME}PrefPageOne : public TQFrame { Q_OBJECT - TQ_OBJECT + public: %{APPNAME}PrefPageOne(TQWidget *parent = 0); }; @@ -32,7 +32,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 53e46d06..4e5a259a 100644 --- a/languages/cpp/app_templates/kateplugin/plugin_app.h +++ b/languages/cpp/app_templates/kateplugin/plugin_app.h @@ -17,7 +17,7 @@ class KatePluginFactory : public KLibFactory { Q_OBJECT - TQ_OBJECT + public: KatePluginFactory(); @@ -32,7 +32,7 @@ class KatePluginFactory : public KLibFactory class KatePlugin%{APPNAME} : public Kate::Plugin, Kate::PluginViewInterface { Q_OBJECT - TQ_OBJECT + public: KatePlugin%{APPNAME}( TQObject* parent = 0, const char* name = 0 ); diff --git a/languages/cpp/app_templates/kateplugin2/plugin_app.h b/languages/cpp/app_templates/kateplugin2/plugin_app.h index 297c0b4c..0033bd76 100644 --- a/languages/cpp/app_templates/kateplugin2/plugin_app.h +++ b/languages/cpp/app_templates/kateplugin2/plugin_app.h @@ -21,7 +21,7 @@ class %{APPNAME}ConfigPage; class KatePluginFactory : public KLibFactory { Q_OBJECT - TQ_OBJECT + public: KatePluginFactory(); @@ -36,7 +36,7 @@ private: class KatePlugin%{APPNAME} : public Kate::Plugin, Kate::PluginViewInterface, Kate::PluginConfigInterfaceExtension { Q_OBJECT - TQ_OBJECT + public: KatePlugin%{APPNAME}( TQObject* parent = 0, const char* name = 0 ); @@ -67,7 +67,7 @@ private: class %{APPNAME}ConfigPage : public Kate::PluginConfigPage { Q_OBJECT - TQ_OBJECT + friend class KatePlugin%{APPNAME}; public: diff --git a/languages/cpp/app_templates/kcmodule/module.h b/languages/cpp/app_templates/kcmodule/module.h index 8be473a9..a80d8712 100644 --- a/languages/cpp/app_templates/kcmodule/module.h +++ b/languages/cpp/app_templates/kcmodule/module.h @@ -9,7 +9,7 @@ class %{APPNAME}: public KCModule { Q_OBJECT - TQ_OBJECT + public: %{APPNAME}( TQWidget *parent=0, const char *name=0, const TQStringList& = TQStringList() ); diff --git a/languages/cpp/app_templates/kconfig35/app.h b/languages/cpp/app_templates/kconfig35/app.h index b8ec3f1e..c1aac7e4 100644 --- a/languages/cpp/app_templates/kconfig35/app.h +++ b/languages/cpp/app_templates/kconfig35/app.h @@ -26,7 +26,7 @@ class KURL; class %{APPNAMELC} : public KMainWindow { Q_OBJECT - TQ_OBJECT + public: /** * Default Constructor diff --git a/languages/cpp/app_templates/kconfig35/appview.h b/languages/cpp/app_templates/kconfig35/appview.h index 338cfaa9..a486ec43 100644 --- a/languages/cpp/app_templates/kconfig35/appview.h +++ b/languages/cpp/app_templates/kconfig35/appview.h @@ -22,7 +22,7 @@ class KURL; class %{APPNAMELC}View : public %{APPNAMELC}view_base { Q_OBJECT - TQ_OBJECT + public: /** * Default constructor diff --git a/languages/cpp/app_templates/kde4app/kapp4.h b/languages/cpp/app_templates/kde4app/kapp4.h index 1a15a7c7..68799e3c 100644 --- a/languages/cpp/app_templates/kde4app/kapp4.h +++ b/languages/cpp/app_templates/kde4app/kapp4.h @@ -23,7 +23,7 @@ class KUrl; class %{APPNAME} : public KXmlGuiWindow { Q_OBJECT - TQ_OBJECT + public: /** * Default Constructor diff --git a/languages/cpp/app_templates/kde4app/kapp4view.h b/languages/cpp/app_templates/kde4app/kapp4view.h index c8851bdc..855a2144 100644 --- a/languages/cpp/app_templates/kde4app/kapp4view.h +++ b/languages/cpp/app_templates/kde4app/kapp4view.h @@ -22,7 +22,7 @@ class KUrl; class %{APPNAME}View : public TQWidget, public Ui::%{APPNAMELC}view_base { Q_OBJECT - TQ_OBJECT + public: /** * Default constructor diff --git a/languages/cpp/app_templates/kdedcop/app.h b/languages/cpp/app_templates/kdedcop/app.h index 77914d1c..19489d45 100644 --- a/languages/cpp/app_templates/kdedcop/app.h +++ b/languages/cpp/app_templates/kdedcop/app.h @@ -19,7 +19,7 @@ class %{APPNAME} : public KMainWindow { Q_OBJECT - TQ_OBJECT + public: /** * Default Constructor diff --git a/languages/cpp/app_templates/kdevlang/kdevlang_part.h b/languages/cpp/app_templates/kdevlang/kdevlang_part.h index e8b4d15a..3a263867 100644 --- a/languages/cpp/app_templates/kdevlang/kdevlang_part.h +++ b/languages/cpp/app_templates/kdevlang/kdevlang_part.h @@ -18,7 +18,7 @@ class KAction; class %{APPNAME}Part : public KDevLanguageSupport { Q_OBJECT - TQ_OBJECT + public: %{APPNAME}Part(TQObject *parent, const char *name, const TQStringList &); ~%{APPNAME}Part(); diff --git a/languages/cpp/app_templates/kdevpart/globalconfig.h b/languages/cpp/app_templates/kdevpart/globalconfig.h index b7bfc732..723dbae2 100644 --- a/languages/cpp/app_templates/kdevpart/globalconfig.h +++ b/languages/cpp/app_templates/kdevpart/globalconfig.h @@ -9,7 +9,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 05494c1d..10a99ea9 100644 --- a/languages/cpp/app_templates/kdevpart/kdevpart_part.h +++ b/languages/cpp/app_templates/kdevpart/kdevpart_part.h @@ -19,7 +19,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); ~%{APPNAME}Part(); diff --git a/languages/cpp/app_templates/kdevpart/kdevpart_widget.h b/languages/cpp/app_templates/kdevpart/kdevpart_widget.h index f7c0290f..e54abd4d 100644 --- a/languages/cpp/app_templates/kdevpart/kdevpart_widget.h +++ b/languages/cpp/app_templates/kdevpart/kdevpart_widget.h @@ -11,7 +11,7 @@ class %{APPNAME}Part; class %{APPNAME}Widget: public TQWidget { Q_OBJECT - TQ_OBJECT + public: %{APPNAME}Widget(%{APPNAME}Part *part); ~%{APPNAME}Widget(); diff --git a/languages/cpp/app_templates/kdevpart/projectconfig.h b/languages/cpp/app_templates/kdevpart/projectconfig.h index fe77464b..49d4f089 100644 --- a/languages/cpp/app_templates/kdevpart/projectconfig.h +++ b/languages/cpp/app_templates/kdevpart/projectconfig.h @@ -9,7 +9,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 b7bfc732..723dbae2 100644 --- a/languages/cpp/app_templates/kdevpart2/globalconfig.h +++ b/languages/cpp/app_templates/kdevpart2/globalconfig.h @@ -9,7 +9,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 05494c1d..10a99ea9 100644 --- a/languages/cpp/app_templates/kdevpart2/kdevpart_part.h +++ b/languages/cpp/app_templates/kdevpart2/kdevpart_part.h @@ -19,7 +19,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); ~%{APPNAME}Part(); diff --git a/languages/cpp/app_templates/kdevpart2/kdevpart_widget.h b/languages/cpp/app_templates/kdevpart2/kdevpart_widget.h index f7c0290f..e54abd4d 100644 --- a/languages/cpp/app_templates/kdevpart2/kdevpart_widget.h +++ b/languages/cpp/app_templates/kdevpart2/kdevpart_widget.h @@ -11,7 +11,7 @@ class %{APPNAME}Part; class %{APPNAME}Widget: public TQWidget { Q_OBJECT - TQ_OBJECT + public: %{APPNAME}Widget(%{APPNAME}Part *part); ~%{APPNAME}Widget(); diff --git a/languages/cpp/app_templates/kdevpart2/projectconfig.h b/languages/cpp/app_templates/kdevpart2/projectconfig.h index fe77464b..49d4f089 100644 --- a/languages/cpp/app_templates/kdevpart2/projectconfig.h +++ b/languages/cpp/app_templates/kdevpart2/projectconfig.h @@ -9,7 +9,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/kfileplugin/kfile_plugin.h b/languages/cpp/app_templates/kfileplugin/kfile_plugin.h index fb694e38..50db1252 100644 --- a/languages/cpp/app_templates/kfileplugin/kfile_plugin.h +++ b/languages/cpp/app_templates/kfileplugin/kfile_plugin.h @@ -13,7 +13,7 @@ class TQStringList; class %{APPNAME}Plugin: public KFilePlugin { Q_OBJECT - TQ_OBJECT + public: %{APPNAME}Plugin( TQObject *parent, const char *name, const TQStringList& args ); diff --git a/languages/cpp/app_templates/khello/app.h b/languages/cpp/app_templates/khello/app.h index fd0ca00b..f8617bab 100644 --- a/languages/cpp/app_templates/khello/app.h +++ b/languages/cpp/app_templates/khello/app.h @@ -17,7 +17,7 @@ class %{APPNAME} : public KMainWindow { Q_OBJECT - TQ_OBJECT + public: /** * Default Constructor diff --git a/languages/cpp/app_templates/khello2/app.h b/languages/cpp/app_templates/khello2/app.h index fd0ca00b..f8617bab 100644 --- a/languages/cpp/app_templates/khello2/app.h +++ b/languages/cpp/app_templates/khello2/app.h @@ -17,7 +17,7 @@ class %{APPNAME} : public KMainWindow { Q_OBJECT - TQ_OBJECT + public: /** * Default Constructor diff --git a/languages/cpp/app_templates/khello2/widget.h b/languages/cpp/app_templates/khello2/widget.h index ed436a38..127019ee 100644 --- a/languages/cpp/app_templates/khello2/widget.h +++ b/languages/cpp/app_templates/khello2/widget.h @@ -8,7 +8,7 @@ class %{APPNAME}Widget : public %{APPNAME}WidgetBase { Q_OBJECT - TQ_OBJECT + public: %{APPNAME}Widget(TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); diff --git a/languages/cpp/app_templates/kicker/applet.h b/languages/cpp/app_templates/kicker/applet.h index 1c134399..4266f8eb 100644 --- a/languages/cpp/app_templates/kicker/applet.h +++ b/languages/cpp/app_templates/kicker/applet.h @@ -15,7 +15,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 bcd627d0..a5ca62df 100644 --- a/languages/cpp/app_templates/kmake/mainviewimp.h +++ b/languages/cpp/app_templates/kmake/mainviewimp.h @@ -6,7 +6,7 @@ class MainViewImp : public MainView { Q_OBJECT - TQ_OBJECT + public: MainViewImp(TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); diff --git a/languages/cpp/app_templates/kofficepart/kopart_factory.h b/languages/cpp/app_templates/kofficepart/kopart_factory.h index 9e820797..2bb18133 100644 --- a/languages/cpp/app_templates/kofficepart/kopart_factory.h +++ b/languages/cpp/app_templates/kofficepart/kopart_factory.h @@ -14,7 +14,7 @@ class KAboutData; class %{APPNAME}Factory : public KoFactory { Q_OBJECT - TQ_OBJECT + public: %{APPNAME}Factory( TQObject* parent = 0, const char* name = 0 ); ~%{APPNAME}Factory(); diff --git a/languages/cpp/app_templates/kofficepart/kopart_part.h b/languages/cpp/app_templates/kofficepart/kopart_part.h index 21ad460a..9dced411 100644 --- a/languages/cpp/app_templates/kofficepart/kopart_part.h +++ b/languages/cpp/app_templates/kofficepart/kopart_part.h @@ -11,7 +11,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 2b97fe4f..c6853333 100644 --- a/languages/cpp/app_templates/kofficepart/kopart_view.h +++ b/languages/cpp/app_templates/kofficepart/kopart_view.h @@ -16,7 +16,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 83c5c2c4..a2a8082d 100644 --- a/languages/cpp/app_templates/konqnavpanel/konqnavpanel.h +++ b/languages/cpp/app_templates/konqnavpanel/konqnavpanel.h @@ -14,7 +14,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 9bc577cb..f2dd9bb3 100644 --- a/languages/cpp/app_templates/kpartapp/app.h +++ b/languages/cpp/app_templates/kpartapp/app.h @@ -22,7 +22,7 @@ class KToggleAction; class %{APPNAME} : public KParts::MainWindow { Q_OBJECT - TQ_OBJECT + public: /** * Default Constructor diff --git a/languages/cpp/app_templates/kpartapp/app_part.h b/languages/cpp/app_templates/kpartapp/app_part.h index 30f99b04..113d8726 100644 --- a/languages/cpp/app_templates/kpartapp/app_part.h +++ b/languages/cpp/app_templates/kpartapp/app_part.h @@ -21,7 +21,7 @@ class TQMultiLineEdit; class %{APPNAME}Part : public KParts::ReadWritePart { Q_OBJECT - TQ_OBJECT + public: /** * Default constructor @@ -71,7 +71,7 @@ class KAboutData; class %{APPNAME}PartFactory : public KParts::Factory { Q_OBJECT - TQ_OBJECT + public: %{APPNAME}PartFactory(); virtual ~%{APPNAME}PartFactory(); diff --git a/languages/cpp/app_templates/kpartplugin/plugin_app.h b/languages/cpp/app_templates/kpartplugin/plugin_app.h index cff0a63c..8423f56e 100644 --- a/languages/cpp/app_templates/kpartplugin/plugin_app.h +++ b/languages/cpp/app_templates/kpartplugin/plugin_app.h @@ -8,7 +8,7 @@ class Plugin%{APPNAME} : public KParts::Plugin { Q_OBJECT - TQ_OBJECT + public: Plugin%{APPNAME}( TQObject* parent = 0, const char* name = 0 ); virtual ~Plugin%{APPNAME}(); @@ -20,7 +20,7 @@ public slots: class %{APPNAME}Factory : public KLibFactory { Q_OBJECT - TQ_OBJECT + public: %{APPNAME}Factory(); virtual ~%{APPNAME}Factory(); diff --git a/languages/cpp/app_templates/kscons_kmdi/app_part.h b/languages/cpp/app_templates/kscons_kmdi/app_part.h index 5ab44003..1c9e4d14 100644 --- a/languages/cpp/app_templates/kscons_kmdi/app_part.h +++ b/languages/cpp/app_templates/kscons_kmdi/app_part.h @@ -23,7 +23,7 @@ class KAboutData; class %{APPNAMELC}Part : public KParts::ReadWritePart { Q_OBJECT - TQ_OBJECT + public: /** * Default constructor diff --git a/languages/cpp/app_templates/kscons_kmdi/appkmdi.h b/languages/cpp/app_templates/kscons_kmdi/appkmdi.h index ca78c895..fc4d73aa 100644 --- a/languages/cpp/app_templates/kscons_kmdi/appkmdi.h +++ b/languages/cpp/app_templates/kscons_kmdi/appkmdi.h @@ -28,7 +28,7 @@ class MiscProperties; class %{APPNAMELC}kmdi : public KMdiMainFrm { Q_OBJECT - TQ_OBJECT + public: %{APPNAMELC}kmdi( KMdi::MdiMode mode ); virtual ~%{APPNAMELC}kmdi(); diff --git a/languages/cpp/app_templates/kscons_kmdi/appkmdiView.h b/languages/cpp/app_templates/kscons_kmdi/appkmdiView.h index 8890fb59..d0fde2f8 100644 --- a/languages/cpp/app_templates/kscons_kmdi/appkmdiView.h +++ b/languages/cpp/app_templates/kscons_kmdi/appkmdiView.h @@ -15,7 +15,7 @@ class %{APPNAMELC}kmdiView : public KMdiChildView { Q_OBJECT - TQ_OBJECT + public: %{APPNAMELC}kmdiView( TQWidget *parentWidget=0L, const char *name=0L ); virtual ~%{APPNAMELC}kmdiView(); diff --git a/languages/cpp/app_templates/kscons_kmdi/kmdikonsole.h b/languages/cpp/app_templates/kscons_kmdi/kmdikonsole.h index 727e9675..df3a1526 100644 --- a/languages/cpp/app_templates/kscons_kmdi/kmdikonsole.h +++ b/languages/cpp/app_templates/kscons_kmdi/kmdikonsole.h @@ -8,7 +8,7 @@ class kmdikonsole : public TQVBox { Q_OBJECT - TQ_OBJECT + public: kmdikonsole( TQWidget* parent, const char* name=0); diff --git a/languages/cpp/app_templates/kscons_kxt/app.h b/languages/cpp/app_templates/kscons_kxt/app.h index afc6d642..6ac2acb8 100644 --- a/languages/cpp/app_templates/kscons_kxt/app.h +++ b/languages/cpp/app_templates/kscons_kxt/app.h @@ -29,7 +29,7 @@ class %{APPNAME} : public KMainWindow, public DCOPObject { K_DCOP Q_OBJECT - TQ_OBJECT + public: /** * Default Constructor diff --git a/languages/cpp/app_templates/kscons_kxt/appview.h b/languages/cpp/app_templates/kscons_kxt/appview.h index 56a6edd3..38f0e58a 100644 --- a/languages/cpp/app_templates/kscons_kxt/appview.h +++ b/languages/cpp/app_templates/kscons_kxt/appview.h @@ -22,7 +22,7 @@ class KURL; class %{APPNAME}View : public %{APPNAME}view_base { Q_OBJECT - TQ_OBJECT + public: /** * Default constructor diff --git a/languages/cpp/app_templates/kscreensaver/kscreensaver.h b/languages/cpp/app_templates/kscreensaver/kscreensaver.h index fc2fd650..881137c5 100644 --- a/languages/cpp/app_templates/kscreensaver/kscreensaver.h +++ b/languages/cpp/app_templates/kscreensaver/kscreensaver.h @@ -9,7 +9,7 @@ class %{APPNAME} : public KScreenSaver { Q_OBJECT - TQ_OBJECT + public: %{APPNAME}( WId drawable ); virtual ~%{APPNAME}(); @@ -21,7 +21,7 @@ private: class %{APPNAME}Setup : public %{APPNAME}UI { Q_OBJECT - TQ_OBJECT + public: %{APPNAME}Setup( TQWidget *parent = NULL, const char *name = NULL ); diff --git a/languages/cpp/app_templates/kxt/app.h b/languages/cpp/app_templates/kxt/app.h index 6ed2ab3d..76d48c70 100644 --- a/languages/cpp/app_templates/kxt/app.h +++ b/languages/cpp/app_templates/kxt/app.h @@ -27,7 +27,7 @@ class KURL; class %{APPNAMELC} : public KMainWindow { Q_OBJECT - TQ_OBJECT + public: /** * Default Constructor diff --git a/languages/cpp/app_templates/kxt/appview.h b/languages/cpp/app_templates/kxt/appview.h index 338cfaa9..a486ec43 100644 --- a/languages/cpp/app_templates/kxt/appview.h +++ b/languages/cpp/app_templates/kxt/appview.h @@ -22,7 +22,7 @@ class KURL; class %{APPNAMELC}View : public %{APPNAMELC}view_base { Q_OBJECT - TQ_OBJECT + public: /** * Default constructor diff --git a/languages/cpp/app_templates/noatunui/plugin_impl.h b/languages/cpp/app_templates/noatunui/plugin_impl.h index 498864c6..44f77f75 100644 --- a/languages/cpp/app_templates/noatunui/plugin_impl.h +++ b/languages/cpp/app_templates/noatunui/plugin_impl.h @@ -26,7 +26,7 @@ class KStatusBar; class %{APPNAME}UI : public TQWidget, public UserInterface { Q_OBJECT - TQ_OBJECT + public: %{APPNAME}UI(); virtual ~%{APPNAME}UI(); diff --git a/languages/cpp/app_templates/opieapp/example.h b/languages/cpp/app_templates/opieapp/example.h index 92a4019f..0dabb6c9 100644 --- a/languages/cpp/app_templates/opieapp/example.h +++ b/languages/cpp/app_templates/opieapp/example.h @@ -5,7 +5,7 @@ class %{APPNAME} : public %{APPNAME}Base { Q_OBJECT - TQ_OBJECT + public: static TQString appName() { diff --git a/languages/cpp/app_templates/opieapplet/simpleimpl.h b/languages/cpp/app_templates/opieapplet/simpleimpl.h index 311d7c14..89df1dab 100644 --- a/languages/cpp/app_templates/opieapplet/simpleimpl.h +++ b/languages/cpp/app_templates/opieapplet/simpleimpl.h @@ -40,7 +40,7 @@ */ class %{APPNAME} : public TQWidget { Q_OBJECT - TQ_OBJECT + public: %{APPNAME}(TQWidget *parent); ~%{APPNAME}(); diff --git a/languages/cpp/app_templates/opieinput/simpleimpl.h b/languages/cpp/app_templates/opieinput/simpleimpl.h index ab41e38d..6466810d 100644 --- a/languages/cpp/app_templates/opieinput/simpleimpl.h +++ b/languages/cpp/app_templates/opieinput/simpleimpl.h @@ -9,7 +9,7 @@ class TQPixmap; class TQCheckBox; class %{APPNAME} : public TQHBox { Q_OBJECT - TQ_OBJECT + public: %{APPNAME}( TQWidget *par, WFlags f ); ~%{APPNAME}(); diff --git a/languages/cpp/app_templates/opiemenu/simpleimpl.h b/languages/cpp/app_templates/opiemenu/simpleimpl.h index 71d7afa4..bf111a5a 100644 --- a/languages/cpp/app_templates/opiemenu/simpleimpl.h +++ b/languages/cpp/app_templates/opiemenu/simpleimpl.h @@ -9,7 +9,7 @@ class %{APPNAME} : public TQObject, public MenuAppletInterface { Q_OBJECT - TQ_OBJECT + public: %{APPNAME} ( ); diff --git a/languages/cpp/app_templates/opienet/simpleiface.h b/languages/cpp/app_templates/opienet/simpleiface.h index d998de8f..4ad088f8 100644 --- a/languages/cpp/app_templates/opienet/simpleiface.h +++ b/languages/cpp/app_templates/opienet/simpleiface.h @@ -5,7 +5,7 @@ class %{APPNAME}Interface : public Interface { Q_OBJECT - TQ_OBJECT + public: %{APPNAME}Interface(TQObject* parent, const char* name = "vpn", bool up = false ); diff --git a/languages/cpp/app_templates/opietoday/examplepluginwidget.h b/languages/cpp/app_templates/opietoday/examplepluginwidget.h index f079013e..252efc85 100644 --- a/languages/cpp/app_templates/opietoday/examplepluginwidget.h +++ b/languages/cpp/app_templates/opietoday/examplepluginwidget.h @@ -8,7 +8,7 @@ class %{APPNAME}Widget : public TQWidget { Q_OBJECT - TQ_OBJECT + public: %{APPNAME}Widget( TQWidget *parent, const char *name ); diff --git a/languages/cpp/app_templates/qmakeapp/qmakeapp.h b/languages/cpp/app_templates/qmakeapp/qmakeapp.h index bc8a2b93..ef58ff46 100644 --- a/languages/cpp/app_templates/qmakeapp/qmakeapp.h +++ b/languages/cpp/app_templates/qmakeapp/qmakeapp.h @@ -10,7 +10,7 @@ class TQTextEdit; class %{APPNAME}: public TQMainWindow { Q_OBJECT - TQ_OBJECT + public: %{APPNAME}(); diff --git a/languages/cpp/app_templates/qt4makeapp/qt4makeapp.h b/languages/cpp/app_templates/qt4makeapp/qt4makeapp.h index 65402c85..99a979cf 100644 --- a/languages/cpp/app_templates/qt4makeapp/qt4makeapp.h +++ b/languages/cpp/app_templates/qt4makeapp/qt4makeapp.h @@ -13,7 +13,7 @@ class TQTextEdit; class %{APPNAME}:public TQMainWindow { Q_OBJECT - TQ_OBJECT + public: %{APPNAME}(); diff --git a/languages/cpp/app_templates/qtopia4app/example.h b/languages/cpp/app_templates/qtopia4app/example.h index 0b174641..f6e3c548 100644 --- a/languages/cpp/app_templates/qtopia4app/example.h +++ b/languages/cpp/app_templates/qtopia4app/example.h @@ -13,7 +13,7 @@ public: class %{APPNAME} : public %{APPNAME}Base { Q_OBJECT - TQ_OBJECT + public: %{APPNAME}( TQWidget *parent = 0, TQt::WFlags f = 0 ); virtual ~%{APPNAME}(); diff --git a/languages/cpp/app_templates/qtopiaapp/example.h b/languages/cpp/app_templates/qtopiaapp/example.h index 84f90cfd..eca9c039 100644 --- a/languages/cpp/app_templates/qtopiaapp/example.h +++ b/languages/cpp/app_templates/qtopiaapp/example.h @@ -6,7 +6,7 @@ class %{APPNAME} : public %{APPNAME}Base { Q_OBJECT - TQ_OBJECT + public: %{APPNAME}( TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); |