diff options
Diffstat (limited to 'kommander/working/plugintemplate')
-rw-r--r-- | kommander/working/plugintemplate/plugin.cpp | 6 | ||||
-rw-r--r-- | kommander/working/plugintemplate/widget.cpp | 4 | ||||
-rw-r--r-- | kommander/working/plugintemplate/widget.h | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/kommander/working/plugintemplate/plugin.cpp b/kommander/working/plugintemplate/plugin.cpp index bad414aa..b6e1a0a0 100644 --- a/kommander/working/plugintemplate/plugin.cpp +++ b/kommander/working/plugintemplate/plugin.cpp @@ -11,7 +11,7 @@ class %{APPNAME}Plugin : public KommanderPlugin { public: %{APPNAME}Plugin(); - virtual TQWidget *create( const TQString &className, TQWidget *tqparent = 0, const char *name = 0); + virtual TQWidget *create( const TQString &className, TQWidget *parent = 0, const char *name = 0); }; %{APPNAME}Plugin::%{APPNAME}Plugin() @@ -19,10 +19,10 @@ public: addWidget( "%{APPNAME}", "Custom", i18n("Kommander %{APPNAME} plugin."), new TQIconSet(KGlobal::iconLoader()->loadIcon("%{APPNAMELC}", KIcon::NoGroup, KIcon::SizeMedium)) ); } -TQWidget *%{APPNAME}Plugin::create( const TQString &className, TQWidget *tqparent, const char *name) +TQWidget *%{APPNAME}Plugin::create( const TQString &className, TQWidget *parent, const char *name) { if (className == "%{APPNAME}") - return new %{APPNAME}(tqparent, name); + return new %{APPNAME}(parent, name); return 0; } diff --git a/kommander/working/plugintemplate/widget.cpp b/kommander/working/plugintemplate/widget.cpp index 7efd8526..0b768911 100644 --- a/kommander/working/plugintemplate/widget.cpp +++ b/kommander/working/plugintemplate/widget.cpp @@ -16,8 +16,8 @@ enum Functions { LastFunction }; -%{APPNAME}::%{APPNAME}(TQWidget *tqparent, const char *name) - : TQWidget(tqparent, name), KommanderWidget(this) +%{APPNAME}::%{APPNAME}(TQWidget *parent, const char *name) + : TQWidget(parent, name), KommanderWidget(this) { TQStringList states; states << "default"; diff --git a/kommander/working/plugintemplate/widget.h b/kommander/working/plugintemplate/widget.h index ab6f042f..2d88f61b 100644 --- a/kommander/working/plugintemplate/widget.h +++ b/kommander/working/plugintemplate/widget.h @@ -22,7 +22,7 @@ class %{APPNAME}: public TQWidget, public KommanderWidget TQ_PROPERTY(bool KommanderWidget READ isKommanderWidget) public: - %{APPNAME}(TQWidget *tqparent, const char* name); + %{APPNAME}(TQWidget *parent, const char* name); ~%{APPNAME}(); virtual bool isKommanderWidget() const; |