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/meanwhile | |
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/meanwhile')
11 files changed, 24 insertions, 24 deletions
diff --git a/kopete/protocols/meanwhile/meanwhileaccount.cpp b/kopete/protocols/meanwhile/meanwhileaccount.cpp index f96b10f8..805cba1b 100644 --- a/kopete/protocols/meanwhile/meanwhileaccount.cpp +++ b/kopete/protocols/meanwhile/meanwhileaccount.cpp @@ -35,17 +35,17 @@ #include <tqdict.h> MeanwhileAccount::MeanwhileAccount( - MeanwhileProtocol *tqparent, + MeanwhileProtocol *parent, const TQString &accountID, const char *name) - : Kopete::PasswordedAccount(tqparent, accountID, 0, name) + : Kopete::PasswordedAccount(parent, accountID, 0, name) { HERE; m_meanwhileId = accountID; m_session = 0L; setMyself(new MeanwhileContact(m_meanwhileId, m_meanwhileId, this, Kopete::ContactList::self()->myself())); - setOnlineStatus(tqparent->statusOffline); + setOnlineStatus(parent->statusOffline); infoPlugin = new MeanwhilePlugin(); } diff --git a/kopete/protocols/meanwhile/meanwhileaddcontactpage.cpp b/kopete/protocols/meanwhile/meanwhileaddcontactpage.cpp index 7eb44fd2..57dca0c0 100644 --- a/kopete/protocols/meanwhile/meanwhileaddcontactpage.cpp +++ b/kopete/protocols/meanwhile/meanwhileaddcontactpage.cpp @@ -26,10 +26,10 @@ #include "meanwhileplugin.h" MeanwhileAddContactPage::MeanwhileAddContactPage( - TQWidget* tqparent, + TQWidget* parent, Kopete::Account *_account) - : AddContactPage(tqparent, 0L), theAccount(_account), - theParent(tqparent) + : AddContactPage(parent, 0L), theAccount(_account), + theParent(parent) { ( new TQVBoxLayout( this ) )->setAutoAdd( true ); theDialog = new MeanwhileAddContactBase(this); diff --git a/kopete/protocols/meanwhile/meanwhileaddcontactpage.h b/kopete/protocols/meanwhile/meanwhileaddcontactpage.h index 4807b3e0..dadf6848 100644 --- a/kopete/protocols/meanwhile/meanwhileaddcontactpage.h +++ b/kopete/protocols/meanwhile/meanwhileaddcontactpage.h @@ -28,7 +28,7 @@ class MeanwhileAddContactPage : public AddContactPage Q_OBJECT TQ_OBJECT public: - MeanwhileAddContactPage( TQWidget* tqparent = 0, + MeanwhileAddContactPage( TQWidget* parent = 0, Kopete::Account *account=0); ~MeanwhileAddContactPage(); diff --git a/kopete/protocols/meanwhile/meanwhilecontact.cpp b/kopete/protocols/meanwhile/meanwhilecontact.cpp index 450bc8e4..e77d470a 100644 --- a/kopete/protocols/meanwhile/meanwhilecontact.cpp +++ b/kopete/protocols/meanwhile/meanwhilecontact.cpp @@ -30,8 +30,8 @@ #include "meanwhileplugin.h" MeanwhileContact::MeanwhileContact(TQString userId, TQString nickname, - MeanwhileAccount *account, Kopete::MetaContact *tqparent) - : Kopete::Contact(account, userId, tqparent) + MeanwhileAccount *account, Kopete::MetaContact *parent) + : Kopete::Contact(account, userId, parent) { setNickName(nickname); m_msgManager = 0L; diff --git a/kopete/protocols/meanwhile/meanwhilecontact.h b/kopete/protocols/meanwhile/meanwhilecontact.h index 28f49c2a..180ff0d3 100644 --- a/kopete/protocols/meanwhile/meanwhilecontact.h +++ b/kopete/protocols/meanwhile/meanwhilecontact.h @@ -35,7 +35,7 @@ class MeanwhileContact : public Kopete::Contact public: MeanwhileContact(TQString userId, TQString nickname, - MeanwhileAccount *account, Kopete::MetaContact *tqparent); + MeanwhileAccount *account, Kopete::MetaContact *parent); ~MeanwhileContact(); virtual bool isReachable(); diff --git a/kopete/protocols/meanwhile/meanwhileeditaccountwidget.cpp b/kopete/protocols/meanwhile/meanwhileeditaccountwidget.cpp index e1ef6100..58c70f68 100644 --- a/kopete/protocols/meanwhile/meanwhileeditaccountwidget.cpp +++ b/kopete/protocols/meanwhile/meanwhileeditaccountwidget.cpp @@ -64,10 +64,10 @@ void MeanwhileEditAccountWidget::selectClientListItem(int selectedID) } MeanwhileEditAccountWidget::MeanwhileEditAccountWidget( - TQWidget* tqparent, + TQWidget* parent, Kopete::Account* theAccount, MeanwhileProtocol *theProtocol) - : MeanwhileEditAccountBase(tqparent), + : MeanwhileEditAccountBase(parent), KopeteEditAccountWidget( theAccount ) { protocol = theProtocol; diff --git a/kopete/protocols/meanwhile/meanwhileeditaccountwidget.h b/kopete/protocols/meanwhile/meanwhileeditaccountwidget.h index a208b5f2..0f38bc4f 100644 --- a/kopete/protocols/meanwhile/meanwhileeditaccountwidget.h +++ b/kopete/protocols/meanwhile/meanwhileeditaccountwidget.h @@ -31,7 +31,7 @@ class MeanwhileEditAccountWidget : Q_OBJECT TQ_OBJECT public: - MeanwhileEditAccountWidget( TQWidget* tqparent, + MeanwhileEditAccountWidget( TQWidget* parent, Kopete::Account* account, MeanwhileProtocol *protocol); diff --git a/kopete/protocols/meanwhile/meanwhileplugin.cpp b/kopete/protocols/meanwhile/meanwhileplugin.cpp index 13a06b11..4ee995dd 100644 --- a/kopete/protocols/meanwhile/meanwhileplugin.cpp +++ b/kopete/protocols/meanwhile/meanwhileplugin.cpp @@ -18,7 +18,7 @@ #include <tqlineedit.h> #include "meanwhileplugin.h" -void MeanwhilePlugin::getMeanwhileId(TQWidget * /*tqparent*/, +void MeanwhilePlugin::getMeanwhileId(TQWidget * /*parent*/, TQLineEdit * /*fillThis*/) { } diff --git a/kopete/protocols/meanwhile/meanwhileplugin.h b/kopete/protocols/meanwhile/meanwhileplugin.h index 3c5c2768..072ffc08 100644 --- a/kopete/protocols/meanwhile/meanwhileplugin.h +++ b/kopete/protocols/meanwhile/meanwhileplugin.h @@ -29,7 +29,7 @@ public: * - like do lookups in company databases * when done fill 'fillThis' with the id of the contact */ - virtual void getMeanwhileId(TQWidget *tqparent,TQLineEdit *fillThis); + virtual void getMeanwhileId(TQWidget *parent,TQLineEdit *fillThis); /* can this plugin provide the above functionality */ virtual bool canProvideMeanwhileId(); diff --git a/kopete/protocols/meanwhile/meanwhileprotocol.cpp b/kopete/protocols/meanwhile/meanwhileprotocol.cpp index b20eb48a..5f9b4ce7 100644 --- a/kopete/protocols/meanwhile/meanwhileprotocol.cpp +++ b/kopete/protocols/meanwhile/meanwhileprotocol.cpp @@ -29,9 +29,9 @@ typedef KGenericFactory<MeanwhileProtocol> MeanwhileProtocolFactory; K_EXPORT_COMPONENT_FACTORY(kopete_meanwhile, MeanwhileProtocolFactory("kopete_meanwhile")) -MeanwhileProtocol::MeanwhileProtocol(TQObject* tqparent, const char *name, +MeanwhileProtocol::MeanwhileProtocol(TQObject* parent, const char *name, const TQStringList &/*args*/) -: Kopete::Protocol(MeanwhileProtocolFactory::instance(), tqparent, name), +: Kopete::Protocol(MeanwhileProtocolFactory::instance(), parent, name), statusOffline(Kopete::OnlineStatus::Offline, 25, this, 0, TQString(), i18n("Offline"), i18n("Offline"), @@ -73,16 +73,16 @@ MeanwhileProtocol::~MeanwhileProtocol() { } -AddContactPage * MeanwhileProtocol::createAddContactWidget(TQWidget *tqparent, +AddContactPage * MeanwhileProtocol::createAddContactWidget(TQWidget *parent, Kopete::Account *account ) { - return new MeanwhileAddContactPage(tqparent, account); + return new MeanwhileAddContactPage(parent, account); } KopeteEditAccountWidget * MeanwhileProtocol::createEditAccountWidget( - Kopete::Account *account, TQWidget *tqparent ) + Kopete::Account *account, TQWidget *parent ) { - return new MeanwhileEditAccountWidget(tqparent, account, this); + return new MeanwhileEditAccountWidget(parent, account, this); } Kopete::Account *MeanwhileProtocol::createNewAccount(const TQString &accountId) diff --git a/kopete/protocols/meanwhile/meanwhileprotocol.h b/kopete/protocols/meanwhile/meanwhileprotocol.h index 98c8804a..dab52878 100644 --- a/kopete/protocols/meanwhile/meanwhileprotocol.h +++ b/kopete/protocols/meanwhile/meanwhileprotocol.h @@ -40,16 +40,16 @@ class MeanwhileProtocol : public Kopete::Protocol Q_OBJECT TQ_OBJECT public: - MeanwhileProtocol(TQObject *tqparent, const char *name, + MeanwhileProtocol(TQObject *parent, const char *name, const TQStringList &args); ~MeanwhileProtocol(); - virtual AddContactPage *createAddContactWidget(TQWidget *tqparent, + virtual AddContactPage *createAddContactWidget(TQWidget *parent, Kopete::Account *account); virtual KopeteEditAccountWidget *createEditAccountWidget( - Kopete::Account *account, TQWidget *tqparent); + Kopete::Account *account, TQWidget *parent); virtual Kopete::Account *createNewAccount(const TQString &accountId); |