summaryrefslogtreecommitdiffstats
path: root/kommander/working/plugintemplate/plugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kommander/working/plugintemplate/plugin.cpp')
-rw-r--r--kommander/working/plugintemplate/plugin.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kommander/working/plugintemplate/plugin.cpp b/kommander/working/plugintemplate/plugin.cpp
index b6e1a0a0..bad414aa 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 *parent = 0, const char *name = 0);
+ virtual TQWidget *create( const TQString &className, TQWidget *tqparent = 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 *parent, const char *name)
+TQWidget *%{APPNAME}Plugin::create( const TQString &className, TQWidget *tqparent, const char *name)
{
if (className == "%{APPNAME}")
- return new %{APPNAME}(parent, name);
+ return new %{APPNAME}(tqparent, name);
return 0;
}