summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/groupwise/gwcontactlist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/groupwise/gwcontactlist.cpp')
-rw-r--r--kopete/protocols/groupwise/gwcontactlist.cpp20
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 )