diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 2bc1d72869b62af05ae4feafd878203b526da8c5 (patch) | |
tree | 2676903bb600bd9646644856e354940471ad84e2 /kopete/protocols/sms/services | |
parent | 937b2991d8e78166eea904c80ad04d34607017a4 (diff) | |
download | tdenetwork-2bc1d72869b62af05ae4feafd878203b526da8c5.tar.gz tdenetwork-2bc1d72869b62af05ae4feafd878203b526da8c5.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/protocols/sms/services')
-rw-r--r-- | kopete/protocols/sms/services/gsmlib.cpp | 14 | ||||
-rw-r--r-- | kopete/protocols/sms/services/gsmlib.h | 6 | ||||
-rw-r--r-- | kopete/protocols/sms/services/smsclient.cpp | 12 | ||||
-rw-r--r-- | kopete/protocols/sms/services/smsclient.h | 4 | ||||
-rw-r--r-- | kopete/protocols/sms/services/smssend.cpp | 8 | ||||
-rw-r--r-- | kopete/protocols/sms/services/smssend.h | 2 | ||||
-rw-r--r-- | kopete/protocols/sms/services/smssendprovider.cpp | 4 | ||||
-rw-r--r-- | kopete/protocols/sms/services/smssendprovider.h | 2 |
8 files changed, 26 insertions, 26 deletions
diff --git a/kopete/protocols/sms/services/gsmlib.cpp b/kopete/protocols/sms/services/gsmlib.cpp index 82bd0017..1d4836a1 100644 --- a/kopete/protocols/sms/services/gsmlib.cpp +++ b/kopete/protocols/sms/services/gsmlib.cpp @@ -67,10 +67,10 @@ void GSMLibEvent::setSubType(GSMLibEvent::SubType t) } ///////////////////////////////////////////////////////////////////// -GSMLibThread::GSMLibThread(TQString dev, GSMLib* tqparent) +GSMLibThread::GSMLibThread(TQString dev, GSMLib* parent) { m_device = dev; - m_parent = tqparent; + m_parent = parent; m_run = true; m_MeTa = NULL; } @@ -348,11 +348,11 @@ void GSMLib::disconnect() } -void GSMLib::setWidgetContainer(TQWidget* tqparent, TQGridLayout* tqlayout) +void GSMLib::setWidgetContainer(TQWidget* parent, TQGridLayout* tqlayout) { - m_parent = tqparent; + m_parent = parent; m_layout = tqlayout; - TQWidget *configWidget = configureWidget(tqparent); + TQWidget *configWidget = configureWidget(parent); tqlayout->addMultiCellWidget(configWidget, 0, 1, 0, 1); configWidget->show(); } @@ -362,11 +362,11 @@ void GSMLib::send(const Kopete::Message& msg) m_thread->send(msg); } -TQWidget* GSMLib::configureWidget(TQWidget* tqparent) +TQWidget* GSMLib::configureWidget(TQWidget* parent) { if (prefWidget == 0L) - prefWidget = new GSMLibPrefsUI(tqparent); + prefWidget = new GSMLibPrefsUI(parent); loadConfig(); prefWidget->device->setURL(m_device); diff --git a/kopete/protocols/sms/services/gsmlib.h b/kopete/protocols/sms/services/gsmlib.h index a3f01995..ac5066c7 100644 --- a/kopete/protocols/sms/services/gsmlib.h +++ b/kopete/protocols/sms/services/gsmlib.h @@ -52,7 +52,7 @@ public: ~GSMLib(); void send(const Kopete::Message& msg); - void setWidgetContainer(TQWidget* tqparent, TQGridLayout* container); + void setWidgetContainer(TQWidget* parent, TQGridLayout* container); int maxSize(); const TQString& description(); @@ -67,7 +67,7 @@ public slots: protected: virtual void customEvent(TQCustomEvent* e); - TQWidget* configureWidget(TQWidget* tqparent); + TQWidget* configureWidget(TQWidget* parent); void saveConfig(); void loadConfig(); @@ -108,7 +108,7 @@ protected: class GSMLibThread : public TQThread, gsmlib::GsmEvent { public: - GSMLibThread(TQString dev, GSMLib* tqparent); + GSMLibThread(TQString dev, GSMLib* parent); virtual ~GSMLibThread(); virtual void run(); diff --git a/kopete/protocols/sms/services/smsclient.cpp b/kopete/protocols/sms/services/smsclient.cpp index b45793d1..05712501 100644 --- a/kopete/protocols/sms/services/smsclient.cpp +++ b/kopete/protocols/sms/services/smsclient.cpp @@ -41,12 +41,12 @@ SMSClient::~SMSClient() { } -void SMSClient::setWidgetContainer(TQWidget* tqparent, TQGridLayout* tqlayout) +void SMSClient::setWidgetContainer(TQWidget* parent, TQGridLayout* tqlayout) { - kdWarning( 14160 ) << k_funcinfo << "ml: " << tqlayout << ", " << "mp: " << tqparent << endl; - m_parent = tqparent; + kdWarning( 14160 ) << k_funcinfo << "ml: " << tqlayout << ", " << "mp: " << parent << endl; + m_parent = parent; m_layout = tqlayout; - TQWidget *configWidget = configureWidget(tqparent); + TQWidget *configWidget = configureWidget(parent); tqlayout->addMultiCellWidget(configWidget, 0, 1, 0, 1); configWidget->show(); } @@ -87,12 +87,12 @@ void SMSClient::send(const Kopete::Message& msg) p->start(KProcess::Block, KProcess::AllOutput); } -TQWidget* SMSClient::configureWidget(TQWidget* tqparent) +TQWidget* SMSClient::configureWidget(TQWidget* parent) { kdWarning( 14160 ) << k_funcinfo << "m_account = " << m_account << " (should be ok if zero!!)" << endl; if (prefWidget == 0L) - prefWidget = new SMSClientPrefsUI(tqparent); + prefWidget = new SMSClientPrefsUI(parent); prefWidget->configDir->setMode(KFile::Directory); TQString configDir; diff --git a/kopete/protocols/sms/services/smsclient.h b/kopete/protocols/sms/services/smsclient.h index f922a011..06a89050 100644 --- a/kopete/protocols/sms/services/smsclient.h +++ b/kopete/protocols/sms/services/smsclient.h @@ -37,7 +37,7 @@ public: ~SMSClient(); void send(const Kopete::Message& msg); - void setWidgetContainer(TQWidget* tqparent, TQGridLayout* container); + void setWidgetContainer(TQWidget* parent, TQGridLayout* container); int maxSize(); const TQString& description(); @@ -52,7 +52,7 @@ signals: void messageSent(const Kopete::Message &); private: - TQWidget* configureWidget(TQWidget* tqparent); + TQWidget* configureWidget(TQWidget* parent); SMSClientPrefsUI* prefWidget; TQStringList providers(); diff --git a/kopete/protocols/sms/services/smssend.cpp b/kopete/protocols/sms/services/smssend.cpp index 8249948a..442d7f16 100644 --- a/kopete/protocols/sms/services/smssend.cpp +++ b/kopete/protocols/sms/services/smssend.cpp @@ -73,15 +73,15 @@ void SMSSend::send(const Kopete::Message& msg) m_provider->send(msg); } -void SMSSend::setWidgetContainer(TQWidget* tqparent, TQGridLayout* tqlayout) +void SMSSend::setWidgetContainer(TQWidget* parent, TQGridLayout* tqlayout) { - kdWarning( 14160 ) << k_funcinfo << "ml: " << tqlayout << ", " << "mp: " << tqparent << endl; - m_parent = tqparent; + kdWarning( 14160 ) << k_funcinfo << "ml: " << tqlayout << ", " << "mp: " << parent << endl; + m_parent = parent; m_layout = tqlayout; // could end up being deleted twice?? delete prefWidget; - prefWidget = new SMSSendPrefsUI(tqparent); + prefWidget = new SMSSendPrefsUI(parent); tqlayout->addMultiCellWidget(prefWidget, 0, 1, 0, 1); prefWidget->program->setMode(KFile::Directory); diff --git a/kopete/protocols/sms/services/smssend.h b/kopete/protocols/sms/services/smssend.h index 14adbd20..bd36d89c 100644 --- a/kopete/protocols/sms/services/smssend.h +++ b/kopete/protocols/sms/services/smssend.h @@ -41,7 +41,7 @@ public: virtual void setAccount(Kopete::Account* account); void send(const Kopete::Message& msg); - void setWidgetContainer(TQWidget* tqparent, TQGridLayout* container); + void setWidgetContainer(TQWidget* parent, TQGridLayout* container); int maxSize(); const TQString& description(); diff --git a/kopete/protocols/sms/services/smssendprovider.cpp b/kopete/protocols/sms/services/smssendprovider.cpp index e2f607aa..ffd0897e 100644 --- a/kopete/protocols/sms/services/smssendprovider.cpp +++ b/kopete/protocols/sms/services/smssendprovider.cpp @@ -32,8 +32,8 @@ #include "smsprotocol.h" #include "smscontact.h" -SMSSendProvider::SMSSendProvider(const TQString& providerName, const TQString& prefixValue, Kopete::Account* account, TQObject* tqparent, const char *name) - : TQObject( tqparent, name ), m_account(account) +SMSSendProvider::SMSSendProvider(const TQString& providerName, const TQString& prefixValue, Kopete::Account* account, TQObject* parent, const char *name) + : TQObject( parent, name ), m_account(account) { kdWarning( 14160 ) << k_funcinfo << "this = " << this << ", m_account = " << m_account << " (should be ok if zero!!)" << endl; diff --git a/kopete/protocols/sms/services/smssendprovider.h b/kopete/protocols/sms/services/smssendprovider.h index 9d899ce8..3ea98307 100644 --- a/kopete/protocols/sms/services/smssendprovider.h +++ b/kopete/protocols/sms/services/smssendprovider.h @@ -38,7 +38,7 @@ class SMSSendProvider : public TQObject Q_OBJECT TQ_OBJECT public: - SMSSendProvider(const TQString& providerName, const TQString& prefixValue, Kopete::Account* account, TQObject* tqparent = 0, const char* name = 0); + SMSSendProvider(const TQString& providerName, const TQString& prefixValue, Kopete::Account* account, TQObject* parent = 0, const char* name = 0); ~SMSSendProvider(); void setAccount(Kopete::Account *account); |