diff options
Diffstat (limited to 'kommander/working/plugintemplate/plugin.cpp')
-rw-r--r-- | kommander/working/plugintemplate/plugin.cpp | 6 |
1 files changed, 3 insertions, 3 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; } |