summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/groupwise/gwcontactlist.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-26 02:32:58 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-26 17:42:47 +0900
commitb195cf38b5aab00d925b2be771650066d2cbb90c (patch)
tree0f326d307fc4ae9f9c9d710321313f2df57d2872 /kopete/protocols/groupwise/gwcontactlist.cpp
parent4edd87ce22471182533a7adf734701a30f6f21a6 (diff)
downloadtdenetwork-b195cf38.tar.gz
tdenetwork-b195cf38.zip
Replaced various '#define' with actual strings - part 4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 335c366622612e7641001c7b4de62024152f0ff1)
Diffstat (limited to 'kopete/protocols/groupwise/gwcontactlist.cpp')
-rw-r--r--kopete/protocols/groupwise/gwcontactlist.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kopete/protocols/groupwise/gwcontactlist.cpp b/kopete/protocols/groupwise/gwcontactlist.cpp
index ecca8912..08810b85 100644
--- a/kopete/protocols/groupwise/gwcontactlist.cpp
+++ b/kopete/protocols/groupwise/gwcontactlist.cpp
@@ -42,7 +42,7 @@ GWContactInstance * GWContactList::addContactInstance( unsigned int id, unsigned
GWContactInstance * contact = 0;
while ( (obj = it.current()) != 0 )
{
- GWFolder * folder = ::tqqt_cast< GWFolder * >( obj );
+ GWFolder * folder = ::tqt_cast< GWFolder * >( obj );
if ( folder && folder->id == parent )
{
contact = new GWContactInstance( folder, id, sequence, displayName, dn );
@@ -62,7 +62,7 @@ GWFolder * GWContactList::findFolderById( unsigned int id )
GWFolder * candidate, * folder = 0;
while ( (obj = it.current()) != 0 )
{
- candidate = ::tqqt_cast< GWFolder * >( obj );
+ candidate = ::tqt_cast< GWFolder * >( obj );
if ( candidate->id == id )
{
folder = candidate;
@@ -82,7 +82,7 @@ GWFolder * GWContactList::findFolderByName( const TQString & displayName )
GWFolder * folder = 0;
while ( (obj = it.current()) != 0 )
{
- GWFolder * candidate = ::tqqt_cast< GWFolder * >( obj );
+ GWFolder * candidate = ::tqt_cast< GWFolder * >( obj );
if ( candidate->displayName == displayName )
{
folder = candidate;
@@ -102,7 +102,7 @@ int GWContactList::maxSequenceNumber()
unsigned int sequence = 0;
while ( (obj = it.current()) != 0 )
{
- GWFolder * current = ::tqqt_cast< GWFolder * >( obj );
+ GWFolder * current = ::tqt_cast< GWFolder * >( obj );
sequence = TQMAX( sequence, current->sequence );
++it;
}
@@ -119,7 +119,7 @@ GWContactInstanceList GWContactList::instancesWithDn( const TQString & dn )
while ( (obj = it.current()) != 0 )
{
++it;
- GWContactInstance * current = ::tqqt_cast<GWContactInstance *>( obj );
+ GWContactInstance * current = ::tqt_cast<GWContactInstance *>( obj );
if ( current->dn == dn )
matches.append( current );
}
@@ -141,7 +141,7 @@ void GWContactList::removeInstanceById( unsigned int id )
while ( (obj = it.current()) != 0 )
{
++it;
- GWContactInstance * current = ::tqqt_cast<GWContactInstance *>( obj );
+ GWContactInstance * current = ::tqt_cast<GWContactInstance *>( obj );
if ( current->id == id )
{
delete current;
@@ -161,7 +161,7 @@ void GWContactList::dump()
TQObject *obj;
while ( (obj = it.current()) != 0 )
{
- GWFolder * folder = ::tqqt_cast< GWFolder * >( obj );
+ GWFolder * folder = ::tqt_cast< GWFolder * >( obj );
if ( folder )
folder->dump( 1 );
++it;
@@ -208,12 +208,12 @@ void GWFolder::dump( unsigned int depth )
while ( (obj = it.current()) != 0 )
{
++it;
- GWContactInstance * instance = ::tqqt_cast< GWContactInstance * >( obj );
+ GWContactInstance * instance = ::tqt_cast< GWContactInstance * >( obj );
if (instance)
instance->dump( depth );
else
{
- GWFolder * folder = ::tqqt_cast< GWFolder * >( obj );
+ GWFolder * folder = ::tqt_cast< GWFolder * >( obj );
if ( folder )
folder->dump( depth );
}