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/libkopete/kopeteaccount.cpp | |
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/libkopete/kopeteaccount.cpp')
-rw-r--r-- | kopete/libkopete/kopeteaccount.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kopete/libkopete/kopeteaccount.cpp b/kopete/libkopete/kopeteaccount.cpp index 0477ccd3..5d653728 100644 --- a/kopete/libkopete/kopeteaccount.cpp +++ b/kopete/libkopete/kopeteaccount.cpp @@ -83,8 +83,8 @@ public: TQString restoreMessage; }; -Account::Account( Protocol *tqparent, const TQString &accountId, const char *name ) - : TQObject( tqparent, name ), d( new Private( tqparent, accountId ) ) +Account::Account( Protocol *parent, const TQString &accountId, const char *name ) + : TQObject( parent, name ), d( new Private( parent, accountId ) ) { d->configGroup=new KConfigGroup(KGlobal::config(), TQString::tqfromLatin1( "Account_%1_%2" ).tqarg( d->protocol->pluginId(), d->id )); @@ -316,7 +316,7 @@ Kopete::MetaContact* Account::addContact( const TQString &contactId, const TQStr return parentContact; } -bool Account::addContact(const TQString &contactId , MetaContact *tqparent, AddMode mode ) +bool Account::addContact(const TQString &contactId , MetaContact *parent, AddMode mode ) { if ( contactId == myself()->contactId() ) { @@ -326,7 +326,7 @@ bool Account::addContact(const TQString &contactId , MetaContact *tqparent, AddM return 0L; } - bool isTemporary= tqparent->isTemporary(); + bool isTemporary= parent->isTemporary(); Contact *c = d->contacts[ contactId ]; if ( c && c->metaContact() ) { @@ -336,7 +336,7 @@ bool Account::addContact(const TQString &contactId , MetaContact *tqparent, AddM "Account::addContact: You are trying to add an existing temporary contact. Just add it on the list" << endl; //setMetaContact ill take care about the deletion of the old contact - c->setMetaContact(tqparent); + c->setMetaContact(parent); return true; } else @@ -347,12 +347,12 @@ bool Account::addContact(const TQString &contactId , MetaContact *tqparent, AddM return false; //(the contact is not in the correct metacontact, so false) } - bool success = createContact(contactId, tqparent); + bool success = createContact(contactId, parent); if ( success && mode == ChangeKABC ) { kdDebug( 14010 ) << k_funcinfo << " changing KABC" << endl; - KABCPersistence::self()->write( tqparent ); + KABCPersistence::self()->write( parent ); } return success; @@ -508,9 +508,9 @@ bool Account::isBlocked( const TQString &contactId ) return d->blackList->isBlocked( contactId ); } -void Account::editAccount(TQWidget *tqparent) +void Account::editAccount(TQWidget *parent) { - KDialogBase *editDialog = new KDialogBase( tqparent, "KopeteAccountConfig::editDialog", true, + KDialogBase *editDialog = new KDialogBase( parent, "KopeteAccountConfig::editDialog", true, i18n( "Edit Account" ), KDialogBase::Ok | KDialogBase::Cancel, KDialogBase::Ok, true ); |