summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit936370a6413e14b322ce808be07c6c66714941b6 (patch)
tree31b9f37bb64beac5eddafef05312da5b48736bd6 /plugins
parent2a99db3ebc4c211e436f95fde24b5ac6826d0267 (diff)
downloadktorrent-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')
-rw-r--r--plugins/infowidget/availabilitychunkbar.cpp2
-rw-r--r--plugins/infowidget/availabilitychunkbar.h2
-rw-r--r--plugins/infowidget/chunkbar.cpp4
-rw-r--r--plugins/infowidget/chunkbar.h2
-rw-r--r--plugins/infowidget/chunkdownloadview.cpp4
-rw-r--r--plugins/infowidget/chunkdownloadview.h2
-rw-r--r--plugins/infowidget/downloadedchunkbar.cpp4
-rw-r--r--plugins/infowidget/downloadedchunkbar.h2
-rw-r--r--plugins/infowidget/fileview.cpp4
-rw-r--r--plugins/infowidget/fileview.h2
-rw-r--r--plugins/infowidget/floatspinbox.cpp12
-rw-r--r--plugins/infowidget/floatspinbox.h6
-rw-r--r--plugins/infowidget/infowidgetplugin.cpp4
-rw-r--r--plugins/infowidget/infowidgetplugin.h2
-rw-r--r--plugins/infowidget/infowidgetprefpage.cpp4
-rw-r--r--plugins/infowidget/infowidgetprefpage.h2
-rw-r--r--plugins/infowidget/iwfiletreediritem.cpp4
-rw-r--r--plugins/infowidget/iwfiletreediritem.h2
-rw-r--r--plugins/infowidget/localefloatvalidator.cpp4
-rw-r--r--plugins/infowidget/localefloatvalidator.h2
-rw-r--r--plugins/infowidget/peerview.cpp4
-rw-r--r--plugins/infowidget/peerview.h2
-rw-r--r--plugins/infowidget/statustab.cpp4
-rw-r--r--plugins/infowidget/statustab.h2
-rw-r--r--plugins/infowidget/trackerview.cpp4
-rw-r--r--plugins/infowidget/trackerview.h2
-rw-r--r--plugins/ipfilter/convertdialog.cpp4
-rw-r--r--plugins/ipfilter/convertdialog.h2
-rw-r--r--plugins/ipfilter/ipblockingprefpage.cpp6
-rw-r--r--plugins/ipfilter/ipblockingprefpage.h4
-rw-r--r--plugins/ipfilter/ipfilterplugin.cpp4
-rw-r--r--plugins/ipfilter/ipfilterplugin.h2
-rw-r--r--plugins/logviewer/logprefpage.cpp4
-rw-r--r--plugins/logviewer/logprefpage.h2
-rw-r--r--plugins/logviewer/logprefwidget.cpp4
-rw-r--r--plugins/logviewer/logprefwidget.h2
-rw-r--r--plugins/logviewer/logviewer.cpp4
-rw-r--r--plugins/logviewer/logviewer.h2
-rw-r--r--plugins/logviewer/logviewerplugin.cpp4
-rw-r--r--plugins/logviewer/logviewerplugin.h2
-rw-r--r--plugins/partfileimport/importdialog.cpp4
-rw-r--r--plugins/partfileimport/importdialog.h2
-rw-r--r--plugins/partfileimport/partfileimportplugin.cpp4
-rw-r--r--plugins/partfileimport/partfileimportplugin.h2
-rw-r--r--plugins/rssfeed/rss/article.cpp4
-rw-r--r--plugins/rssfeed/rss/article.h4
-rw-r--r--plugins/rssfeed/rss/document.cpp2
-rw-r--r--plugins/rssfeed/rss/tools_p.cpp4
-rw-r--r--plugins/rssfeed/rss/tools_p.h2
-rw-r--r--plugins/rssfeed/rssfeed.cpp2
-rw-r--r--plugins/rssfeed/rssfeed.h2
-rw-r--r--plugins/rssfeed/rssfeedmanager.cpp2
-rw-r--r--plugins/rssfeed/rssfeedmanager.h2
-rw-r--r--plugins/rssfeed/rssfeedplugin.cpp4
-rw-r--r--plugins/rssfeed/rssfeedplugin.h2
-rw-r--r--plugins/rssfeed/rssfilter.cpp2
-rw-r--r--plugins/rssfeed/rssfilter.h2
-rw-r--r--plugins/rssfeed/rsslinkdownloader.cpp2
-rw-r--r--plugins/rssfeed/rsslinkdownloader.h2
-rw-r--r--plugins/scanfolder/scanfolderplugin.cpp4
-rw-r--r--plugins/scanfolder/scanfolderplugin.h2
-rw-r--r--plugins/scanfolder/scanfolderprefpage.cpp4
-rw-r--r--plugins/scanfolder/scanfolderprefpage.h2
-rw-r--r--plugins/scanfolder/scanfolderprefpagewidget.cpp4
-rw-r--r--plugins/scanfolder/scanfolderprefpagewidget.h2
-rw-r--r--plugins/scheduler/bwsprefpagewidget.cpp4
-rw-r--r--plugins/scheduler/bwsprefpagewidget.h2
-rw-r--r--plugins/scheduler/bwswidget.cpp4
-rw-r--r--plugins/scheduler/bwswidget.h2
-rw-r--r--plugins/scheduler/schedulerplugin.cpp4
-rw-r--r--plugins/scheduler/schedulerplugin.h2
-rw-r--r--plugins/scheduler/schedulerprefpage.cpp4
-rw-r--r--plugins/scheduler/schedulerprefpage.h2
-rw-r--r--plugins/scheduler/schedulerprefpagewidget.cpp4
-rw-r--r--plugins/scheduler/schedulerprefpagewidget.h2
-rw-r--r--plugins/search/htmlpart.cpp4
-rw-r--r--plugins/search/htmlpart.h2
-rw-r--r--plugins/search/searchplugin.cpp4
-rw-r--r--plugins/search/searchplugin.h2
-rw-r--r--plugins/search/searchprefpage.cpp6
-rw-r--r--plugins/search/searchprefpage.h4
-rw-r--r--plugins/stats/StatsPluginPrefs.cc4
-rw-r--r--plugins/stats/StatsPluginPrefs.h2
-rw-r--r--plugins/stats/statsplugin.cc8
-rw-r--r--plugins/stats/statsplugin.h4
-rw-r--r--plugins/upnp/upnpplugin.cpp4
-rw-r--r--plugins/upnp/upnpplugin.h2
-rw-r--r--plugins/upnp/upnpprefpage.cpp4
-rw-r--r--plugins/upnp/upnpprefpage.h2
-rw-r--r--plugins/upnp/upnpprefwidget.cpp4
-rw-r--r--plugins/upnp/upnpprefwidget.h2
-rw-r--r--plugins/webinterface/webinterfaceplugin.cpp4
-rw-r--r--plugins/webinterface/webinterfaceplugin.h2
-rw-r--r--plugins/webinterface/webinterfaceprefpage.cpp4
-rw-r--r--plugins/webinterface/webinterfaceprefpage.h2
-rw-r--r--plugins/webinterface/webinterfaceprefwidget.cpp2
-rw-r--r--plugins/webinterface/webinterfaceprefwidget.h2
-rw-r--r--plugins/webinterface/www/coldmilk/rest.php2
-rw-r--r--plugins/zeroconf/zeroconfplugin.cpp4
-rw-r--r--plugins/zeroconf/zeroconfplugin.h2
100 files changed, 157 insertions, 157 deletions
diff --git a/plugins/infowidget/availabilitychunkbar.cpp b/plugins/infowidget/availabilitychunkbar.cpp
index 23c4dba..7f26efa 100644
--- a/plugins/infowidget/availabilitychunkbar.cpp
+++ b/plugins/infowidget/availabilitychunkbar.cpp
@@ -27,7 +27,7 @@
namespace kt
{
-AvailabilityChunkBar::AvailabilityChunkBar(TQWidget* tqparent, const char* name): ChunkBar(tqparent, name)
+AvailabilityChunkBar::AvailabilityChunkBar(TQWidget* parent, const char* name): ChunkBar(parent, name)
{
TQToolTip::add(this, i18n("<img src=\"available_color\">&nbsp; - Available Chunks<br><img src=\"unavailable_color\">&nbsp; - Unavailable Chunks<br><img src=\"excluded_color\">&nbsp; - Excluded Chunks"));
}
diff --git a/plugins/infowidget/availabilitychunkbar.h b/plugins/infowidget/availabilitychunkbar.h
index 31a5b65..650b6a6 100644
--- a/plugins/infowidget/availabilitychunkbar.h
+++ b/plugins/infowidget/availabilitychunkbar.h
@@ -33,7 +33,7 @@ namespace kt
Q_OBJECT
TQ_OBJECT
public:
- AvailabilityChunkBar(TQWidget* tqparent, const char* name);
+ AvailabilityChunkBar(TQWidget* parent, const char* name);
virtual ~AvailabilityChunkBar();
virtual const bt::BitSet & getBitSet() const;
diff --git a/plugins/infowidget/chunkbar.cpp b/plugins/infowidget/chunkbar.cpp
index 48f0aac..ad6dfd6 100644
--- a/plugins/infowidget/chunkbar.cpp
+++ b/plugins/infowidget/chunkbar.cpp
@@ -83,8 +83,8 @@ namespace kt
factory->setImage("unavailable_color", unavailable);
}
- ChunkBar::ChunkBar(TQWidget *tqparent, const char *name)
- : TQFrame(tqparent, name),curr_tc(0)
+ ChunkBar::ChunkBar(TQWidget *parent, const char *name)
+ : TQFrame(parent, name),curr_tc(0)
{
setFrameShape(StyledPanel);
setFrameShadow(Sunken);
diff --git a/plugins/infowidget/chunkbar.h b/plugins/infowidget/chunkbar.h
index 32366c3..ef078a7 100644
--- a/plugins/infowidget/chunkbar.h
+++ b/plugins/infowidget/chunkbar.h
@@ -52,7 +52,7 @@ namespace kt
Q_OBJECT
TQ_OBJECT
public:
- ChunkBar(TQWidget *tqparent = 0, const char *name = 0);
+ ChunkBar(TQWidget *parent = 0, const char *name = 0);
virtual ~ChunkBar();
void setTC(kt::TorrentInterface* tc);
diff --git a/plugins/infowidget/chunkdownloadview.cpp b/plugins/infowidget/chunkdownloadview.cpp
index cec3386..eaed47e 100644
--- a/plugins/infowidget/chunkdownloadview.cpp
+++ b/plugins/infowidget/chunkdownloadview.cpp
@@ -69,8 +69,8 @@ namespace kt
}
- ChunkDownloadView::ChunkDownloadView(TQWidget *tqparent, const char *name)
- : ChunkDownloadViewBase(tqparent, name)
+ ChunkDownloadView::ChunkDownloadView(TQWidget *parent, const char *name)
+ : ChunkDownloadViewBase(parent, name)
{
m_list_view->setShowSortIndicator(true);
m_list_view->setAllColumnsShowFocus(true);
diff --git a/plugins/infowidget/chunkdownloadview.h b/plugins/infowidget/chunkdownloadview.h
index 860052d..cc57d5b 100644
--- a/plugins/infowidget/chunkdownloadview.h
+++ b/plugins/infowidget/chunkdownloadview.h
@@ -51,7 +51,7 @@ namespace kt
TQMap<kt::ChunkDownloadInterface*,ChunkDownloadViewItem*> items;
kt::TorrentInterface* curr_tc;
public:
- ChunkDownloadView(TQWidget *tqparent = 0, const char *name = 0);
+ ChunkDownloadView(TQWidget *parent = 0, const char *name = 0);
virtual ~ChunkDownloadView();
void saveLayout(KConfig* cfg,const TQString & group_name);
diff --git a/plugins/infowidget/downloadedchunkbar.cpp b/plugins/infowidget/downloadedchunkbar.cpp
index 6e6fe9a..4d72a60 100644
--- a/plugins/infowidget/downloadedchunkbar.cpp
+++ b/plugins/infowidget/downloadedchunkbar.cpp
@@ -24,8 +24,8 @@
namespace kt
{
- DownloadedChunkBar::DownloadedChunkBar(TQWidget* tqparent, const char* name)
- : ChunkBar(tqparent,name)
+ DownloadedChunkBar::DownloadedChunkBar(TQWidget* parent, const char* name)
+ : ChunkBar(parent,name)
{
show_excluded = true;
}
diff --git a/plugins/infowidget/downloadedchunkbar.h b/plugins/infowidget/downloadedchunkbar.h
index 2b9fce1..c2f1bcf 100644
--- a/plugins/infowidget/downloadedchunkbar.h
+++ b/plugins/infowidget/downloadedchunkbar.h
@@ -32,7 +32,7 @@ namespace kt
Q_OBJECT
TQ_OBJECT
public:
- DownloadedChunkBar(TQWidget* tqparent, const char* name);
+ DownloadedChunkBar(TQWidget* parent, const char* name);
virtual ~DownloadedChunkBar();
virtual const bt::BitSet & getBitSet() const;
diff --git a/plugins/infowidget/fileview.cpp b/plugins/infowidget/fileview.cpp
index 9c64960..b8d371f 100644
--- a/plugins/infowidget/fileview.cpp
+++ b/plugins/infowidget/fileview.cpp
@@ -40,8 +40,8 @@ using namespace bt;
namespace kt
{
- FileView::FileView(TQWidget *tqparent, const char *name)
- : KListView(tqparent, name),curr_tc(0),multi_root(0),pending_fill(0),next_fill_item(0)
+ FileView::FileView(TQWidget *parent, const char *name)
+ : KListView(parent, name),curr_tc(0),multi_root(0),pending_fill(0),next_fill_item(0)
{
setFrameShape(TQFrame::NoFrame);
addColumn( i18n( "File" ) );
diff --git a/plugins/infowidget/fileview.h b/plugins/infowidget/fileview.h
index 0e06eba..8e9555d 100644
--- a/plugins/infowidget/fileview.h
+++ b/plugins/infowidget/fileview.h
@@ -37,7 +37,7 @@ namespace kt
Q_OBJECT
TQ_OBJECT
public:
- FileView(TQWidget *tqparent = 0, const char *name = 0);
+ FileView(TQWidget *parent = 0, const char *name = 0);
virtual ~FileView();
void update();
diff --git a/plugins/infowidget/floatspinbox.cpp b/plugins/infowidget/floatspinbox.cpp
index d498d7d..35f5c42 100644
--- a/plugins/infowidget/floatspinbox.cpp
+++ b/plugins/infowidget/floatspinbox.cpp
@@ -28,10 +28,10 @@
kt::FloatSpinBox::FloatSpinBox(
- TQWidget * tqparent,
+ TQWidget * parent,
const char * name
)
- :TQSpinBox( -100, 100, 1, tqparent, name),
+ :TQSpinBox( -100, 100, 1, parent, name),
m_precision_digits( 2 ),
m_value(0.0f),
m_minValue(0.0f),
@@ -48,10 +48,10 @@ kt::FloatSpinBox::FloatSpinBox(
kt::FloatSpinBox::FloatSpinBox(
int precision,
- TQWidget * tqparent,
+ TQWidget * parent,
const char * name
)
- :TQSpinBox( -100, 100, 1, tqparent, name),
+ :TQSpinBox( -100, 100, 1, parent, name),
m_precision_digits( precision ),
m_value(0.0f),
m_minValue(0.0f),
@@ -71,10 +71,10 @@ kt::FloatSpinBox::FloatSpinBox(
float maxValue,
float step,
int precision,
- TQWidget * tqparent,
+ TQWidget * parent,
const char * name
)
- :TQSpinBox( -100, 100, 1, tqparent, name),
+ :TQSpinBox( -100, 100, 1, parent, name),
m_precision_digits( precision ),
m_value(0.0f),
m_minValue(minValue),
diff --git a/plugins/infowidget/floatspinbox.h b/plugins/infowidget/floatspinbox.h
index 8aa4dc8..515634b 100644
--- a/plugins/infowidget/floatspinbox.h
+++ b/plugins/infowidget/floatspinbox.h
@@ -40,10 +40,10 @@ namespace kt
Q_OBJECT
TQ_OBJECT
public:
- FloatSpinBox( TQWidget* tqparent=0, const char* name=0 );
- FloatSpinBox( int precision = 2, TQWidget* tqparent=0, const char* name=0 );
+ FloatSpinBox( TQWidget* parent=0, const char* name=0 );
+ FloatSpinBox( int precision = 2, TQWidget* parent=0, const char* name=0 );
FloatSpinBox( float minValue, float maxValue, float step = 0.5, int precision = 2,
- TQWidget* tqparent=0, const char* name=0 );
+ TQWidget* parent=0, const char* name=0 );
virtual ~FloatSpinBox();
TQString mapValueToText( int value );
diff --git a/plugins/infowidget/infowidgetplugin.cpp b/plugins/infowidget/infowidgetplugin.cpp
index cbd30ef..8928841 100644
--- a/plugins/infowidget/infowidgetplugin.cpp
+++ b/plugins/infowidget/infowidgetplugin.cpp
@@ -47,8 +47,8 @@ namespace kt
{
- InfoWidgetPlugin::InfoWidgetPlugin(TQObject* tqparent, const char* name, const TQStringList& args)
- : Plugin(tqparent, name, args,NAME,i18n("Info Widget"),AUTHOR,EMAIL,
+ InfoWidgetPlugin::InfoWidgetPlugin(TQObject* parent, const char* name, const TQStringList& args)
+ : Plugin(parent, name, args,NAME,i18n("Info Widget"),AUTHOR,EMAIL,
i18n("Shows additional information about a download. Like which chunks have been downloaded, how many seeders and leechers ..."),
"ktinfowidget")
{
diff --git a/plugins/infowidget/infowidgetplugin.h b/plugins/infowidget/infowidgetplugin.h
index cb6702c..0d3f55c 100644
--- a/plugins/infowidget/infowidgetplugin.h
+++ b/plugins/infowidget/infowidgetplugin.h
@@ -44,7 +44,7 @@ namespace kt
Q_OBJECT
TQ_OBJECT
public:
- InfoWidgetPlugin(TQObject* tqparent, const char* name, const TQStringList& args);
+ InfoWidgetPlugin(TQObject* parent, const char* name, const TQStringList& args);
virtual ~InfoWidgetPlugin();
virtual void load();
diff --git a/plugins/infowidget/infowidgetprefpage.cpp b/plugins/infowidget/infowidgetprefpage.cpp
index 2fa7f4e..971b1c3 100644
--- a/plugins/infowidget/infowidgetprefpage.cpp
+++ b/plugins/infowidget/infowidgetprefpage.cpp
@@ -53,9 +53,9 @@ namespace kt
return true;
}
- void InfoWidgetPrefPage::createWidget(TQWidget* tqparent)
+ void InfoWidgetPrefPage::createWidget(TQWidget* parent)
{
- pref = new IWPref(tqparent);
+ pref = new IWPref(parent);
updateData();
}
diff --git a/plugins/infowidget/infowidgetprefpage.h b/plugins/infowidget/infowidgetprefpage.h
index 89ab56b..1274462 100644
--- a/plugins/infowidget/infowidgetprefpage.h
+++ b/plugins/infowidget/infowidgetprefpage.h
@@ -41,7 +41,7 @@ namespace kt
virtual ~InfoWidgetPrefPage();
virtual bool apply();
- virtual void createWidget(TQWidget* tqparent);
+ virtual void createWidget(TQWidget* parent);
virtual void deleteWidget();
virtual void updateData();
diff --git a/plugins/infowidget/iwfiletreediritem.cpp b/plugins/infowidget/iwfiletreediritem.cpp
index c1eee32..c143e7e 100644
--- a/plugins/infowidget/iwfiletreediritem.cpp
+++ b/plugins/infowidget/iwfiletreediritem.cpp
@@ -38,8 +38,8 @@ namespace kt
{
}
- IWFileTreeDirItem::IWFileTreeDirItem(IWFileTreeDirItem* tqparent,const TQString & name)
- : kt::FileTreeDirItem(tqparent,name)
+ IWFileTreeDirItem::IWFileTreeDirItem(IWFileTreeDirItem* parent,const TQString & name)
+ : kt::FileTreeDirItem(parent,name)
{
}
diff --git a/plugins/infowidget/iwfiletreediritem.h b/plugins/infowidget/iwfiletreediritem.h
index 3c26031..1439cbe 100644
--- a/plugins/infowidget/iwfiletreediritem.h
+++ b/plugins/infowidget/iwfiletreediritem.h
@@ -50,7 +50,7 @@ namespace kt
{
public:
IWFileTreeDirItem(KListView* klv,const TQString & name);
- IWFileTreeDirItem(IWFileTreeDirItem* tqparent,const TQString & name);
+ IWFileTreeDirItem(IWFileTreeDirItem* parent,const TQString & name);
virtual ~IWFileTreeDirItem();
/**
diff --git a/plugins/infowidget/localefloatvalidator.cpp b/plugins/infowidget/localefloatvalidator.cpp
index f0c20ae..f61808d 100644
--- a/plugins/infowidget/localefloatvalidator.cpp
+++ b/plugins/infowidget/localefloatvalidator.cpp
@@ -23,8 +23,8 @@
#include <klocale.h>
#include "localefloatvalidator.h"
-kt::LocaleFloatValidator::LocaleFloatValidator( TQObject * tqparent, const char * name )
-:TQValidator(tqparent, name)
+kt::LocaleFloatValidator::LocaleFloatValidator( TQObject * parent, const char * name )
+:TQValidator(parent, name)
{
TQString decimalPoint = TQRegExp::escape(KGlobal::locale()->decimalSymbol());
regexp.setPattern("^-?\\d*(" + decimalPoint + "\\d*)?$");
diff --git a/plugins/infowidget/localefloatvalidator.h b/plugins/infowidget/localefloatvalidator.h
index 3466445..2d9b4db 100644
--- a/plugins/infowidget/localefloatvalidator.h
+++ b/plugins/infowidget/localefloatvalidator.h
@@ -35,7 +35,7 @@ namespace kt{
Q_OBJECT
TQ_OBJECT
public:
- LocaleFloatValidator( TQObject * tqparent, const char *name = 0 );
+ LocaleFloatValidator( TQObject * parent, const char *name = 0 );
virtual TQValidator::State validate( TQString & str, int & pos) const;
private:
diff --git a/plugins/infowidget/peerview.cpp b/plugins/infowidget/peerview.cpp
index a6b0675..35d2024 100644
--- a/plugins/infowidget/peerview.cpp
+++ b/plugins/infowidget/peerview.cpp
@@ -207,8 +207,8 @@ namespace kt
return 0;
}
- PeerView::PeerView(TQWidget *tqparent, const char *name)
- : KListView(tqparent, name)
+ PeerView::PeerView(TQWidget *parent, const char *name)
+ : KListView(parent, name)
{
addColumn(i18n("IP"));
addColumn(i18n("Country"));
diff --git a/plugins/infowidget/peerview.h b/plugins/infowidget/peerview.h
index e7e403b..fbdef37 100644
--- a/plugins/infowidget/peerview.h
+++ b/plugins/infowidget/peerview.h
@@ -59,7 +59,7 @@ namespace kt
TQMap<kt::PeerInterface*,PeerViewItem*> items;
public:
- PeerView(TQWidget *tqparent = 0, const char *name = 0);
+ PeerView(TQWidget *parent = 0, const char *name = 0);
virtual ~PeerView();
public slots:
diff --git a/plugins/infowidget/statustab.cpp b/plugins/infowidget/statustab.cpp
index 0fc6f16..7317437 100644
--- a/plugins/infowidget/statustab.cpp
+++ b/plugins/infowidget/statustab.cpp
@@ -34,8 +34,8 @@
namespace kt
{
- StatusTab::StatusTab(TQWidget* tqparent, const char* name, WFlags fl)
- : StatusTabBase(tqparent,name,fl),curr_tc(0)
+ StatusTab::StatusTab(TQWidget* parent, const char* name, WFlags fl)
+ : StatusTabBase(parent,name,fl),curr_tc(0)
{
TQColorGroup cg = tqcolorGroup();
// do not use hardcoded colors
diff --git a/plugins/infowidget/statustab.h b/plugins/infowidget/statustab.h
index b747596..acfa003 100644
--- a/plugins/infowidget/statustab.h
+++ b/plugins/infowidget/statustab.h
@@ -33,7 +33,7 @@ namespace kt
TQ_OBJECT
public:
- StatusTab(TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 );
+ StatusTab(TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
virtual ~StatusTab();
diff --git a/plugins/infowidget/trackerview.cpp b/plugins/infowidget/trackerview.cpp
index 0c23548..c928a7f 100644
--- a/plugins/infowidget/trackerview.cpp
+++ b/plugins/infowidget/trackerview.cpp
@@ -43,8 +43,8 @@
namespace kt
{
- TrackerView::TrackerView(TQWidget *tqparent, const char *name)
- :TrackerViewBase(tqparent, name), tc(0)
+ TrackerView::TrackerView(TQWidget *parent, const char *name)
+ :TrackerViewBase(parent, name), tc(0)
{
KIconLoader* iload = KGlobal::iconLoader();
btnUpdate->setIconSet(iload->loadIconSet("apply", KIcon::Small));
diff --git a/plugins/infowidget/trackerview.h b/plugins/infowidget/trackerview.h
index 9499e4b..5b08760 100644
--- a/plugins/infowidget/trackerview.h
+++ b/plugins/infowidget/trackerview.h
@@ -37,7 +37,7 @@ namespace kt
Q_OBJECT
TQ_OBJECT
public:
- TrackerView(TQWidget *tqparent = 0, const char *name = 0);
+ TrackerView(TQWidget *parent = 0, const char *name = 0);
virtual ~TrackerView();
void update();
diff --git a/plugins/ipfilter/convertdialog.cpp b/plugins/ipfilter/convertdialog.cpp
index c8fef33..8c9cf5a 100644
--- a/plugins/ipfilter/convertdialog.cpp
+++ b/plugins/ipfilter/convertdialog.cpp
@@ -74,8 +74,8 @@ namespace kt
return block;
}
- ConvertDialog::ConvertDialog( IPFilterPlugin* p, TQWidget *tqparent, const char *name )
- : ConvertingDlg( tqparent, name )
+ ConvertDialog::ConvertDialog( IPFilterPlugin* p, TQWidget *parent, const char *name )
+ : ConvertingDlg( parent, name )
{
m_plugin = p;
btnClose->setText(i18n("Convert"));
diff --git a/plugins/ipfilter/convertdialog.h b/plugins/ipfilter/convertdialog.h
index 53eab64..5c170ea 100644
--- a/plugins/ipfilter/convertdialog.h
+++ b/plugins/ipfilter/convertdialog.h
@@ -33,7 +33,7 @@ namespace kt
TQ_OBJECT
public:
- ConvertDialog( IPFilterPlugin* p, TQWidget *tqparent = 0, const char *name = 0 );
+ ConvertDialog( IPFilterPlugin* p, TQWidget *parent = 0, const char *name = 0 );
public slots:
virtual void btnClose_clicked();
diff --git a/plugins/ipfilter/ipblockingprefpage.cpp b/plugins/ipfilter/ipblockingprefpage.cpp
index 41d427d..210e8c5 100644
--- a/plugins/ipfilter/ipblockingprefpage.cpp
+++ b/plugins/ipfilter/ipblockingprefpage.cpp
@@ -55,7 +55,7 @@ using namespace bt;
namespace kt
{
- IPBlockingPrefPageWidget::IPBlockingPrefPageWidget(TQWidget* tqparent) : IPBlockingPref(tqparent)
+ IPBlockingPrefPageWidget::IPBlockingPrefPageWidget(TQWidget* parent) : IPBlockingPref(parent)
{
m_url->setURL(IPBlockingPluginSettings::filterURL());
if (m_url->url() == "")
@@ -240,9 +240,9 @@ namespace kt
return true;
}
- void IPBlockingPrefPage::createWidget(TQWidget* tqparent)
+ void IPBlockingPrefPage::createWidget(TQWidget* parent)
{
- widget = new IPBlockingPrefPageWidget(tqparent);
+ widget = new IPBlockingPrefPageWidget(parent);
widget->setPlugin(m_plugin);
widget->setPrefPage(this);
}
diff --git a/plugins/ipfilter/ipblockingprefpage.h b/plugins/ipfilter/ipblockingprefpage.h
index 7626bea..1e6d19e 100644
--- a/plugins/ipfilter/ipblockingprefpage.h
+++ b/plugins/ipfilter/ipblockingprefpage.h
@@ -41,7 +41,7 @@ namespace kt
class IPBlockingPrefPageWidget : public IPBlockingPref
{
public:
- IPBlockingPrefPageWidget(TQWidget *tqparent = 0);
+ IPBlockingPrefPageWidget(TQWidget *parent = 0);
void apply();
void convert();
void setPlugin(IPFilterPlugin* p);
@@ -70,7 +70,7 @@ namespace kt
virtual ~IPBlockingPrefPage();
virtual bool apply();
- virtual void createWidget(TQWidget* tqparent);
+ virtual void createWidget(TQWidget* parent);
virtual void updateData();
virtual void deleteWidget();
diff --git a/plugins/ipfilter/ipfilterplugin.cpp b/plugins/ipfilter/ipfilterplugin.cpp
index 8381226..96f71bf 100644
--- a/plugins/ipfilter/ipfilterplugin.cpp
+++ b/plugins/ipfilter/ipfilterplugin.cpp
@@ -42,8 +42,8 @@ namespace kt
const TQString EMAIL = "ivasic@gmail.com";
const TQString DESCRIPTION = i18n("Filters out unwanted peers based on their IP address");
- IPFilterPlugin::IPFilterPlugin(TQObject* tqparent, const char* name, const TQStringList& args)
- : Plugin(tqparent, name, args,NAME,i18n("IP Filter"),AUTHOR,EMAIL,DESCRIPTION,"filter")
+ IPFilterPlugin::IPFilterPlugin(TQObject* parent, const char* name, const TQStringList& args)
+ : Plugin(parent, name, args,NAME,i18n("IP Filter"),AUTHOR,EMAIL,DESCRIPTION,"filter")
{
// setXMLFile("ktpluginui.rc");
level1 = 0;
diff --git a/plugins/ipfilter/ipfilterplugin.h b/plugins/ipfilter/ipfilterplugin.h
index d016ee9..c434b2d 100644
--- a/plugins/ipfilter/ipfilterplugin.h
+++ b/plugins/ipfilter/ipfilterplugin.h
@@ -44,7 +44,7 @@ namespace kt
Q_OBJECT
TQ_OBJECT
public:
- IPFilterPlugin(TQObject* tqparent, const char* name, const TQStringList& args);
+ IPFilterPlugin(TQObject* parent, const char* name, const TQStringList& args);
virtual ~IPFilterPlugin();
virtual void load();
diff --git a/plugins/logviewer/logprefpage.cpp b/plugins/logviewer/logprefpage.cpp
index b49c4ce..6cc6ce8 100644
--- a/plugins/logviewer/logprefpage.cpp
+++ b/plugins/logviewer/logprefpage.cpp
@@ -46,9 +46,9 @@ namespace kt
return true;
}
- void LogPrefPage::createWidget(TQWidget* tqparent)
+ void LogPrefPage::createWidget(TQWidget* parent)
{
- m_widget = new LogPrefWidget(tqparent);
+ m_widget = new LogPrefWidget(parent);
}
void LogPrefPage::updateData()
diff --git a/plugins/logviewer/logprefpage.h b/plugins/logviewer/logprefpage.h
index cd8e6a8..1176d92 100644
--- a/plugins/logviewer/logprefpage.h
+++ b/plugins/logviewer/logprefpage.h
@@ -38,7 +38,7 @@ namespace kt
virtual ~LogPrefPage();
virtual bool apply();
- virtual void createWidget(TQWidget* tqparent);
+ virtual void createWidget(TQWidget* parent);
virtual void updateData();
virtual void deleteWidget();
diff --git a/plugins/logviewer/logprefwidget.cpp b/plugins/logviewer/logprefwidget.cpp
index 215bce6..46ea88d 100644
--- a/plugins/logviewer/logprefwidget.cpp
+++ b/plugins/logviewer/logprefwidget.cpp
@@ -31,8 +31,8 @@
namespace kt
{
- LogPrefWidget::LogPrefWidget(TQWidget *tqparent, const char *name)
- :LogPrefWidgetBase(tqparent, name)
+ LogPrefWidget::LogPrefWidget(TQWidget *parent, const char *name)
+ :LogPrefWidgetBase(parent, name)
{
m_sysgen->setCurrentItem(getLevel(LogViewerPluginSettings::sysGEN()));
m_syscon->setCurrentItem(getLevel(LogViewerPluginSettings::sysCON()));
diff --git a/plugins/logviewer/logprefwidget.h b/plugins/logviewer/logprefwidget.h
index 4bb1030..efd7dc6 100644
--- a/plugins/logviewer/logprefwidget.h
+++ b/plugins/logviewer/logprefwidget.h
@@ -29,7 +29,7 @@ namespace kt
Q_OBJECT
TQ_OBJECT
public:
- LogPrefWidget(TQWidget *tqparent = 0, const char *name = 0);
+ LogPrefWidget(TQWidget *parent = 0, const char *name = 0);
bool apply();
private:
diff --git a/plugins/logviewer/logviewer.cpp b/plugins/logviewer/logviewer.cpp
index 916af8e..ac3e02e 100644
--- a/plugins/logviewer/logviewer.cpp
+++ b/plugins/logviewer/logviewer.cpp
@@ -41,8 +41,8 @@ namespace kt
const TQString & msg() const {return str;}
};
- LogViewer::LogViewer(TQWidget *tqparent, const char *name)
- : KTextBrowser(tqparent, name), LogMonitorInterface()
+ LogViewer::LogViewer(TQWidget *parent, const char *name)
+ : KTextBrowser(parent, name), LogMonitorInterface()
{
/*
IMPORTANT: use LogText mode, so that setMaxLogLines will work, if not everything will be kept in memory.
diff --git a/plugins/logviewer/logviewer.h b/plugins/logviewer/logviewer.h
index ced8bf0..80c37f4 100644
--- a/plugins/logviewer/logviewer.h
+++ b/plugins/logviewer/logviewer.h
@@ -34,7 +34,7 @@ namespace kt
Q_OBJECT
TQ_OBJECT
public:
- LogViewer(TQWidget *tqparent = 0, const char *name = 0);
+ LogViewer(TQWidget *parent = 0, const char *name = 0);
virtual ~LogViewer();
virtual void message(const TQString& line, unsigned int arg);
diff --git a/plugins/logviewer/logviewerplugin.cpp b/plugins/logviewer/logviewerplugin.cpp
index 5df9fac..4c11680 100644
--- a/plugins/logviewer/logviewerplugin.cpp
+++ b/plugins/logviewer/logviewerplugin.cpp
@@ -40,8 +40,8 @@ K_EXPORT_COMPONENT_FACTORY(ktlogviewerplugin,KGenericFactory<kt::LogViewerPlugin
namespace kt
{
- LogViewerPlugin::LogViewerPlugin(TQObject* tqparent, const char* qt_name, const TQStringList& args)
- : Plugin(tqparent, qt_name, args, NAME,i18n("Log Viewer"), AUTHOR, EMAIL,
+ LogViewerPlugin::LogViewerPlugin(TQObject* parent, const char* qt_name, const TQStringList& args)
+ : Plugin(parent, qt_name, args, NAME,i18n("Log Viewer"), AUTHOR, EMAIL,
i18n("Displays ktorrent logging output"),"log")
{
lv = 0;
diff --git a/plugins/logviewer/logviewerplugin.h b/plugins/logviewer/logviewerplugin.h
index 238121f..3596148 100644
--- a/plugins/logviewer/logviewerplugin.h
+++ b/plugins/logviewer/logviewerplugin.h
@@ -37,7 +37,7 @@ namespace kt
Q_OBJECT
TQ_OBJECT
public:
- LogViewerPlugin(TQObject* tqparent, const char* qt_name, const TQStringList& args);
+ LogViewerPlugin(TQObject* parent, const char* qt_name, const TQStringList& args);
virtual ~LogViewerPlugin();
virtual void load();
diff --git a/plugins/partfileimport/importdialog.cpp b/plugins/partfileimport/importdialog.cpp
index 5ca35c4..d7f92d0 100644
--- a/plugins/partfileimport/importdialog.cpp
+++ b/plugins/partfileimport/importdialog.cpp
@@ -42,8 +42,8 @@ using namespace bt;
namespace kt
{
- ImportDialog::ImportDialog(CoreInterface* core,TQWidget* tqparent, const char* name, bool modal, WFlags fl)
- : ImportDlgBase(tqparent,name, modal,fl),DataCheckerListener(false),core(core)
+ ImportDialog::ImportDialog(CoreInterface* core,TQWidget* parent, const char* name, bool modal, WFlags fl)
+ : ImportDlgBase(parent,name, modal,fl),DataCheckerListener(false),core(core)
{
KURLRequester* r = m_torrent_url;
r->setMode(KFile::File|KFile::LocalOnly);
diff --git a/plugins/partfileimport/importdialog.h b/plugins/partfileimport/importdialog.h
index 9f7db9f..ea39920 100644
--- a/plugins/partfileimport/importdialog.h
+++ b/plugins/partfileimport/importdialog.h
@@ -49,7 +49,7 @@ namespace kt
TQ_OBJECT
public:
- ImportDialog(CoreInterface* core,TQWidget* tqparent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
+ ImportDialog(CoreInterface* core,TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
virtual ~ImportDialog();
public slots:
diff --git a/plugins/partfileimport/partfileimportplugin.cpp b/plugins/partfileimport/partfileimportplugin.cpp
index 04ef8fd..e831a1b 100644
--- a/plugins/partfileimport/partfileimportplugin.cpp
+++ b/plugins/partfileimport/partfileimportplugin.cpp
@@ -39,8 +39,8 @@ K_EXPORT_COMPONENT_FACTORY(ktpartfileimportplugin,KGenericFactory<kt::PartFileIm
namespace kt
{
- PartFileImportPlugin::PartFileImportPlugin(TQObject* tqparent, const char* name, const TQStringList& args)
- : Plugin(tqparent, name, args,NAME,i18n("Import"),AUTHOR,EMAIL,i18n("Imports partially or fully downloaded torrents from other clients"),"ktplugins")
+ PartFileImportPlugin::PartFileImportPlugin(TQObject* parent, const char* name, const TQStringList& args)
+ : Plugin(parent, name, args,NAME,i18n("Import"),AUTHOR,EMAIL,i18n("Imports partially or fully downloaded torrents from other clients"),"ktplugins")
{
setXMLFile("ktpartfileimportpluginui.rc");
import_action = 0;
diff --git a/plugins/partfileimport/partfileimportplugin.h b/plugins/partfileimport/partfileimportplugin.h
index da2874e..ff97ba5 100644
--- a/plugins/partfileimport/partfileimportplugin.h
+++ b/plugins/partfileimport/partfileimportplugin.h
@@ -35,7 +35,7 @@ namespace kt
Q_OBJECT
TQ_OBJECT
public:
- PartFileImportPlugin(TQObject* tqparent, const char* name, const TQStringList& args);
+ PartFileImportPlugin(TQObject* parent, const char* name, const TQStringList& args);
virtual ~PartFileImportPlugin();
virtual void load();
diff --git a/plugins/rssfeed/rss/article.cpp b/plugins/rssfeed/rss/article.cpp
index 476eb09..9e52589 100644
--- a/plugins/rssfeed/rss/article.cpp
+++ b/plugins/rssfeed/rss/article.cpp
@@ -241,9 +241,9 @@ TQString Article::meta(const TQString &key) const
return d->meta[key];
}
-KURLLabel *Article::widget(TQWidget *tqparent, const char *name) const
+KURLLabel *Article::widget(TQWidget *parent, const char *name) const
{
- KURLLabel *label = new KURLLabel(d->link.url(), d->title, tqparent, name);
+ KURLLabel *label = new KURLLabel(d->link.url(), d->title, parent, name);
label->setUseTips(true);
if (!d->description.isNull())
label->setTipText(d->description);
diff --git a/plugins/rssfeed/rss/article.h b/plugins/rssfeed/rss/article.h
index 93f1908..6fbbe44 100644
--- a/plugins/rssfeed/rss/article.h
+++ b/plugins/rssfeed/rss/article.h
@@ -132,7 +132,7 @@ namespace RSS
TQString meta(const TQString &key) const;
/**
- * @param tqparent The tqparent widget for the KURLLabel.
+ * @param parent The parent widget for the KURLLabel.
* @param name A name for the widget which will be used internally.
* @return a widget (a KURLLabel in this case) for the Article.
* This makes building a user-interface which contains the
@@ -145,7 +145,7 @@ namespace RSS
* Note that you have to delete the KURLLabel object returned by
* this method yourself.
*/
- KURLLabel *widget(TQWidget *tqparent = 0, const char *name = 0) const;
+ KURLLabel *widget(TQWidget *parent = 0, const char *name = 0) const;
typedef TQMap<TQString, TQString> MetaInfoMap;
diff --git a/plugins/rssfeed/rss/document.cpp b/plugins/rssfeed/rss/document.cpp
index 812338a..c65e263 100644
--- a/plugins/rssfeed/rss/document.cpp
+++ b/plugins/rssfeed/rss/document.cpp
@@ -150,7 +150,7 @@ Document::Document(const TQDomDocument &doc) : d(new Private)
d->link = elemText;
- /* This is ugly but necessary since RSS 0.90 and 1.0 have a different tqparent
+ /* This is ugly but necessary since RSS 0.90 and 1.0 have a different parent
* node for <image>, <textinput> and <item> than RSS 0.91-0.94 and RSS 2.0.
*/
TQDomNode parentNode;
diff --git a/plugins/rssfeed/rss/tools_p.cpp b/plugins/rssfeed/rss/tools_p.cpp
index fb161e8..cc2d2ab 100644
--- a/plugins/rssfeed/rss/tools_p.cpp
+++ b/plugins/rssfeed/rss/tools_p.cpp
@@ -27,9 +27,9 @@ time_t RSS::parseISO8601Date(const TQString &s)
}
-TQString RSS::extractNode(const TQDomNode &tqparent, const TQString &elemName, bool isInlined)
+TQString RSS::extractNode(const TQDomNode &parent, const TQString &elemName, bool isInlined)
{
- TQDomNode node = tqparent.namedItem(elemName);
+ TQDomNode node = parent.namedItem(elemName);
if (node.isNull())
return TQString();
diff --git a/plugins/rssfeed/rss/tools_p.h b/plugins/rssfeed/rss/tools_p.h
index 1f77171..45e8bdc 100644
--- a/plugins/rssfeed/rss/tools_p.h
+++ b/plugins/rssfeed/rss/tools_p.h
@@ -26,7 +26,7 @@ namespace RSS
unsigned int count;
};
- TQString extractNode(const TQDomNode &tqparent, const TQString &elemName, bool isInlined=true);
+ TQString extractNode(const TQDomNode &parent, const TQString &elemName, bool isInlined=true);
time_t parseISO8601Date(const TQString &s);
}
diff --git a/plugins/rssfeed/rssfeed.cpp b/plugins/rssfeed/rssfeed.cpp
index ef81495..f051f1b 100644
--- a/plugins/rssfeed/rssfeed.cpp
+++ b/plugins/rssfeed/rssfeed.cpp
@@ -54,7 +54,7 @@ namespace kt
startFeed();
}
- RssFeed::RssFeed(TQObject * tqparent) : TQObject(tqparent)
+ RssFeed::RssFeed(TQObject * parent) : TQObject(parent)
{
m_active = false;
m_articleAge = 365;
diff --git a/plugins/rssfeed/rssfeed.h b/plugins/rssfeed/rssfeed.h
index 279862b..5213d8f 100644
--- a/plugins/rssfeed/rssfeed.h
+++ b/plugins/rssfeed/rssfeed.h
@@ -54,7 +54,7 @@ namespace kt
/**
* Default constructor.
*/
- RssFeed(TQObject * tqparent = 0);
+ RssFeed(TQObject * parent = 0);
RssFeed(KURL feedUrl, TQString title = "", bool active = false, int articleAge = 3, bool ignoreTTL = false, TQTime autoRefresh = TQTime());
RssFeed(const RssFeed &other);
RssFeed &operator=(const RssFeed &other);
diff --git a/plugins/rssfeed/rssfeedmanager.cpp b/plugins/rssfeed/rssfeedmanager.cpp
index f9d0a2f..20f81a6 100644
--- a/plugins/rssfeed/rssfeedmanager.cpp
+++ b/plugins/rssfeed/rssfeedmanager.cpp
@@ -60,7 +60,7 @@ using namespace bt;
namespace kt
{
- RssFeedManager::RssFeedManager(CoreInterface* core, TQWidget * tqparent) : RssFeedWidget(tqparent)
+ RssFeedManager::RssFeedManager(CoreInterface* core, TQWidget * parent) : RssFeedWidget(parent)
{
//Construct the manager
m_core = core;
diff --git a/plugins/rssfeed/rssfeedmanager.h b/plugins/rssfeed/rssfeedmanager.h
index 2d3e7cd..bfb0660 100644
--- a/plugins/rssfeed/rssfeedmanager.h
+++ b/plugins/rssfeed/rssfeedmanager.h
@@ -55,7 +55,7 @@ namespace kt
* @param core Pointer to core interface
* @param openSilently Wheather to open torrent silently or nor.
*/
- RssFeedManager(CoreInterface* core, TQWidget * tqparent = 0);
+ RssFeedManager(CoreInterface* core, TQWidget * parent = 0);
~RssFeedManager();
public slots:
diff --git a/plugins/rssfeed/rssfeedplugin.cpp b/plugins/rssfeed/rssfeedplugin.cpp
index 66761cc..fbe83e4 100644
--- a/plugins/rssfeed/rssfeedplugin.cpp
+++ b/plugins/rssfeed/rssfeedplugin.cpp
@@ -47,8 +47,8 @@ namespace kt
const TQString EMAIL = "skyphyr@gmail.com";
const TQString DESCRIPTION = i18n("Automatically scans RSS feeds for torrent matching regular expressions and loads them.");
- RssFeedPlugin::RssFeedPlugin(TQObject* tqparent, const char* name, const TQStringList& args)
- : Plugin(tqparent, name, args,NAME,i18n("RSS Feeds"),AUTHOR,EMAIL,DESCRIPTION,"player_playlist")
+ RssFeedPlugin::RssFeedPlugin(TQObject* parent, const char* name, const TQStringList& args)
+ : Plugin(parent, name, args,NAME,i18n("RSS Feeds"),AUTHOR,EMAIL,DESCRIPTION,"player_playlist")
{
m_rssFeedManager = 0;
}
diff --git a/plugins/rssfeed/rssfeedplugin.h b/plugins/rssfeed/rssfeedplugin.h
index 991727f..1fa0ff5 100644
--- a/plugins/rssfeed/rssfeedplugin.h
+++ b/plugins/rssfeed/rssfeedplugin.h
@@ -39,7 +39,7 @@ namespace kt
Q_OBJECT
TQ_OBJECT
public:
- RssFeedPlugin(TQObject* tqparent, const char* name, const TQStringList& args);
+ RssFeedPlugin(TQObject* parent, const char* name, const TQStringList& args);
virtual ~RssFeedPlugin();
virtual void load();
diff --git a/plugins/rssfeed/rssfilter.cpp b/plugins/rssfeed/rssfilter.cpp
index 8210bcc..51ac2ff 100644
--- a/plugins/rssfeed/rssfilter.cpp
+++ b/plugins/rssfeed/rssfilter.cpp
@@ -53,7 +53,7 @@ namespace kt
return m_link==other.link() && m_season==other.season() && m_episode==other.episode();
}
- RssFilter::RssFilter(TQObject * tqparent) : TQObject(tqparent)
+ RssFilter::RssFilter(TQObject * parent) : TQObject(parent)
{
m_title = "New";
m_active = false;
diff --git a/plugins/rssfeed/rssfilter.h b/plugins/rssfeed/rssfilter.h
index 2bf3dca..53695f5 100644
--- a/plugins/rssfeed/rssfilter.h
+++ b/plugins/rssfeed/rssfilter.h
@@ -75,7 +75,7 @@ namespace kt
/**
* Default constructor.
*/
- RssFilter(TQObject * tqparent = 0);
+ RssFilter(TQObject * parent = 0);
RssFilter(const RssFilter &other);
RssFilter(TQString title, bool active, TQStringList regexps, bool series, bool sansEpisode,
int minSeason, int minEpisode, int maxSeason, int maxEpisode,
diff --git a/plugins/rssfeed/rsslinkdownloader.cpp b/plugins/rssfeed/rsslinkdownloader.cpp
index dd754e5..972a220 100644
--- a/plugins/rssfeed/rsslinkdownloader.cpp
+++ b/plugins/rssfeed/rsslinkdownloader.cpp
@@ -33,7 +33,7 @@ using namespace bt;
namespace kt
{
- RssLinkDownloader::RssLinkDownloader(CoreInterface* core, TQString link, RssFilter * filter, TQObject * tqparent) : TQObject (tqparent)
+ RssLinkDownloader::RssLinkDownloader(CoreInterface* core, TQString link, RssFilter * filter, TQObject * parent) : TQObject (parent)
{
//tempFile.setAutoDelete(true);
m_core = core;
diff --git a/plugins/rssfeed/rsslinkdownloader.h b/plugins/rssfeed/rsslinkdownloader.h
index 0c5541f..2bd8bf1 100644
--- a/plugins/rssfeed/rsslinkdownloader.h
+++ b/plugins/rssfeed/rsslinkdownloader.h
@@ -53,7 +53,7 @@ namespace kt
/**
* Default constructor.
*/
- RssLinkDownloader(CoreInterface* core, TQString link, RssFilter * filter = 0, TQObject * tqparent = 0);
+ RssLinkDownloader(CoreInterface* core, TQString link, RssFilter * filter = 0, TQObject * parent = 0);
~RssLinkDownloader();
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();
};
diff --git a/plugins/scheduler/bwsprefpagewidget.cpp b/plugins/scheduler/bwsprefpagewidget.cpp
index 96e0613..95f72d6 100644
--- a/plugins/scheduler/bwsprefpagewidget.cpp
+++ b/plugins/scheduler/bwsprefpagewidget.cpp
@@ -45,8 +45,8 @@ namespace kt
/* PREF PAGE WIDGET --------------------------------------------------------*/
- BWSPrefPageWidget::BWSPrefPageWidget(TQWidget* tqparent, const char* name, WFlags fl)
- : BWSPage(tqparent,name,fl)
+ BWSPrefPageWidget::BWSPrefPageWidget(TQWidget* parent, const char* name, WFlags fl)
+ : BWSPage(parent,name,fl)
{
loadDefault();
diff --git a/plugins/scheduler/bwsprefpagewidget.h b/plugins/scheduler/bwsprefpagewidget.h
index 7529887..840311c 100644
--- a/plugins/scheduler/bwsprefpagewidget.h
+++ b/plugins/scheduler/bwsprefpagewidget.h
@@ -36,7 +36,7 @@ namespace kt
Q_OBJECT
TQ_OBJECT
public:
- BWSPrefPageWidget(TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 );
+ BWSPrefPageWidget(TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
~BWSPrefPageWidget();
/*$PUBLIC_FUNCTIONS$*/
diff --git a/plugins/scheduler/bwswidget.cpp b/plugins/scheduler/bwswidget.cpp
index a4180ab..dd9728f 100644
--- a/plugins/scheduler/bwswidget.cpp
+++ b/plugins/scheduler/bwswidget.cpp
@@ -34,8 +34,8 @@
namespace kt
{
- BWSWidget::BWSWidget(TQWidget* tqparent, const char* name, bool useColors)
- : TQTable(tqparent,name), m_leftCategory(1), m_rightCategory(0), draw_focus(true), right_click(false), use_colors(useColors)
+ BWSWidget::BWSWidget(TQWidget* parent, const char* name, bool useColors)
+ : TQTable(parent,name), m_leftCategory(1), m_rightCategory(0), draw_focus(true), right_click(false), use_colors(useColors)
{
use_colors = SchedulerPluginSettings::useColors();
diff --git a/plugins/scheduler/bwswidget.h b/plugins/scheduler/bwswidget.h
index c313dd1..781517a 100644
--- a/plugins/scheduler/bwswidget.h
+++ b/plugins/scheduler/bwswidget.h
@@ -46,7 +46,7 @@ namespace kt
Q_OBJECT
TQ_OBJECT
public:
- BWSWidget(TQWidget* tqparent = 0, const char* name = 0, bool useColors = true);
+ BWSWidget(TQWidget* parent = 0, const char* name = 0, bool useColors = true);
~BWSWidget();
///Repaints the whole widget
diff --git a/plugins/scheduler/schedulerplugin.cpp b/plugins/scheduler/schedulerplugin.cpp
index 9177ebb..ddef7c8 100644
--- a/plugins/scheduler/schedulerplugin.cpp
+++ b/plugins/scheduler/schedulerplugin.cpp
@@ -55,8 +55,8 @@ namespace kt
const TQString EMAIL = "ivasic@gmail.com";
const TQString DESCRIPTION = i18n("Bandwidth scheduling plugin");
- SchedulerPlugin::SchedulerPlugin(TQObject* tqparent, const char* name, const TQStringList& args)
- : Plugin(tqparent, name, args,NAME,i18n("Bandwidth Scheduler"),AUTHOR,EMAIL,DESCRIPTION, "clock")
+ SchedulerPlugin::SchedulerPlugin(TQObject* parent, const char* name, const TQStringList& args)
+ : Plugin(parent, name, args,NAME,i18n("Bandwidth Scheduler"),AUTHOR,EMAIL,DESCRIPTION, "clock")
{
setXMLFile("ktschedulerpluginui.rc");
bws_action = 0;
diff --git a/plugins/scheduler/schedulerplugin.h b/plugins/scheduler/schedulerplugin.h
index 96dad21..8d228c3 100644
--- a/plugins/scheduler/schedulerplugin.h
+++ b/plugins/scheduler/schedulerplugin.h
@@ -45,7 +45,7 @@ namespace kt
Q_OBJECT
TQ_OBJECT
public:
- SchedulerPlugin(TQObject* tqparent, const char* name, const TQStringList& args);
+ SchedulerPlugin(TQObject* parent, const char* name, const TQStringList& args);
virtual ~SchedulerPlugin();
virtual void load();
diff --git a/plugins/scheduler/schedulerprefpage.cpp b/plugins/scheduler/schedulerprefpage.cpp
index 076fb5c..8af124b 100644
--- a/plugins/scheduler/schedulerprefpage.cpp
+++ b/plugins/scheduler/schedulerprefpage.cpp
@@ -48,9 +48,9 @@ namespace kt
return true;
}
- void SchedulerPrefPage::createWidget( TQWidget * tqparent )
+ void SchedulerPrefPage::createWidget( TQWidget * parent )
{
- widget = new SchedulerPrefPageWidget(tqparent);
+ widget = new SchedulerPrefPageWidget(parent);
}
void SchedulerPrefPage::updateData()
diff --git a/plugins/scheduler/schedulerprefpage.h b/plugins/scheduler/schedulerprefpage.h
index a2efa21..56fbe3b 100644
--- a/plugins/scheduler/schedulerprefpage.h
+++ b/plugins/scheduler/schedulerprefpage.h
@@ -40,7 +40,7 @@ namespace kt
virtual ~SchedulerPrefPage();
virtual bool apply();
- virtual void createWidget(TQWidget* tqparent);
+ virtual void createWidget(TQWidget* parent);
virtual void updateData();
virtual void deleteWidget();
diff --git a/plugins/scheduler/schedulerprefpagewidget.cpp b/plugins/scheduler/schedulerprefpagewidget.cpp
index ad12e73..65d600b 100644
--- a/plugins/scheduler/schedulerprefpagewidget.cpp
+++ b/plugins/scheduler/schedulerprefpagewidget.cpp
@@ -30,8 +30,8 @@
namespace kt
{
- SchedulerPrefPageWidget::SchedulerPrefPageWidget(TQWidget* tqparent, const char* name, WFlags fl)
- : SchedulerPage(tqparent,name,fl)
+ SchedulerPrefPageWidget::SchedulerPrefPageWidget(TQWidget* parent, const char* name, WFlags fl)
+ : SchedulerPage(parent,name,fl)
{
groupBWS->setEnabled(false);
bool useit = SchedulerPluginSettings::enableBWS();
diff --git a/plugins/scheduler/schedulerprefpagewidget.h b/plugins/scheduler/schedulerprefpagewidget.h
index 5274f3d..567e5d7 100644
--- a/plugins/scheduler/schedulerprefpagewidget.h
+++ b/plugins/scheduler/schedulerprefpagewidget.h
@@ -34,7 +34,7 @@ namespace kt
Q_OBJECT
TQ_OBJECT
public:
- SchedulerPrefPageWidget(TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 );
+ SchedulerPrefPageWidget(TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
~SchedulerPrefPageWidget();
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();
diff --git a/plugins/stats/StatsPluginPrefs.cc b/plugins/stats/StatsPluginPrefs.cc
index 1d501a6..63a853d 100644
--- a/plugins/stats/StatsPluginPrefs.cc
+++ b/plugins/stats/StatsPluginPrefs.cc
@@ -54,9 +54,9 @@ bool StatsPluginPrefs::apply ()
return true;
}
-void StatsPluginPrefs::createWidget (TQWidget *tqparent)
+void StatsPluginPrefs::createWidget (TQWidget *parent)
{
- pmUi = new StatsPluginPrefsPage(tqparent);
+ pmUi = new StatsPluginPrefsPage(parent);
}
void StatsPluginPrefs::updateData ()
diff --git a/plugins/stats/StatsPluginPrefs.h b/plugins/stats/StatsPluginPrefs.h
index 2eabcac..1d5b4f7 100644
--- a/plugins/stats/StatsPluginPrefs.h
+++ b/plugins/stats/StatsPluginPrefs.h
@@ -55,7 +55,7 @@ class StatsPluginPrefs : public TQObject, public PrefPageInterface
virtual ~StatsPluginPrefs();
virtual bool apply ();
- virtual void createWidget (TQWidget *tqparent);
+ virtual void createWidget (TQWidget *parent);
virtual void updateData ();
virtual void deleteWidget ();
signals:
diff --git a/plugins/stats/statsplugin.cc b/plugins/stats/statsplugin.cc
index 224d736..2980cb3 100644
--- a/plugins/stats/statsplugin.cc
+++ b/plugins/stats/statsplugin.cc
@@ -25,8 +25,8 @@ K_EXPORT_COMPONENT_FACTORY(ktstatsplugin, KGenericFactory<kt::StatsPlugin>("ktst
namespace kt
{
-StatsPlugin::StatsPlugin(TQObject* tqparent, const char* qt_name, const TQStringList& args):
- Plugin(tqparent, qt_name, args, "Statistics", i18n("Statistics"),"Krzysztof Kundzicz", "athantor@gmail.com", i18n("Shows transfers statistics"),"ktimemon"), pmUiSpd(0), pmUiCon(0), pmPrefsUi(0), pmUpdTmr(0)
+StatsPlugin::StatsPlugin(TQObject* parent, const char* qt_name, const TQStringList& args):
+ Plugin(parent, qt_name, args, "Statistics", i18n("Statistics"),"Krzysztof Kundzicz", "athantor@gmail.com", i18n("Shows transfers statistics"),"ktimemon"), pmUiSpd(0), pmUiCon(0), pmPrefsUi(0), pmUpdTmr(0)
{
mUpAvg = std::make_pair(0.0, 0.0);
mDownAvg = std::make_pair(0.0, 0.0);
@@ -46,8 +46,8 @@ void StatsPlugin::load()
mUpdCtr = 1;
mPeerSpdUpdCtr = 1;
- pmUiSpd = new StatsSpd(dynamic_cast<TQWidget *>(tqparent()));
- pmUiCon = new StatsCon(dynamic_cast<TQWidget *>(tqparent()));
+ pmUiSpd = new StatsSpd(dynamic_cast<TQWidget *>(parent()));
+ pmUiCon = new StatsCon(dynamic_cast<TQWidget *>(parent()));
pmPrefsUi = new StatsPluginPrefs();
pmUpdTmr = new TQTimer(this);
diff --git a/plugins/stats/statsplugin.h b/plugins/stats/statsplugin.h
index df482a7..4266d43 100644
--- a/plugins/stats/statsplugin.h
+++ b/plugins/stats/statsplugin.h
@@ -134,11 +134,11 @@ class StatsPlugin : public Plugin
public:
/**
\brief Constructor
- \param tqparent Parent
+ \param parent Parent
\param qt_name
\param args
*/
- StatsPlugin(TQObject* tqparent, const char* qt_name, const TQStringList& args);
+ StatsPlugin(TQObject* parent, const char* qt_name, const TQStringList& args);
///Destructor
virtual ~StatsPlugin();
diff --git a/plugins/upnp/upnpplugin.cpp b/plugins/upnp/upnpplugin.cpp
index 95df507..66ee23c 100644
--- a/plugins/upnp/upnpplugin.cpp
+++ b/plugins/upnp/upnpplugin.cpp
@@ -42,8 +42,8 @@ K_EXPORT_COMPONENT_FACTORY(ktupnpplugin,KGenericFactory<kt::UPnPPlugin>("ktupnpp
namespace kt
{
- UPnPPlugin::UPnPPlugin(TQObject* tqparent, const char* name, const TQStringList& args)
- : Plugin(tqparent, name, args,NAME,i18n("UPnP"),AUTHOR,EMAIL,i18n("Uses UPnP to automatically forward ports on your router"),"ktupnp")
+ UPnPPlugin::UPnPPlugin(TQObject* parent, const char* name, const TQStringList& args)
+ : Plugin(parent, name, args,NAME,i18n("UPnP"),AUTHOR,EMAIL,i18n("Uses UPnP to automatically forward ports on your router"),"ktupnp")
{
sock = 0;
pref = 0;
diff --git a/plugins/upnp/upnpplugin.h b/plugins/upnp/upnpplugin.h
index f6e10f0..54fc619 100644
--- a/plugins/upnp/upnpplugin.h
+++ b/plugins/upnp/upnpplugin.h
@@ -35,7 +35,7 @@ namespace kt
Q_OBJECT
TQ_OBJECT
public:
- UPnPPlugin(TQObject* tqparent, const char* name, const TQStringList& args);
+ UPnPPlugin(TQObject* parent, const char* name, const TQStringList& args);
virtual ~UPnPPlugin();
virtual void load();
diff --git a/plugins/upnp/upnpprefpage.cpp b/plugins/upnp/upnpprefpage.cpp
index aa7a241..bce2285 100644
--- a/plugins/upnp/upnpprefpage.cpp
+++ b/plugins/upnp/upnpprefpage.cpp
@@ -43,9 +43,9 @@ namespace kt
return true;
}
- void UPnPPrefPage::createWidget(TQWidget* tqparent)
+ void UPnPPrefPage::createWidget(TQWidget* parent)
{
- widget = new UPnPPrefWidget(tqparent);
+ widget = new UPnPPrefWidget(parent);
TQObject::connect(sock,TQT_SIGNAL(discovered(UPnPRouter* )),widget,TQT_SLOT(addDevice(UPnPRouter* )));
TQObject::connect(widget,TQT_SIGNAL(rescan()),sock,TQT_SLOT(discover()));
}
diff --git a/plugins/upnp/upnpprefpage.h b/plugins/upnp/upnpprefpage.h
index abba967..b66576e 100644
--- a/plugins/upnp/upnpprefpage.h
+++ b/plugins/upnp/upnpprefpage.h
@@ -46,7 +46,7 @@ namespace kt
virtual ~UPnPPrefPage();
virtual bool apply();
- virtual void createWidget(TQWidget* tqparent);
+ virtual void createWidget(TQWidget* parent);
virtual void deleteWidget();
virtual void updateData();
diff --git a/plugins/upnp/upnpprefwidget.cpp b/plugins/upnp/upnpprefwidget.cpp
index bc05ad4..9b4c453 100644
--- a/plugins/upnp/upnpprefwidget.cpp
+++ b/plugins/upnp/upnpprefwidget.cpp
@@ -37,8 +37,8 @@ using namespace bt;
namespace kt
{
- UPnPPrefWidget::UPnPPrefWidget(TQWidget* tqparent, const char* name, WFlags fl)
- : UPnPWidget(tqparent,name,fl)
+ UPnPPrefWidget::UPnPPrefWidget(TQWidget* parent, const char* name, WFlags fl)
+ : UPnPWidget(parent,name,fl)
{
def_router = 0;
connect(m_forward_btn,TQT_SIGNAL(clicked()),this,TQT_SLOT(onForwardBtnClicked()));
diff --git a/plugins/upnp/upnpprefwidget.h b/plugins/upnp/upnpprefwidget.h
index 4c2c954..4164943 100644
--- a/plugins/upnp/upnpprefwidget.h
+++ b/plugins/upnp/upnpprefwidget.h
@@ -44,7 +44,7 @@ namespace kt
TQ_OBJECT
public:
- UPnPPrefWidget(TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 );
+ UPnPPrefWidget(TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
virtual ~UPnPPrefWidget();
void shutdown(bt::WaitJob* job);
diff --git a/plugins/webinterface/webinterfaceplugin.cpp b/plugins/webinterface/webinterfaceplugin.cpp
index 513f3b8..32cc164 100644
--- a/plugins/webinterface/webinterfaceplugin.cpp
+++ b/plugins/webinterface/webinterfaceplugin.cpp
@@ -40,8 +40,8 @@ K_EXPORT_COMPONENT_FACTORY(ktwebinterfaceplugin,KGenericFactory<kt::WebInterface
using namespace bt;
namespace kt
{
- WebInterfacePlugin::WebInterfacePlugin(TQObject* tqparent, const char* name, const TQStringList& args)
- : Plugin(tqparent, name, args,NAME,i18n("Web Interface"),AUTHOR,EMAIL,i18n("Allow to control ktorrent through browser"),"toggle_log")
+ WebInterfacePlugin::WebInterfacePlugin(TQObject* parent, const char* name, const TQStringList& args)
+ : Plugin(parent, name, args,NAME,i18n("Web Interface"),AUTHOR,EMAIL,i18n("Allow to control ktorrent through browser"),"toggle_log")
{
http_server = 0;
pref=0;
diff --git a/plugins/webinterface/webinterfaceplugin.h b/plugins/webinterface/webinterfaceplugin.h
index 87c0f4d..3121641 100644
--- a/plugins/webinterface/webinterfaceplugin.h
+++ b/plugins/webinterface/webinterfaceplugin.h
@@ -35,7 +35,7 @@ namespace kt
Q_OBJECT
TQ_OBJECT
public:
- WebInterfacePlugin(TQObject* tqparent, const char* name, const TQStringList& args);
+ WebInterfacePlugin(TQObject* parent, const char* name, const TQStringList& args);
virtual ~WebInterfacePlugin();
virtual void load();
diff --git a/plugins/webinterface/webinterfaceprefpage.cpp b/plugins/webinterface/webinterfaceprefpage.cpp
index 1e1bc16..7225afd 100644
--- a/plugins/webinterface/webinterfaceprefpage.cpp
+++ b/plugins/webinterface/webinterfaceprefpage.cpp
@@ -43,9 +43,9 @@ namespace kt
return true;
}
- void WebInterfacePrefPage::createWidget(TQWidget* tqparent)
+ void WebInterfacePrefPage::createWidget(TQWidget* parent)
{
- m_widget = new WebInterfacePrefWidget(tqparent);
+ m_widget = new WebInterfacePrefWidget(parent);
}
void WebInterfacePrefPage::updateData()
diff --git a/plugins/webinterface/webinterfaceprefpage.h b/plugins/webinterface/webinterfaceprefpage.h
index ee796af..9bf606e 100644
--- a/plugins/webinterface/webinterfaceprefpage.h
+++ b/plugins/webinterface/webinterfaceprefpage.h
@@ -41,7 +41,7 @@ namespace kt
virtual ~WebInterfacePrefPage();
virtual bool apply();
- virtual void createWidget(TQWidget* tqparent);
+ virtual void createWidget(TQWidget* parent);
virtual void updateData();
virtual void deleteWidget();
diff --git a/plugins/webinterface/webinterfaceprefwidget.cpp b/plugins/webinterface/webinterfaceprefwidget.cpp
index ccf9555..6f4baed 100644
--- a/plugins/webinterface/webinterfaceprefwidget.cpp
+++ b/plugins/webinterface/webinterfaceprefwidget.cpp
@@ -44,7 +44,7 @@ using namespace bt;
namespace kt
{
-WebInterfacePrefWidget::WebInterfacePrefWidget(TQWidget *tqparent, const char *name):WebInterfacePreference(tqparent,name)
+WebInterfacePrefWidget::WebInterfacePrefWidget(TQWidget *parent, const char *name):WebInterfacePreference(parent,name)
{
port->setValue(WebInterfacePluginSettings::port());
forward->setChecked(WebInterfacePluginSettings::forward());
diff --git a/plugins/webinterface/webinterfaceprefwidget.h b/plugins/webinterface/webinterfaceprefwidget.h
index 52bde80..d670238 100644
--- a/plugins/webinterface/webinterfaceprefwidget.h
+++ b/plugins/webinterface/webinterfaceprefwidget.h
@@ -30,7 +30,7 @@ namespace kt
Q_OBJECT
TQ_OBJECT
public:
- WebInterfacePrefWidget(TQWidget *tqparent = 0, const char *name = 0);
+ WebInterfacePrefWidget(TQWidget *parent = 0, const char *name = 0);
bool apply();
TQCString password;
public slots:
diff --git a/plugins/webinterface/www/coldmilk/rest.php b/plugins/webinterface/www/coldmilk/rest.php
index 91b67a7..bab7e68 100644
--- a/plugins/webinterface/www/coldmilk/rest.php
+++ b/plugins/webinterface/www/coldmilk/rest.php
@@ -203,7 +203,7 @@ class RestInterface {
class KTorrentXML extends DomDocument {
private $root_element;
public function __construct($root, $value = null, $attributes = null) {
- tqparent::__construct('1.0');
+ parent::__construct('1.0');
$this->root_element = $this->createElement($root);
$this->appendChild($this->root_element);
$this->formatOutput = true;
diff --git a/plugins/zeroconf/zeroconfplugin.cpp b/plugins/zeroconf/zeroconfplugin.cpp
index 3427900..d7e68d5 100644
--- a/plugins/zeroconf/zeroconfplugin.cpp
+++ b/plugins/zeroconf/zeroconfplugin.cpp
@@ -37,8 +37,8 @@ using namespace bt;
namespace kt
{
- ZeroConfPlugin::ZeroConfPlugin(TQObject* tqparent, const char* name, const TQStringList& args)
- : Plugin(tqparent, name,args,NAME,i18n("Zeroconf"),AUTHOR,TQString(),i18n("Finds peers running ktorrent on the local network to share torrents with"),"ktplugins")
+ ZeroConfPlugin::ZeroConfPlugin(TQObject* parent, const char* name, const TQStringList& args)
+ : Plugin(parent, name,args,NAME,i18n("Zeroconf"),AUTHOR,TQString(),i18n("Finds peers running ktorrent on the local network to share torrents with"),"ktplugins")
{
services.setAutoDelete(true);
}
diff --git a/plugins/zeroconf/zeroconfplugin.h b/plugins/zeroconf/zeroconfplugin.h
index f658f3e..8888caf 100644
--- a/plugins/zeroconf/zeroconfplugin.h
+++ b/plugins/zeroconf/zeroconfplugin.h
@@ -38,7 +38,7 @@ namespace kt
Q_OBJECT
TQ_OBJECT
public:
- ZeroConfPlugin(TQObject* tqparent, const char* name, const TQStringList& args);
+ ZeroConfPlugin(TQObject* parent, const char* name, const TQStringList& args);
virtual ~ZeroConfPlugin();
virtual void load();