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/groupwise/gwcontactlist.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/protocols/groupwise/gwcontactlist.cpp')
-rw-r--r-- | kopete/protocols/groupwise/gwcontactlist.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kopete/protocols/groupwise/gwcontactlist.cpp b/kopete/protocols/groupwise/gwcontactlist.cpp index 306a457c..ecca8912 100644 --- a/kopete/protocols/groupwise/gwcontactlist.cpp +++ b/kopete/protocols/groupwise/gwcontactlist.cpp @@ -22,8 +22,8 @@ #include "gwcontactlist.h" #include "gwerror.h" //debug area -GWContactList::GWContactList( TQObject * tqparent ) - : TQObject( tqparent ), rootFolder( new GWFolder( this, 0, 0, TQString() ) ) +GWContactList::GWContactList( TQObject * parent ) + : TQObject( parent ), rootFolder( new GWFolder( this, 0, 0, TQString() ) ) { } GWFolder * GWContactList::addFolder( unsigned int id, unsigned int sequence, const TQString & displayName ) @@ -34,7 +34,7 @@ GWFolder * GWContactList::addFolder( unsigned int id, unsigned int sequence, con return 0; } -GWContactInstance * GWContactList::addContactInstance( unsigned int id, unsigned int tqparent, unsigned int sequence, const TQString & displayName, const TQString & dn ) +GWContactInstance * GWContactList::addContactInstance( unsigned int id, unsigned int parent, unsigned int sequence, const TQString & displayName, const TQString & dn ) { TQObjectList * l = queryList( "GWFolder", 0, false, true ); TQObjectListIt it( *l ); // iterate over the buttons @@ -43,7 +43,7 @@ GWContactInstance * GWContactList::addContactInstance( unsigned int id, unsigned while ( (obj = it.current()) != 0 ) { GWFolder * folder = ::tqqt_cast< GWFolder * >( obj ); - if ( folder && folder->id == tqparent ) + if ( folder && folder->id == parent ) { contact = new GWContactInstance( folder, id, sequence, displayName, dn ); break; @@ -187,12 +187,12 @@ void GWContactList::clear() } } -GWContactListItem::GWContactListItem( TQObject * tqparent, unsigned int theId, unsigned int theSequence, const TQString & theDisplayName ) : - TQObject( tqparent), id( theId ), sequence( theSequence ), displayName( theDisplayName ) +GWContactListItem::GWContactListItem( TQObject * parent, unsigned int theId, unsigned int theSequence, const TQString & theDisplayName ) : + TQObject( parent), id( theId ), sequence( theSequence ), displayName( theDisplayName ) { } -GWFolder::GWFolder( TQObject * tqparent, unsigned int theId, unsigned int theSequence, const TQString & theDisplayName ) : - GWContactListItem( tqparent, theId, theSequence, theDisplayName ) +GWFolder::GWFolder( TQObject * parent, unsigned int theId, unsigned int theSequence, const TQString & theDisplayName ) : + GWContactListItem( parent, theId, theSequence, theDisplayName ) { } void GWFolder::dump( unsigned int depth ) @@ -223,8 +223,8 @@ void GWFolder::dump( unsigned int depth ) kdDebug( GROUPWISE_DEBUG_GLOBAL ) << s << " no contacts." << endl; } -GWContactInstance::GWContactInstance( TQObject * tqparent, unsigned int theId, unsigned int theSequence, const TQString & theDisplayName, const TQString & theDn ) : - GWContactListItem( tqparent, theId, theSequence, theDisplayName ), dn( theDn ) +GWContactInstance::GWContactInstance( TQObject * parent, unsigned int theId, unsigned int theSequence, const TQString & theDisplayName, const TQString & theDn ) : + GWContactListItem( parent, theId, theSequence, theDisplayName ), dn( theDn ) { } void GWContactInstance::dump( unsigned int depth ) |