summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/kateplugin2/plugin_app.h
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/kateplugin2/plugin_app.h')
-rw-r--r--languages/cpp/app_templates/kateplugin2/plugin_app.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/languages/cpp/app_templates/kateplugin2/plugin_app.h b/languages/cpp/app_templates/kateplugin2/plugin_app.h
index e4f97d00..6ad068d4 100644
--- a/languages/cpp/app_templates/kateplugin2/plugin_app.h
+++ b/languages/cpp/app_templates/kateplugin2/plugin_app.h
@@ -26,7 +26,7 @@ public:
KatePluginFactory();
virtual ~KatePluginFactory();
- virtual QObject* createObject( QObject* parent = 0, const char* pname = 0, const char* name = "QObject", const QStringList &args = QStringList() );
+ virtual TQObject* createObject( TQObject* parent = 0, const char* pname = 0, const char* name = "TQObject", const TQStringList &args = TQStringList() );
private:
static KInstance* s_instance;
@@ -37,7 +37,7 @@ class KatePlugin%{APPNAME} : public Kate::Plugin, Kate::PluginViewInterface, Kat
Q_OBJECT
public:
- KatePlugin%{APPNAME}( QObject* parent = 0, const char* name = 0 );
+ KatePlugin%{APPNAME}( TQObject* parent = 0, const char* name = 0 );
virtual ~KatePlugin%{APPNAME}();
void addView (Kate::MainWindow *win);
@@ -45,10 +45,10 @@ public:
/** overwrite some functions */
uint configPages () const { return 1; }
- Kate::PluginConfigPage *configPage (uint , QWidget *w, const char *name=0);
- QString configPageName(uint) const { return i18n("%{APPNAME}"); };
- QString configPageFullName(uint) const { return i18n("Configure KatePlugin%{APPNAME}"); };
- QPixmap configPagePixmap (uint number = 0, int size = KIcon::SizeSmall) const { return 0L; };
+ Kate::PluginConfigPage *configPage (uint , TQWidget *w, const char *name=0);
+ TQString configPageName(uint) const { return i18n("%{APPNAME}"); };
+ TQString configPageFullName(uint) const { return i18n("Configure KatePlugin%{APPNAME}"); };
+ TQPixmap configPagePixmap (uint number = 0, int size = KIcon::SizeSmall) const { return 0L; };
public slots:
void slotInsertHello();
@@ -58,7 +58,7 @@ private:
void initConfigPage( %{APPNAME}ConfigPage* );
private:
- QPtrList<class PluginView> m_views;
+ TQPtrList<class PluginView> m_views;
};
@@ -68,7 +68,7 @@ class %{APPNAME}ConfigPage : public Kate::PluginConfigPage
friend class KatePlugin%{APPNAME};
public:
- %{APPNAME}ConfigPage (QObject* parent = 0L, QWidget *parentWidget = 0L);
+ %{APPNAME}ConfigPage (TQObject* parent = 0L, TQWidget *parentWidget = 0L);
~%{APPNAME}ConfigPage ();
/** Reimplemented from Kate::PluginConfigPage; just emits configPageApplyRequest( this ). */