summaryrefslogtreecommitdiffstats
path: root/apps
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 /apps
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 'apps')
-rw-r--r--apps/ktorrent/addpeerwidget.cpp4
-rw-r--r--apps/ktorrent/addpeerwidget.h2
-rw-r--r--apps/ktorrent/fileselectdlg.cpp4
-rw-r--r--apps/ktorrent/fileselectdlg.h2
-rw-r--r--apps/ktorrent/filterbar.cpp4
-rw-r--r--apps/ktorrent/filterbar.h2
-rw-r--r--apps/ktorrent/groups/groupview.cpp16
-rw-r--r--apps/ktorrent/groups/groupview.h8
-rw-r--r--apps/ktorrent/ipfilterwidget.cpp4
-rw-r--r--apps/ktorrent/ipfilterwidget.h2
-rw-r--r--apps/ktorrent/ktorrentview.cpp6
-rw-r--r--apps/ktorrent/ktorrentview.h4
-rw-r--r--apps/ktorrent/ktorrentviewitem.cpp6
-rw-r--r--apps/ktorrent/ktorrentviewitem.h2
-rw-r--r--apps/ktorrent/ktorrentviewmenu.cpp36
-rw-r--r--apps/ktorrent/ktorrentviewmenu.h2
-rw-r--r--apps/ktorrent/newui/button.cpp6
-rw-r--r--apps/ktorrent/newui/button.h2
-rw-r--r--apps/ktorrent/newui/buttonbar.cpp8
-rw-r--r--apps/ktorrent/newui/buttonbar.h4
-rw-r--r--apps/ktorrent/newui/ddockwindow.cpp8
-rw-r--r--apps/ktorrent/newui/ddockwindow.h2
-rw-r--r--apps/ktorrent/newui/dmainwindow.cpp4
-rw-r--r--apps/ktorrent/newui/dmainwindow.h2
-rw-r--r--apps/ktorrent/newui/docksplitter.cpp4
-rw-r--r--apps/ktorrent/newui/docksplitter.h2
-rw-r--r--apps/ktorrent/newui/dtabwidget.cpp4
-rw-r--r--apps/ktorrent/newui/dtabwidget.h2
-rw-r--r--apps/ktorrent/pastedialog.cpp4
-rw-r--r--apps/ktorrent/pastedialog.h2
-rw-r--r--apps/ktorrent/pref.cpp12
-rw-r--r--apps/ktorrent/pref.h6
-rw-r--r--apps/ktorrent/queuedialog.cpp8
-rw-r--r--apps/ktorrent/queuedialog.h4
-rw-r--r--apps/ktorrent/scandialog.cpp4
-rw-r--r--apps/ktorrent/scandialog.h2
-rw-r--r--apps/ktorrent/speedlimitsdlg.cpp4
-rw-r--r--apps/ktorrent/speedlimitsdlg.h2
-rw-r--r--apps/ktorrent/torrentcreatordlg.cpp4
-rw-r--r--apps/ktorrent/torrentcreatordlg.h2
-rw-r--r--apps/ktorrent/trayhoverpopup.cpp4
-rw-r--r--apps/ktorrent/trayhoverpopup.h2
-rw-r--r--apps/ktorrent/trayicon.cpp6
-rw-r--r--apps/ktorrent/trayicon.h4
-rw-r--r--apps/ktorrent/viewmanager.cpp4
-rw-r--r--apps/ktorrent/viewmanager.h2
-rw-r--r--apps/ktupnptest/upnptestapp.cpp4
-rw-r--r--apps/ktupnptest/upnptestapp.h2
48 files changed, 117 insertions, 117 deletions
diff --git a/apps/ktorrent/addpeerwidget.cpp b/apps/ktorrent/addpeerwidget.cpp
index db9f624..f93be34 100644
--- a/apps/ktorrent/addpeerwidget.cpp
+++ b/apps/ktorrent/addpeerwidget.cpp
@@ -58,8 +58,8 @@ void ManualPeerSource::signalPeersReady()
//AddPeerWidget
-AddPeerWidget::AddPeerWidget(kt::TorrentInterface* tc, TQWidget *tqparent, const char *name)
- :AddPeerWidgetBase(tqparent, name), m_tc(tc)
+AddPeerWidget::AddPeerWidget(kt::TorrentInterface* tc, TQWidget *parent, const char *name)
+ :AddPeerWidgetBase(parent, name), m_tc(tc)
{
if(!tc)
{
diff --git a/apps/ktorrent/addpeerwidget.h b/apps/ktorrent/addpeerwidget.h
index 6983d39..d0c23f5 100644
--- a/apps/ktorrent/addpeerwidget.h
+++ b/apps/ktorrent/addpeerwidget.h
@@ -81,7 +81,7 @@ class AddPeerWidget: public AddPeerWidgetBase
Q_OBJECT
TQ_OBJECT
public:
- AddPeerWidget(kt::TorrentInterface* tc, TQWidget *tqparent = 0, const char *name = 0);
+ AddPeerWidget(kt::TorrentInterface* tc, TQWidget *parent = 0, const char *name = 0);
~AddPeerWidget();
public slots:
diff --git a/apps/ktorrent/fileselectdlg.cpp b/apps/ktorrent/fileselectdlg.cpp
index c84bcc9..5f0e33d 100644
--- a/apps/ktorrent/fileselectdlg.cpp
+++ b/apps/ktorrent/fileselectdlg.cpp
@@ -49,8 +49,8 @@
using namespace kt;
-FileSelectDlg::FileSelectDlg(GroupManager* gm, bool* user, bool* start, TQWidget* tqparent, const char* name, bool modal, WFlags fl)
- : FileSelectDlgBase(tqparent, name, modal, fl), m_gman(gm), m_user(user), m_start(start)
+FileSelectDlg::FileSelectDlg(GroupManager* gm, bool* user, bool* start, TQWidget* parent, const char* name, bool modal, WFlags fl)
+ : FileSelectDlgBase(parent, name, modal, fl), m_gman(gm), m_user(user), m_start(start)
{
root = 0;
connect(m_select_all, TQT_SIGNAL(clicked()), this, TQT_SLOT(selectAll()));
diff --git a/apps/ktorrent/fileselectdlg.h b/apps/ktorrent/fileselectdlg.h
index 684a2c8..2fc4393 100644
--- a/apps/ktorrent/fileselectdlg.h
+++ b/apps/ktorrent/fileselectdlg.h
@@ -54,7 +54,7 @@ class FileSelectDlg : public FileSelectDlgBase, public kt::FileTreeRootListener
bool* m_start;
public:
- FileSelectDlg(kt::GroupManager* gm, bool* user, bool* start, TQWidget* tqparent = 0, const char* name = 0,
+ FileSelectDlg(kt::GroupManager* gm, bool* user, bool* start, TQWidget* parent = 0, const char* name = 0,
bool modal = true, WFlags fl = 0);
virtual ~FileSelectDlg();
diff --git a/apps/ktorrent/filterbar.cpp b/apps/ktorrent/filterbar.cpp
index dc59945..0be4049 100644
--- a/apps/ktorrent/filterbar.cpp
+++ b/apps/ktorrent/filterbar.cpp
@@ -34,8 +34,8 @@
-FilterBar::FilterBar(TQWidget *tqparent, const char *name) :
- TQWidget(tqparent, name)
+FilterBar::FilterBar(TQWidget *parent, const char *name) :
+ TQWidget(parent, name)
{
const int gap = 3;
diff --git a/apps/ktorrent/filterbar.h b/apps/ktorrent/filterbar.h
index e04a73a..4fc5d5a 100644
--- a/apps/ktorrent/filterbar.h
+++ b/apps/ktorrent/filterbar.h
@@ -45,7 +45,7 @@ class FilterBar : public TQWidget
TQ_OBJECT
public:
- FilterBar ( TQWidget *tqparent = 0, const char *name = 0 );
+ FilterBar ( TQWidget *parent = 0, const char *name = 0 );
virtual ~FilterBar();
bool matchesFilter(kt::TorrentInterface* tc);
diff --git a/apps/ktorrent/groups/groupview.cpp b/apps/ktorrent/groups/groupview.cpp
index 1918de6..11a6aa6 100644
--- a/apps/ktorrent/groups/groupview.cpp
+++ b/apps/ktorrent/groups/groupview.cpp
@@ -41,13 +41,13 @@ using namespace bt;
namespace kt
{
- GroupViewItem::GroupViewItem(GroupView* tqparent,Group* g) : KListViewItem(tqparent),gview(tqparent)
+ GroupViewItem::GroupViewItem(GroupView* parent,Group* g) : KListViewItem(parent),gview(parent)
{
setText(0,g->groupName());
setPixmap(0,g->groupIcon());
}
- GroupViewItem::GroupViewItem(GroupView* gview,KListViewItem* tqparent,Group* g) : KListViewItem(tqparent),gview(gview)
+ GroupViewItem::GroupViewItem(GroupView* gview,KListViewItem* parent,Group* g) : KListViewItem(parent),gview(gview)
{
setText(0,g->groupName());
setPixmap(0,g->groupIcon());
@@ -65,8 +65,8 @@ namespace kt
return TQString::compare(text(1),i->text(1));
}
- GroupView::GroupView(ViewManager* view,KActionCollection* col,TQWidget *tqparent, const char *name)
- : KListView(tqparent, name),view(view),custom_root(0)
+ GroupView::GroupView(ViewManager* view,KActionCollection* col,TQWidget *parent, const char *name)
+ : KListView(parent, name),view(view),custom_root(0)
{
setFullWidth(true);
setRootIsDecorated(true);
@@ -226,12 +226,12 @@ namespace kt
}
}
- GroupViewItem* GroupView::addGroup(Group* g,KListViewItem* tqparent)
+ GroupViewItem* GroupView::addGroup(Group* g,KListViewItem* parent)
{
GroupViewItem* li = 0;
- if (tqparent)
+ if (parent)
{
- li = new GroupViewItem(this,tqparent,g);
+ li = new GroupViewItem(this,parent,g);
}
else
{
@@ -240,7 +240,7 @@ namespace kt
}
groups.insert(li,g);
- if (custom_root && custom_root->childCount() == 1 && custom_root == tqparent)
+ if (custom_root && custom_root->childCount() == 1 && custom_root == parent)
setOpen(custom_root,true);
return li;
diff --git a/apps/ktorrent/groups/groupview.h b/apps/ktorrent/groups/groupview.h
index d78f318..2805548 100644
--- a/apps/ktorrent/groups/groupview.h
+++ b/apps/ktorrent/groups/groupview.h
@@ -40,8 +40,8 @@ namespace kt
Group* g;
GroupView* gview;
public:
- GroupViewItem(GroupView* tqparent,Group* g);
- GroupViewItem(GroupView* gview,KListViewItem* tqparent,Group* g);
+ GroupViewItem(GroupView* parent,Group* g);
+ GroupViewItem(GroupView* gview,KListViewItem* parent,Group* g);
virtual ~GroupViewItem();
virtual int compare(TQListViewItem* i,int col,bool ascending) const;
@@ -55,7 +55,7 @@ namespace kt
Q_OBJECT
TQ_OBJECT
public:
- GroupView(ViewManager* view,KActionCollection* col,TQWidget *tqparent = 0, const char *name = 0);
+ GroupView(ViewManager* view,KActionCollection* col,TQWidget *parent = 0, const char *name = 0);
virtual ~GroupView();
/// Get the current group
@@ -100,7 +100,7 @@ namespace kt
private:
void createMenu(KActionCollection* col);
- GroupViewItem* addGroup(Group* g,KListViewItem* tqparent);
+ GroupViewItem* addGroup(Group* g,KListViewItem* parent);
private:
ViewManager* view;
diff --git a/apps/ktorrent/ipfilterwidget.cpp b/apps/ktorrent/ipfilterwidget.cpp
index b15c035..76ba43f 100644
--- a/apps/ktorrent/ipfilterwidget.cpp
+++ b/apps/ktorrent/ipfilterwidget.cpp
@@ -40,8 +40,8 @@
using namespace bt;
-IPFilterWidget::IPFilterWidget(TQWidget *tqparent, const char *name)
- :BlacklistWidgetBase(tqparent, name)
+IPFilterWidget::IPFilterWidget(TQWidget *parent, const char *name)
+ :BlacklistWidgetBase(parent, name)
{
IPBlocklist& ipfilter = IPBlocklist::instance();
TQStringList* blocklist = ipfilter.getBlocklist();
diff --git a/apps/ktorrent/ipfilterwidget.h b/apps/ktorrent/ipfilterwidget.h
index 1dadc3f..d03da92 100644
--- a/apps/ktorrent/ipfilterwidget.h
+++ b/apps/ktorrent/ipfilterwidget.h
@@ -32,7 +32,7 @@ class IPFilterWidget: public BlacklistWidgetBase
Q_OBJECT
TQ_OBJECT
public:
- IPFilterWidget(TQWidget *tqparent = 0, const char *name = 0);
+ IPFilterWidget(TQWidget *parent = 0, const char *name = 0);
virtual void btnApply_clicked();
virtual void btnOk_clicked();
diff --git a/apps/ktorrent/ktorrentview.cpp b/apps/ktorrent/ktorrentview.cpp
index 6c963bf..624c508 100644
--- a/apps/ktorrent/ktorrentview.cpp
+++ b/apps/ktorrent/ktorrentview.cpp
@@ -55,7 +55,7 @@ using namespace bt;
using namespace kt;
-TorrentView::TorrentView(KTorrentView* tqparent) : KListView(tqparent),ktview(tqparent)
+TorrentView::TorrentView(KTorrentView* parent) : KListView(parent),ktview(parent)
{}
TorrentView::~TorrentView()
@@ -82,8 +82,8 @@ bool TorrentView::eventFilter(TQObject* watched, TQEvent* e)
return KListView::eventFilter(watched, e);
}
-KTorrentView::KTorrentView(TQWidget *tqparent)
- : TQWidget(tqparent),menu(0),current_group(0),running(0),total(0),view(0),filter_bar(0)
+KTorrentView::KTorrentView(TQWidget *parent)
+ : TQWidget(parent),menu(0),current_group(0),running(0),total(0),view(0),filter_bar(0)
{
TQVBoxLayout* tqlayout = new TQVBoxLayout(this);
tqlayout->setAutoAdd(true);
diff --git a/apps/ktorrent/ktorrentview.h b/apps/ktorrent/ktorrentview.h
index fea5b4f..0e2de7e 100644
--- a/apps/ktorrent/ktorrentview.h
+++ b/apps/ktorrent/ktorrentview.h
@@ -48,7 +48,7 @@ using namespace bt;
class TorrentView : public KListView
{
public:
- TorrentView(KTorrentView* tqparent);
+ TorrentView(KTorrentView* parent);
virtual ~TorrentView();
virtual bool eventFilter(TQObject* watched, TQEvent* e);
@@ -81,7 +81,7 @@ public:
/**
* Default constructor
*/
- KTorrentView(TQWidget *tqparent);
+ KTorrentView(TQWidget *parent);
/**
* Destructor
diff --git a/apps/ktorrent/ktorrentviewitem.cpp b/apps/ktorrent/ktorrentviewitem.cpp
index 6709088..1156b88 100644
--- a/apps/ktorrent/ktorrentviewitem.cpp
+++ b/apps/ktorrent/ktorrentviewitem.cpp
@@ -116,10 +116,10 @@ static double Percentage(const TorrentStats & s)
-KTorrentViewItem::KTorrentViewItem(KTorrentView* tqparent,TorrentInterface* tc)
- : KListViewItem(tqparent->listView()),tc(tc)
+KTorrentViewItem::KTorrentViewItem(KTorrentView* parent,TorrentInterface* tc)
+ : KListViewItem(parent->listView()),tc(tc)
{
- m_parent = tqparent;
+ m_parent = parent;
update();
}
diff --git a/apps/ktorrent/ktorrentviewitem.h b/apps/ktorrent/ktorrentviewitem.h
index b38710c..65ca29b 100644
--- a/apps/ktorrent/ktorrentviewitem.h
+++ b/apps/ktorrent/ktorrentviewitem.h
@@ -39,7 +39,7 @@ class KTorrentViewItem : public KListViewItem
kt::TorrentInterface* tc;
bt::Int64 eta;
public:
- KTorrentViewItem(KTorrentView* tqparent,kt::TorrentInterface* tc);
+ KTorrentViewItem(KTorrentView* parent,kt::TorrentInterface* tc);
virtual ~KTorrentViewItem();
kt::TorrentInterface* getTC() {return tc;}
diff --git a/apps/ktorrent/ktorrentviewmenu.cpp b/apps/ktorrent/ktorrentviewmenu.cpp
index 96e2c94..9dee4ce 100644
--- a/apps/ktorrent/ktorrentviewmenu.cpp
+++ b/apps/ktorrent/ktorrentviewmenu.cpp
@@ -28,76 +28,76 @@
using namespace kt;
-KTorrentViewMenu::KTorrentViewMenu (KTorrentView *tqparent, const char *name )
- : KPopupMenu ( tqparent, name ),view(tqparent)
+KTorrentViewMenu::KTorrentViewMenu (KTorrentView *parent, const char *name )
+ : KPopupMenu ( parent, name ),view(parent)
{
KIconLoader* iload = KGlobal::iconLoader();
stop_id = insertItem(
iload->loadIconSet("ktstop",KIcon::Small),i18n("to stop", "Stop"),
- tqparent,TQT_SLOT(stopDownloads()));
+ parent,TQT_SLOT(stopDownloads()));
start_id = insertItem(
iload->loadIconSet("ktstart",KIcon::Small),i18n("to start", "Start"),
- tqparent,TQT_SLOT(startDownloads()));
+ parent,TQT_SLOT(startDownloads()));
remove_id = insertItem(
iload->loadIconSet("ktremove",KIcon::Small),i18n("Remove Torrent"),
- tqparent,TQT_SLOT(removeDownloads()));
+ parent,TQT_SLOT(removeDownloads()));
remove_all_id = insertItem(
iload->loadIconSet("ktremove",KIcon::Small),i18n("Remove Torrent and Data"),
- tqparent,TQT_SLOT(removeDownloadsAndData()));
+ parent,TQT_SLOT(removeDownloadsAndData()));
queue_id = insertItem(
iload->loadIconSet("player_playlist",KIcon::Small),i18n("Enqueue/Dequeue"),
- tqparent,TQT_SLOT(queueSlot()));
+ parent,TQT_SLOT(queueSlot()));
insertSeparator();
add_peer_id = insertItem(
iload->loadIconSet("add", KIcon::Small), i18n("Add Peers"),
- tqparent, TQT_SLOT(showAddPeersWidget()));
+ parent, TQT_SLOT(showAddPeersWidget()));
peer_sources_menu = new KPopupMenu(this);
peer_sources_id = insertItem(i18n("Additional Peer Sources"), peer_sources_menu);
peer_sources_menu->insertTitle(i18n("Torrent Peer Sources:"));
peer_sources_menu->setCheckable(true);
- dht_id = peer_sources_menu->insertItem(i18n("DHT"), tqparent, TQT_SLOT(dhtSlot()));
- ut_pex_id = peer_sources_menu->insertItem(i18n("Peer Exchange"), tqparent, TQT_SLOT(utPexSlot()));
+ dht_id = peer_sources_menu->insertItem(i18n("DHT"), parent, TQT_SLOT(dhtSlot()));
+ ut_pex_id = peer_sources_menu->insertItem(i18n("Peer Exchange"), parent, TQT_SLOT(utPexSlot()));
insertSeparator();
announce_id = insertItem(
iload->loadIconSet("apply",KIcon::Small),i18n("Manual Announce"),
- tqparent,TQT_SLOT(manualAnnounce()));
+ parent,TQT_SLOT(manualAnnounce()));
preview_id = insertItem(
iload->loadIconSet("frame_image",KIcon::Small),i18n("Preview"),
- tqparent, TQT_SLOT(previewFiles()));
+ parent, TQT_SLOT(previewFiles()));
insertSeparator();
dirs_sub_menu = new KPopupMenu(this);
dirs_id = insertItem(i18n("Open Directory"), dirs_sub_menu);
outputdir_id = dirs_sub_menu->insertItem(iload->loadIconSet("folder",KIcon::Small), i18n("Data Directory"),
- tqparent, TQT_SLOT(openOutputDirectory()));
+ parent, TQT_SLOT(openOutputDirectory()));
torxdir_id = dirs_sub_menu->insertItem(iload->loadIconSet("folder",KIcon::Small), i18n("Temporary Directory"),
- tqparent, TQT_SLOT(openTorXDirectory()));
+ parent, TQT_SLOT(openTorXDirectory()));
- downloaddir_id = insertItem(i18n("Set Download Location"), tqparent, TQT_SLOT(setDownloadLocationSlot()));
+ downloaddir_id = insertItem(i18n("Set Download Location"), parent, TQT_SLOT(setDownloadLocationSlot()));
insertSeparator();
- remove_from_group_id = insertItem(i18n("Remove From Group"),tqparent, TQT_SLOT(removeFromGroup()));
+ remove_from_group_id = insertItem(i18n("Remove From Group"),parent, TQT_SLOT(removeFromGroup()));
groups_sub_menu = new KPopupMenu(this);
add_to_group_id = insertItem(i18n("Add to Group"),groups_sub_menu);
insertSeparator();
- scan_id = insertItem(i18n("Check Data Integrity"),tqparent, TQT_SLOT(checkDataIntegrity()));
+ scan_id = insertItem(i18n("Check Data Integrity"),parent, TQT_SLOT(checkDataIntegrity()));
connect(groups_sub_menu,TQT_SIGNAL(activated(int)),this,TQT_SLOT(gsmItemActived(int)));
- traffic_lim_id = insertItem(i18n("Speed Limits"),tqparent,TQT_SLOT(speedLimits()));
+ traffic_lim_id = insertItem(i18n("Speed Limits"),parent,TQT_SLOT(speedLimits()));
}
diff --git a/apps/ktorrent/ktorrentviewmenu.h b/apps/ktorrent/ktorrentviewmenu.h
index 313d9bf..f6f0263 100644
--- a/apps/ktorrent/ktorrentviewmenu.h
+++ b/apps/ktorrent/ktorrentviewmenu.h
@@ -32,7 +32,7 @@ class KTorrentViewMenu : public KPopupMenu
Q_OBJECT
TQ_OBJECT
public:
- KTorrentViewMenu(KTorrentView *tqparent, const char *name = 0 );
+ KTorrentViewMenu(KTorrentView *parent, const char *name = 0 );
virtual ~KTorrentViewMenu();
/// Show the menu at the given point
diff --git a/apps/ktorrent/newui/button.cpp b/apps/ktorrent/newui/button.cpp
index e24b359..a68aeab 100644
--- a/apps/ktorrent/newui/button.cpp
+++ b/apps/ktorrent/newui/button.cpp
@@ -39,10 +39,10 @@
namespace Ideal {
-Button::Button(ButtonBar *tqparent, const TQString text, const TQIconSet &icon,
+Button::Button(ButtonBar *parent, const TQString text, const TQIconSet &icon,
const TQString &description)
- :TQPushButton(icon, text, tqparent), m_buttonBar(tqparent), m_description(description),
- m_place(tqparent->place()), m_realText(text), m_realIconSet(icon)
+ :TQPushButton(icon, text, parent), m_buttonBar(parent), m_description(description),
+ m_place(parent->place()), m_realText(text), m_realIconSet(icon)
{
hide();
setFlat(true);
diff --git a/apps/ktorrent/newui/button.h b/apps/ktorrent/newui/button.h
index fd668f8..86e27c2 100644
--- a/apps/ktorrent/newui/button.h
+++ b/apps/ktorrent/newui/button.h
@@ -41,7 +41,7 @@ class Button : public TQPushButton {
Q_OBJECT
TQ_OBJECT
public:
- Button(ButtonBar *tqparent, const TQString text, const TQIconSet &icon = TQIconSet(),
+ Button(ButtonBar *parent, const TQString text, const TQIconSet &icon = TQIconSet(),
const TQString &description = TQString());
/**Sets the description used as a tooltip.*/
diff --git a/apps/ktorrent/newui/buttonbar.cpp b/apps/ktorrent/newui/buttonbar.cpp
index 8d043f5..80da533 100644
--- a/apps/ktorrent/newui/buttonbar.cpp
+++ b/apps/ktorrent/newui/buttonbar.cpp
@@ -32,8 +32,8 @@ namespace Ideal {
//ButtonLayout class
-ButtonLayout::ButtonLayout(ButtonBar *tqparent, Direction d, int margin, int spacing, const char *name)
- :TQBoxLayout(tqparent, d, margin, spacing, name), m_buttonBar(tqparent)
+ButtonLayout::ButtonLayout(ButtonBar *parent, Direction d, int margin, int spacing, const char *name)
+ :TQBoxLayout(parent, d, margin, spacing, name), m_buttonBar(parent)
{
}
@@ -62,8 +62,8 @@ TQSize ButtonLayout::tqminimumSize() const
//ButtonBar class
-ButtonBar::ButtonBar(Place place, ButtonMode mode, TQWidget *tqparent, const char *name)
- :TQWidget(tqparent, name), m_place(place), l(0), m_shrinked(false), m_autoResize(true)
+ButtonBar::ButtonBar(Place place, ButtonMode mode, TQWidget *parent, const char *name)
+ :TQWidget(parent, name), m_place(place), l(0), m_shrinked(false), m_autoResize(true)
{
switch (m_place)
{
diff --git a/apps/ktorrent/newui/buttonbar.h b/apps/ktorrent/newui/buttonbar.h
index 7e25278..5f11d97 100644
--- a/apps/ktorrent/newui/buttonbar.h
+++ b/apps/ktorrent/newui/buttonbar.h
@@ -37,7 +37,7 @@ class ButtonBar;
Overrides tqminimumSize method to allow shrinking button bar buttons.*/
class ButtonLayout: public TQBoxLayout{
public:
- ButtonLayout(ButtonBar *tqparent, Direction d, int margin = 0, int spacing = -1, const char * name = 0);
+ ButtonLayout(ButtonBar *parent, Direction d, int margin = 0, int spacing = -1, const char * name = 0);
virtual TQSize tqminimumSize() const;
@@ -56,7 +56,7 @@ class ButtonBar : public TQWidget {
TQ_OBJECT
public:
ButtonBar(Place place, ButtonMode mode = IconsAndText,
- TQWidget *tqparent = 0, const char *name = 0);
+ TQWidget *parent = 0, const char *name = 0);
virtual ~ButtonBar();
/**Adds a button to the bar.*/
diff --git a/apps/ktorrent/newui/ddockwindow.cpp b/apps/ktorrent/newui/ddockwindow.cpp
index 2d473f6..6fd9b88 100644
--- a/apps/ktorrent/newui/ddockwindow.cpp
+++ b/apps/ktorrent/newui/ddockwindow.cpp
@@ -39,9 +39,9 @@
#include "button.h"
#include "dmainwindow.h"
-DDockWindow::DDockWindow(DMainWindow *tqparent, Position position)
- :TQDockWindow(TQDockWindow::InDock, tqparent), m_position(position), m_visible(false),
- m_mainWindow(tqparent), m_doNotCloseActiveWidget(false), m_toggledButton(0), m_lastContextMenuButton(0)
+DDockWindow::DDockWindow(DMainWindow *parent, Position position)
+ :TQDockWindow(TQDockWindow::InDock, parent), m_position(position), m_visible(false),
+ m_mainWindow(parent), m_doNotCloseActiveWidget(false), m_toggledButton(0), m_lastContextMenuButton(0)
{
setMovingEnabled(false);
setResizeEnabled(true);
@@ -347,7 +347,7 @@ bool DDockWindow::isActive()
else
{
do {
- w = (TQWidget*)w->tqparent();
+ w = (TQWidget*)w->parent();
if (w && (w == toolWidget)) return true;
} while (w);
}
diff --git a/apps/ktorrent/newui/ddockwindow.h b/apps/ktorrent/newui/ddockwindow.h
index daecc60..e6427e0 100644
--- a/apps/ktorrent/newui/ddockwindow.h
+++ b/apps/ktorrent/newui/ddockwindow.h
@@ -44,7 +44,7 @@ class DDockWindow : public TQDockWindow {
public:
enum Position { Bottom, Left, Right };
- DDockWindow(DMainWindow *tqparent, Position position);
+ DDockWindow(DMainWindow *parent, Position position);
virtual ~DDockWindow();
virtual void setVisible(bool v);
diff --git a/apps/ktorrent/newui/dmainwindow.cpp b/apps/ktorrent/newui/dmainwindow.cpp
index ba1d7e6..7ccc689 100644
--- a/apps/ktorrent/newui/dmainwindow.cpp
+++ b/apps/ktorrent/newui/dmainwindow.cpp
@@ -29,8 +29,8 @@
#include "dtabwidget.h"
#include "docksplitter.h"
-DMainWindow::DMainWindow(TQWidget *tqparent, const char *name)
- :KParts::MainWindow(tqparent, name), m_firstRemoved(false), m_currentWidget(0)
+DMainWindow::DMainWindow(TQWidget *parent, const char *name)
+ :KParts::MainWindow(parent, name), m_firstRemoved(false), m_currentWidget(0)
{
loadSettings();
createToolWindows();
diff --git a/apps/ktorrent/newui/dmainwindow.h b/apps/ktorrent/newui/dmainwindow.h
index edcdb32..e677281 100644
--- a/apps/ktorrent/newui/dmainwindow.h
+++ b/apps/ktorrent/newui/dmainwindow.h
@@ -35,7 +35,7 @@ class DMainWindow: public KParts::MainWindow {
Q_OBJECT
TQ_OBJECT
public:
- DMainWindow(TQWidget *tqparent = 0, const char *name = 0);
+ DMainWindow(TQWidget *parent = 0, const char *name = 0);
virtual ~DMainWindow();
/**@return The tool window in given @p position.*/
diff --git a/apps/ktorrent/newui/docksplitter.cpp b/apps/ktorrent/newui/docksplitter.cpp
index b41a5b1..14d321e 100644
--- a/apps/ktorrent/newui/docksplitter.cpp
+++ b/apps/ktorrent/newui/docksplitter.cpp
@@ -23,8 +23,8 @@
namespace Ideal {
-DockSplitter::DockSplitter(Qt::Orientation orientation, TQWidget *tqparent, const char *name)
- :TQSplitter(tqparent, name), m_orientation(orientation)
+DockSplitter::DockSplitter(Qt::Orientation orientation, TQWidget *parent, const char *name)
+ :TQSplitter(parent, name), m_orientation(orientation)
{
switch (m_orientation)
{
diff --git a/apps/ktorrent/newui/docksplitter.h b/apps/ktorrent/newui/docksplitter.h
index a9569d3..87f56b6 100644
--- a/apps/ktorrent/newui/docksplitter.h
+++ b/apps/ktorrent/newui/docksplitter.h
@@ -34,7 +34,7 @@ class DockSplitter: public TQSplitter {
Q_OBJECT
TQ_OBJECT
public:
- DockSplitter(Qt::Orientation orientation, TQWidget *tqparent = 0, const char *name = 0);
+ DockSplitter(Qt::Orientation orientation, TQWidget *parent = 0, const char *name = 0);
~DockSplitter();
void addDock(uint row, uint col, TQWidget *dock);
diff --git a/apps/ktorrent/newui/dtabwidget.cpp b/apps/ktorrent/newui/dtabwidget.cpp
index 42fffd3..455b820 100644
--- a/apps/ktorrent/newui/dtabwidget.cpp
+++ b/apps/ktorrent/newui/dtabwidget.cpp
@@ -26,8 +26,8 @@
#include <kiconloader.h>
#include <kapplication.h>
-DTabWidget::DTabWidget(TQWidget *tqparent, const char *name)
- :KTabWidget(tqparent, name), m_closeButton(0)
+DTabWidget::DTabWidget(TQWidget *parent, const char *name)
+ :KTabWidget(parent, name), m_closeButton(0)
{
setFocusPolicy(TQ_NoFocus);
setMargin(0);
diff --git a/apps/ktorrent/newui/dtabwidget.h b/apps/ktorrent/newui/dtabwidget.h
index 3fa3945..cf939eb 100644
--- a/apps/ktorrent/newui/dtabwidget.h
+++ b/apps/ktorrent/newui/dtabwidget.h
@@ -28,7 +28,7 @@ class DTabWidget: public KTabWidget {
Q_OBJECT
TQ_OBJECT
public:
- DTabWidget(TQWidget *tqparent=0, const char *name=0);
+ DTabWidget(TQWidget *parent=0, const char *name=0);
/**@return The close button at the top right corner.
May be 0 if the configuration do not allow close buttons or the tabbar.*/
diff --git a/apps/ktorrent/pastedialog.cpp b/apps/ktorrent/pastedialog.cpp
index 91587d5..7d3bff9 100644
--- a/apps/ktorrent/pastedialog.cpp
+++ b/apps/ktorrent/pastedialog.cpp
@@ -29,8 +29,8 @@
#include <kmessagebox.h>
#include <klocale.h>
-PasteDialog::PasteDialog(KTorrentCore* core, TQWidget *tqparent, const char *name)
- :PasteDlgBase(tqparent, name)
+PasteDialog::PasteDialog(KTorrentCore* core, TQWidget *parent, const char *name)
+ :PasteDlgBase(parent, name)
{
m_core = core;
TQClipboard *cb = TQApplication::tqclipboard();
diff --git a/apps/ktorrent/pastedialog.h b/apps/ktorrent/pastedialog.h
index e2699f1..03cbdfe 100644
--- a/apps/ktorrent/pastedialog.h
+++ b/apps/ktorrent/pastedialog.h
@@ -36,7 +36,7 @@ public slots:
virtual void btnOK_clicked();
public:
- PasteDialog(KTorrentCore* core, TQWidget *tqparent = 0, const char *name = 0);
+ PasteDialog(KTorrentCore* core, TQWidget *parent = 0, const char *name = 0);
private:
KTorrentCore* m_core;
diff --git a/apps/ktorrent/pref.cpp b/apps/ktorrent/pref.cpp
index bd92ba8..4fbc0fd 100644
--- a/apps/ktorrent/pref.cpp
+++ b/apps/ktorrent/pref.cpp
@@ -152,9 +152,9 @@ DownloadPrefPage::~ DownloadPrefPage()
delete dp;
}
-void DownloadPrefPage::createWidget(TQWidget* tqparent)
+void DownloadPrefPage::createWidget(TQWidget* parent)
{
- dp = new DownloadPref(tqparent);
+ dp = new DownloadPref(parent);
updateData();
}
@@ -222,9 +222,9 @@ GeneralPrefPage::~GeneralPrefPage()
delete gp;
}
-void GeneralPrefPage::createWidget(TQWidget* tqparent)
+void GeneralPrefPage::createWidget(TQWidget* parent)
{
- gp = new GeneralPref(tqparent);
+ gp = new GeneralPref(parent);
updateData();
connect(gp->custom_ip_check, TQT_SIGNAL(toggled(bool)),
this, TQT_SLOT(customIPChecked(bool)));
@@ -459,9 +459,9 @@ void AdvancedPrefPage::updateData()
ap->max_con_setups->setValue(Settings::maxConnectingSockets());
}
-void AdvancedPrefPage::createWidget(TQWidget* tqparent)
+void AdvancedPrefPage::createWidget(TQWidget* parent)
{
- ap = new AdvancedPref(tqparent);
+ ap = new AdvancedPref(parent);
updateData();
connect(ap->no_recheck, TQT_SIGNAL(toggled(bool)),
this, TQT_SLOT(noDataCheckChecked(bool)));
diff --git a/apps/ktorrent/pref.h b/apps/ktorrent/pref.h
index b100595..121bce7 100644
--- a/apps/ktorrent/pref.h
+++ b/apps/ktorrent/pref.h
@@ -44,7 +44,7 @@ public:
virtual bool apply();
virtual void updateData();
- virtual void createWidget(TQWidget* tqparent);
+ virtual void createWidget(TQWidget* parent);
virtual void deleteWidget();
};
@@ -59,7 +59,7 @@ public:
virtual bool apply();
virtual void updateData();
- virtual void createWidget(TQWidget* tqparent);
+ virtual void createWidget(TQWidget* parent);
virtual void deleteWidget();
private slots:
@@ -81,7 +81,7 @@ public:
virtual bool apply();
virtual void updateData();
- virtual void createWidget(TQWidget* tqparent);
+ virtual void createWidget(TQWidget* parent);
virtual void deleteWidget();
private slots:
diff --git a/apps/ktorrent/queuedialog.cpp b/apps/ktorrent/queuedialog.cpp
index 2761770..508789b 100644
--- a/apps/ktorrent/queuedialog.cpp
+++ b/apps/ktorrent/queuedialog.cpp
@@ -44,8 +44,8 @@
using namespace bt;
using namespace kt;
-QueueItem::QueueItem(kt::TorrentInterface* t, TQListView* tqparent)
- :TQListViewItem(tqparent), tc(t)
+QueueItem::QueueItem(kt::TorrentInterface* t, TQListView* parent)
+ :TQListViewItem(parent), tc(t)
{
setPriority(tc->getPriority());
setText(0, TQString(tc->getStats().torrent_name));
@@ -95,8 +95,8 @@ void QueueItem::paintCell(TQPainter* p,const TQColorGroup & cg,int column,int wi
TQListViewItem::paintCell(p,colorGrp,column,width,align);
}
-QueueDialog::QueueDialog(bt::QueueManager* qm, TQWidget *tqparent, const char *name)
- :QueueDlg(tqparent, name)
+QueueDialog::QueueDialog(bt::QueueManager* qm, TQWidget *parent, const char *name)
+ :QueueDlg(parent, name)
{
KIconLoader* iload = KGlobal::iconLoader();
diff --git a/apps/ktorrent/queuedialog.h b/apps/ktorrent/queuedialog.h
index c997556..b672fa9 100644
--- a/apps/ktorrent/queuedialog.h
+++ b/apps/ktorrent/queuedialog.h
@@ -30,7 +30,7 @@
class QueueItem: public TQListViewItem
{
public:
- QueueItem(kt::TorrentInterface* t, TQListView* tqparent);
+ QueueItem(kt::TorrentInterface* t, TQListView* parent);
int getPriority() { return torrentPriority; }
void setPriority(int p);
@@ -53,7 +53,7 @@ class QueueDialog: public QueueDlg
Q_OBJECT
TQ_OBJECT
public:
- QueueDialog(bt::QueueManager* qm, TQWidget *tqparent = 0, const char *name = 0);
+ QueueDialog(bt::QueueManager* qm, TQWidget *parent = 0, const char *name = 0);
public slots:
virtual void btnMoveUp_clicked();
virtual void btnClose_clicked();
diff --git a/apps/ktorrent/scandialog.cpp b/apps/ktorrent/scandialog.cpp
index ceabf53..292c1ea 100644
--- a/apps/ktorrent/scandialog.cpp
+++ b/apps/ktorrent/scandialog.cpp
@@ -36,8 +36,8 @@ using namespace kt;
ScanDialog::ScanDialog(KTorrentCore* core,bool auto_import,
- TQWidget* tqparent, const char* name, bool modal, WFlags fl)
- : ScanDlgBase(tqparent,name, modal,fl),DataCheckerListener(auto_import),mutex(true),core(core)
+ TQWidget* parent, const char* name, bool modal, WFlags fl)
+ : ScanDlgBase(parent,name, modal,fl),DataCheckerListener(auto_import),mutex(true),core(core)
{
m_cancel->setGuiItem(KStdGuiItem::cancel());
connect(m_cancel,TQT_SIGNAL(clicked()),this,TQT_SLOT(onCancelPressed()));
diff --git a/apps/ktorrent/scandialog.h b/apps/ktorrent/scandialog.h
index bf1fe97..5d3b512 100644
--- a/apps/ktorrent/scandialog.h
+++ b/apps/ktorrent/scandialog.h
@@ -39,7 +39,7 @@ class ScanDialog : public ScanDlgBase, public bt::DataCheckerListener
Q_OBJECT
TQ_OBJECT
public:
- ScanDialog(KTorrentCore* core,bool auto_import,TQWidget* tqparent = 0, const char* name = 0, bool modal = false, WFlags fl = WDestructiveClose );
+ ScanDialog(KTorrentCore* core,bool auto_import,TQWidget* parent = 0, const char* name = 0, bool modal = false, WFlags fl = WDestructiveClose );
virtual ~ScanDialog();
/// Starts the scan thread
diff --git a/apps/ktorrent/speedlimitsdlg.cpp b/apps/ktorrent/speedlimitsdlg.cpp
index ad22a54..5fbe5b4 100644
--- a/apps/ktorrent/speedlimitsdlg.cpp
+++ b/apps/ktorrent/speedlimitsdlg.cpp
@@ -30,8 +30,8 @@
using namespace bt;
using namespace kt;
-SpeedLimitsDlg::SpeedLimitsDlg(kt::TorrentInterface* ti,TQWidget* tqparent, const char* name)
- : SpeedLimitsDlgBase(tqparent,name,true,0),tor(ti)
+SpeedLimitsDlg::SpeedLimitsDlg(kt::TorrentInterface* ti,TQWidget* parent, const char* name)
+ : SpeedLimitsDlgBase(parent,name,true,0),tor(ti)
{
m_main_caption->setText(i18n("Speed limits for <b>%1</b>:").tqarg(tor->getStats().torrent_name));
Uint32 up,down;
diff --git a/apps/ktorrent/speedlimitsdlg.h b/apps/ktorrent/speedlimitsdlg.h
index 7f3c213..ec1d4b7 100644
--- a/apps/ktorrent/speedlimitsdlg.h
+++ b/apps/ktorrent/speedlimitsdlg.h
@@ -35,7 +35,7 @@ class SpeedLimitsDlg : public SpeedLimitsDlgBase
kt::TorrentInterface* tor;
public:
- SpeedLimitsDlg(kt::TorrentInterface* ti,TQWidget* tqparent = 0, const char* name = 0);
+ SpeedLimitsDlg(kt::TorrentInterface* ti,TQWidget* parent = 0, const char* name = 0);
virtual ~SpeedLimitsDlg();
diff --git a/apps/ktorrent/torrentcreatordlg.cpp b/apps/ktorrent/torrentcreatordlg.cpp
index 22b76d1..d42c06f 100644
--- a/apps/ktorrent/torrentcreatordlg.cpp
+++ b/apps/ktorrent/torrentcreatordlg.cpp
@@ -28,8 +28,8 @@
#include <torrent/globals.h>
#include <kademlia/dhtbase.h>
-TorrentCreatorDlg::TorrentCreatorDlg(KTorrentCore* core,TQWidget *tqparent, const char *name)
- :TorrentCreatorDlgBase(tqparent, name),core(core)
+TorrentCreatorDlg::TorrentCreatorDlg(KTorrentCore* core,TQWidget *parent, const char *name)
+ :TorrentCreatorDlgBase(parent, name),core(core)
{
KURLRequester* r = m_file_or_dir;
r->fileDialog()->setMode(
diff --git a/apps/ktorrent/torrentcreatordlg.h b/apps/ktorrent/torrentcreatordlg.h
index cb3482c..2098331 100644
--- a/apps/ktorrent/torrentcreatordlg.h
+++ b/apps/ktorrent/torrentcreatordlg.h
@@ -21,7 +21,7 @@ class TorrentCreatorDlg: public TorrentCreatorDlgBase
Q_OBJECT
TQ_OBJECT
public:
- TorrentCreatorDlg(KTorrentCore* core,TQWidget *tqparent = 0, const char *name = 0);
+ TorrentCreatorDlg(KTorrentCore* core,TQWidget *parent = 0, const char *name = 0);
virtual ~TorrentCreatorDlg();
public slots:
diff --git a/apps/ktorrent/trayhoverpopup.cpp b/apps/ktorrent/trayhoverpopup.cpp
index 612944d..7df590f 100644
--- a/apps/ktorrent/trayhoverpopup.cpp
+++ b/apps/ktorrent/trayhoverpopup.cpp
@@ -28,8 +28,8 @@
using namespace bt;
-TrayHoverPopup::TrayHoverPopup(const TQPixmap & pix,TQWidget *tqparent, const char *name )
- : KPassivePopup(KPassivePopup::Boxed,tqparent,name),pix(pix)
+TrayHoverPopup::TrayHoverPopup(const TQPixmap & pix,TQWidget *parent, const char *name )
+ : KPassivePopup(KPassivePopup::Boxed,parent,name),pix(pix)
{
setTimeout(0);
setAutoDelete(false);
diff --git a/apps/ktorrent/trayhoverpopup.h b/apps/ktorrent/trayhoverpopup.h
index de0ef04..b1a9b9e 100644
--- a/apps/ktorrent/trayhoverpopup.h
+++ b/apps/ktorrent/trayhoverpopup.h
@@ -36,7 +36,7 @@ class TrayHoverPopup : public KPassivePopup
Q_OBJECT
TQ_OBJECT
public:
- TrayHoverPopup(const TQPixmap & pix,TQWidget *tqparent = 0, const char *name = 0 );
+ TrayHoverPopup(const TQPixmap & pix,TQWidget *parent = 0, const char *name = 0 );
virtual ~TrayHoverPopup();
/// Cursor entered system tray icon
diff --git a/apps/ktorrent/trayicon.cpp b/apps/ktorrent/trayicon.cpp
index 5c5d813..14a3db7 100644
--- a/apps/ktorrent/trayicon.cpp
+++ b/apps/ktorrent/trayicon.cpp
@@ -36,8 +36,8 @@
using namespace bt;
using namespace kt;
-TrayIcon::TrayIcon( KTorrentCore* tc, TQWidget *tqparent, const char *name)
- : KSystemTray(tqparent, name)
+TrayIcon::TrayIcon( KTorrentCore* tc, TQWidget *parent, const char *name)
+ : KSystemTray(parent, name)
{
m_core = tc;
m_kt_pix = loadIcon("ktorrent");
@@ -282,7 +282,7 @@ void TrayIcon::lowDiskSpace(kt::TorrentInterface * tc, bool stopped)
showPassivePopup(msg,i18n("Device running out of space"));
}
-SetMaxRate::SetMaxRate( KTorrentCore* tc, int t, TQWidget *tqparent, const char *name):KPopupMenu(tqparent, name)
+SetMaxRate::SetMaxRate( KTorrentCore* tc, int t, TQWidget *parent, const char *name):KPopupMenu(parent, name)
{
m_core = tc;
type=t;
diff --git a/apps/ktorrent/trayicon.h b/apps/ktorrent/trayicon.h
index f2cd579..6e4ac11 100644
--- a/apps/ktorrent/trayicon.h
+++ b/apps/ktorrent/trayicon.h
@@ -52,7 +52,7 @@ class TrayIcon : public KSystemTray
Q_OBJECT
TQ_OBJECT
public:
- TrayIcon(KTorrentCore* tc, TQWidget *tqparent = 0, const char *name = 0);
+ TrayIcon(KTorrentCore* tc, TQWidget *parent = 0, const char *name = 0);
virtual ~TrayIcon();
/// Update stats for system tray icon
@@ -126,7 +126,7 @@ class SetMaxRate : public KPopupMenu
Q_OBJECT
TQ_OBJECT
public:
- SetMaxRate(KTorrentCore* tc, int t, TQWidget *tqparent=0, const char *name=0); // type: 0 Upload; 1 Download
+ SetMaxRate(KTorrentCore* tc, int t, TQWidget *parent=0, const char *name=0); // type: 0 Upload; 1 Download
~SetMaxRate()
{}
;
diff --git a/apps/ktorrent/viewmanager.cpp b/apps/ktorrent/viewmanager.cpp
index 917b68e..2d75635 100644
--- a/apps/ktorrent/viewmanager.cpp
+++ b/apps/ktorrent/viewmanager.cpp
@@ -28,8 +28,8 @@
typedef TQValueList<KTorrentView*>::iterator ViewItr;
-ViewManager::ViewManager ( TQObject *tqparent, const char *name )
- : TQObject ( tqparent, name ),current(0)
+ViewManager::ViewManager ( TQObject *parent, const char *name )
+ : TQObject ( parent, name ),current(0)
{}
diff --git a/apps/ktorrent/viewmanager.h b/apps/ktorrent/viewmanager.h
index c9465d2..38b658f 100644
--- a/apps/ktorrent/viewmanager.h
+++ b/apps/ktorrent/viewmanager.h
@@ -37,7 +37,7 @@ class ViewManager : public TQObject, public kt::CloseTabListener
Q_OBJECT
TQ_OBJECT
public:
- ViewManager(TQObject *tqparent = 0, const char *name = 0);
+ ViewManager(TQObject *parent = 0, const char *name = 0);
virtual ~ViewManager();
/// Create a new view
diff --git a/apps/ktupnptest/upnptestapp.cpp b/apps/ktupnptest/upnptestapp.cpp
index 1cb6d31..0d14228 100644
--- a/apps/ktupnptest/upnptestapp.cpp
+++ b/apps/ktupnptest/upnptestapp.cpp
@@ -29,8 +29,8 @@
using namespace bt;
using namespace kt;
-UPnPTestApp::UPnPTestApp(TQWidget *tqparent, const char *name)
- : KMainWindow(tqparent, name)
+UPnPTestApp::UPnPTestApp(TQWidget *parent, const char *name)
+ : KMainWindow(parent, name)
{
sock = new UPnPMCastSocket(true);
connect(sock,TQT_SIGNAL(discovered( UPnPRouter* )),this,TQT_SLOT(discovered( UPnPRouter* )));
diff --git a/apps/ktupnptest/upnptestapp.h b/apps/ktupnptest/upnptestapp.h
index c98facf..6fd0faf 100644
--- a/apps/ktupnptest/upnptestapp.h
+++ b/apps/ktupnptest/upnptestapp.h
@@ -40,7 +40,7 @@ class UPnPTestApp : public KMainWindow, public kt::LogMonitorInterface
Q_OBJECT
TQ_OBJECT
public:
- UPnPTestApp(TQWidget *tqparent = 0, const char *name = 0);
+ UPnPTestApp(TQWidget *parent = 0, const char *name = 0);
virtual ~UPnPTestApp();
virtual void message(const TQString& line, unsigned int arg);