From 936370a6413e14b322ce808be07c6c66714941b6 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: 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 --- plugins/scanfolder/scanfolderplugin.cpp | 4 ++-- plugins/scanfolder/scanfolderplugin.h | 2 +- plugins/scanfolder/scanfolderprefpage.cpp | 4 ++-- plugins/scanfolder/scanfolderprefpage.h | 2 +- plugins/scanfolder/scanfolderprefpagewidget.cpp | 4 ++-- plugins/scanfolder/scanfolderprefpagewidget.h | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) (limited to 'plugins/scanfolder') diff --git a/plugins/scanfolder/scanfolderplugin.cpp b/plugins/scanfolder/scanfolderplugin.cpp index b4bcd5c..2d9c069 100644 --- a/plugins/scanfolder/scanfolderplugin.cpp +++ b/plugins/scanfolder/scanfolderplugin.cpp @@ -48,8 +48,8 @@ namespace kt const TQString EMAIL = "ivasic@gmail.com"; const TQString DESCRIPTION = i18n("Automatically scans directories for torrent files and loads them."); - ScanFolderPlugin::ScanFolderPlugin(TQObject* tqparent, const char* name, const TQStringList& args) - : Plugin(tqparent, name, args,NAME,i18n("Scan Folder"),AUTHOR,EMAIL,DESCRIPTION,"view_sidetree") + ScanFolderPlugin::ScanFolderPlugin(TQObject* parent, const char* name, const TQStringList& args) + : Plugin(parent, name, args,NAME,i18n("Scan Folder"),AUTHOR,EMAIL,DESCRIPTION,"view_sidetree") { // setXMLFile("ktscanfolderpluginui.rc"); m_sf1 = 0; diff --git a/plugins/scanfolder/scanfolderplugin.h b/plugins/scanfolder/scanfolderplugin.h index 64f2f5b..3d74fab 100644 --- a/plugins/scanfolder/scanfolderplugin.h +++ b/plugins/scanfolder/scanfolderplugin.h @@ -40,7 +40,7 @@ namespace kt Q_OBJECT TQ_OBJECT public: - ScanFolderPlugin(TQObject* tqparent, const char* name, const TQStringList& args); + ScanFolderPlugin(TQObject* parent, const char* name, const TQStringList& args); virtual ~ScanFolderPlugin(); virtual void load(); diff --git a/plugins/scanfolder/scanfolderprefpage.cpp b/plugins/scanfolder/scanfolderprefpage.cpp index f5a462b..4e01901 100644 --- a/plugins/scanfolder/scanfolderprefpage.cpp +++ b/plugins/scanfolder/scanfolderprefpage.cpp @@ -49,9 +49,9 @@ namespace kt return true; } - void ScanFolderPrefPage::createWidget(TQWidget* tqparent) + void ScanFolderPrefPage::createWidget(TQWidget* parent) { - m_widget = new ScanFolderPrefPageWidget(tqparent); + m_widget = new ScanFolderPrefPageWidget(parent); } void ScanFolderPrefPage::updateData() diff --git a/plugins/scanfolder/scanfolderprefpage.h b/plugins/scanfolder/scanfolderprefpage.h index e09210b..cb2f80c 100644 --- a/plugins/scanfolder/scanfolderprefpage.h +++ b/plugins/scanfolder/scanfolderprefpage.h @@ -39,7 +39,7 @@ namespace kt virtual ~ScanFolderPrefPage(); virtual bool apply(); - virtual void createWidget(TQWidget* tqparent); + virtual void createWidget(TQWidget* parent); virtual void updateData(); virtual void deleteWidget(); diff --git a/plugins/scanfolder/scanfolderprefpagewidget.cpp b/plugins/scanfolder/scanfolderprefpagewidget.cpp index b1a6125..af70fc6 100644 --- a/plugins/scanfolder/scanfolderprefpagewidget.cpp +++ b/plugins/scanfolder/scanfolderprefpagewidget.cpp @@ -32,8 +32,8 @@ namespace kt { - ScanFolderPrefPageWidget::ScanFolderPrefPageWidget(TQWidget *tqparent, const char *name) - :SfPrefPageWidgetBase(tqparent, name) + ScanFolderPrefPageWidget::ScanFolderPrefPageWidget(TQWidget *parent, const char *name) + :SfPrefPageWidgetBase(parent, name) { use1->setChecked(ScanFolderPluginSettings::useFolder1()); use2->setChecked(ScanFolderPluginSettings::useFolder2()); diff --git a/plugins/scanfolder/scanfolderprefpagewidget.h b/plugins/scanfolder/scanfolderprefpagewidget.h index 6419e1c..ab4b348 100644 --- a/plugins/scanfolder/scanfolderprefpagewidget.h +++ b/plugins/scanfolder/scanfolderprefpagewidget.h @@ -29,7 +29,7 @@ namespace kt Q_OBJECT TQ_OBJECT public: - ScanFolderPrefPageWidget(TQWidget *tqparent = 0, const char *name = 0); + ScanFolderPrefPageWidget(TQWidget *parent = 0, const char *name = 0); void apply(); }; -- cgit v1.2.1