diff options
Diffstat (limited to 'languages/cpp/app_templates/kateplugin2/plugin_app.cpp')
-rw-r--r-- | languages/cpp/app_templates/kateplugin2/plugin_app.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/languages/cpp/app_templates/kateplugin2/plugin_app.cpp b/languages/cpp/app_templates/kateplugin2/plugin_app.cpp index 1670f252..18595d10 100644 --- a/languages/cpp/app_templates/kateplugin2/plugin_app.cpp +++ b/languages/cpp/app_templates/kateplugin2/plugin_app.cpp @@ -37,15 +37,15 @@ KatePluginFactory::~KatePluginFactory() delete s_instance; } -TQObject* KatePluginFactory::createObject( TQObject* tqparent, const char* name, const char*, const TQStringList & ) +TQObject* KatePluginFactory::createObject( TQObject* parent, const char* name, const char*, const TQStringList & ) { - return new KatePlugin%{APPNAME}( tqparent, name ); + return new KatePlugin%{APPNAME}( parent, name ); } KInstance* KatePluginFactory::s_instance = 0L; -KatePlugin%{APPNAME}::KatePlugin%{APPNAME}( TQObject* tqparent, const char* name ) - : Kate::Plugin ( (Kate::Application*)tqparent, name ) +KatePlugin%{APPNAME}::KatePlugin%{APPNAME}( TQObject* parent, const char* name ) + : Kate::Plugin ( (Kate::Application*)parent, name ) { } @@ -114,7 +114,7 @@ void KatePlugin%{APPNAME}::slotApplyConfig( %{APPNAME}ConfigPage* p ) /** * %{APPNAME}ConfigPage */ -%{APPNAME}ConfigPage::%{APPNAME}ConfigPage (TQObject* tqparent /*= 0L*/, TQWidget *parentWidget /*= 0L*/) +%{APPNAME}ConfigPage::%{APPNAME}ConfigPage (TQObject* parent /*= 0L*/, TQWidget *parentWidget /*= 0L*/) : Kate::PluginConfigPage( parentWidget ) { TQVBoxLayout* lo = new TQVBoxLayout( this, 0, 0, "config_page_layout" ); |