diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 6c79d50fa9fbdff7f69ca57a8ab5fcc942375593 (patch) | |
tree | f47737d56c3239a0d8bc600674f0ca04b6e30d6e /kommander/working/plugintemplate | |
parent | 36c36b53a129509d56fdaa0a7c9fcbcacd0c5826 (diff) | |
download | tdewebdev-6c79d50fa9fbdff7f69ca57a8ab5fcc942375593.tar.gz tdewebdev-6c79d50fa9fbdff7f69ca57a8ab5fcc942375593.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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; |