summaryrefslogtreecommitdiffstats
path: root/plugins/webinterface
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/webinterface
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/webinterface')
-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
7 files changed, 9 insertions, 9 deletions
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;