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 | 936370a6413e14b322ce808be07c6c66714941b6 (patch) | |
tree | 31b9f37bb64beac5eddafef05312da5b48736bd6 /plugins/search | |
parent | 2a99db3ebc4c211e436f95fde24b5ac6826d0267 (diff) | |
download | ktorrent-936370a6413e14b322ce808be07c6c66714941b6.tar.gz ktorrent-936370a6413e14b322ce808be07c6c66714941b6.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktorrent@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'plugins/search')
-rw-r--r-- | plugins/search/htmlpart.cpp | 4 | ||||
-rw-r--r-- | plugins/search/htmlpart.h | 2 | ||||
-rw-r--r-- | plugins/search/searchplugin.cpp | 4 | ||||
-rw-r--r-- | plugins/search/searchplugin.h | 2 | ||||
-rw-r--r-- | plugins/search/searchprefpage.cpp | 6 | ||||
-rw-r--r-- | plugins/search/searchprefpage.h | 4 |
6 files changed, 11 insertions, 11 deletions
diff --git a/plugins/search/htmlpart.cpp b/plugins/search/htmlpart.cpp index 00d5326..bad55d6 100644 --- a/plugins/search/htmlpart.cpp +++ b/plugins/search/htmlpart.cpp @@ -36,8 +36,8 @@ using namespace bt; namespace kt { - HTMLPart::HTMLPart(TQWidget *tqparent) - : KHTMLPart(tqparent) + HTMLPart::HTMLPart(TQWidget *parent) + : KHTMLPart(parent) { setJScriptEnabled(true); setJavaEnabled(true); diff --git a/plugins/search/htmlpart.h b/plugins/search/htmlpart.h index 8b400dc..1a50d9b 100644 --- a/plugins/search/htmlpart.h +++ b/plugins/search/htmlpart.h @@ -39,7 +39,7 @@ namespace kt Q_OBJECT TQ_OBJECT public: - HTMLPart(TQWidget *tqparent = 0); + HTMLPart(TQWidget *parent = 0); virtual ~HTMLPart(); public slots: diff --git a/plugins/search/searchplugin.cpp b/plugins/search/searchplugin.cpp index 9b13680..b22e858 100644 --- a/plugins/search/searchplugin.cpp +++ b/plugins/search/searchplugin.cpp @@ -46,8 +46,8 @@ K_EXPORT_COMPONENT_FACTORY(ktsearchplugin,KGenericFactory<kt::SearchPlugin>("kts namespace kt { - SearchPlugin::SearchPlugin(TQObject* tqparent, const char* name, const TQStringList& args) - : Plugin(tqparent, name, args,NAME,i18n("Search"),AUTHOR,EMAIL, + SearchPlugin::SearchPlugin(TQObject* parent, const char* name, const TQStringList& args) + : Plugin(parent, name, args,NAME,i18n("Search"),AUTHOR,EMAIL, i18n("Search for torrents on several popular torrent search engines"),"viewmag") { // setXMLFile("ktsearchpluginui.rc"); diff --git a/plugins/search/searchplugin.h b/plugins/search/searchplugin.h index 9bfbb0b..46b859b 100644 --- a/plugins/search/searchplugin.h +++ b/plugins/search/searchplugin.h @@ -39,7 +39,7 @@ namespace kt Q_OBJECT TQ_OBJECT public: - SearchPlugin(TQObject* tqparent, const char* name, const TQStringList& args); + SearchPlugin(TQObject* parent, const char* name, const TQStringList& args); virtual ~SearchPlugin(); virtual void load(); diff --git a/plugins/search/searchprefpage.cpp b/plugins/search/searchprefpage.cpp index 197dd0f..adf78ba 100644 --- a/plugins/search/searchprefpage.cpp +++ b/plugins/search/searchprefpage.cpp @@ -47,7 +47,7 @@ using namespace bt; namespace kt { - SearchPrefPageWidget::SearchPrefPageWidget(TQWidget *tqparent) : SEPreferences(tqparent) + SearchPrefPageWidget::SearchPrefPageWidget(TQWidget *parent) : SEPreferences(parent) { TQString info = i18n("Use your web browser to search for the string %1" " (capital letters) on the search engine you want to add. <br> " @@ -264,9 +264,9 @@ namespace kt return ret; } - void SearchPrefPage::createWidget(TQWidget* tqparent) + void SearchPrefPage::createWidget(TQWidget* parent) { - widget = new SearchPrefPageWidget(tqparent); + widget = new SearchPrefPageWidget(parent); } void SearchPrefPage::deleteWidget() diff --git a/plugins/search/searchprefpage.h b/plugins/search/searchprefpage.h index 748b378..58c80dd 100644 --- a/plugins/search/searchprefpage.h +++ b/plugins/search/searchprefpage.h @@ -36,7 +36,7 @@ namespace kt Q_OBJECT TQ_OBJECT public: - SearchPrefPageWidget(TQWidget *tqparent = 0); + SearchPrefPageWidget(TQWidget *parent = 0); bool apply(); void saveSearchEngines(); @@ -65,7 +65,7 @@ namespace kt virtual ~SearchPrefPage(); virtual bool apply(); - virtual void createWidget(TQWidget* tqparent); + virtual void createWidget(TQWidget* parent); virtual void updateData(); virtual void deleteWidget(); |