summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/groupwise/gwcontactlist.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
commit69cac65817d949cda2672ec4f0aa73d5e66a0ba1 (patch)
tree073fde0496ea90eb5bf5cffe66a8da43a9f55fbc /kopete/protocols/groupwise/gwcontactlist.h
parent3467e6464beac3a162839bf7078e22e3a74d73e7 (diff)
downloadtdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.tar.gz
tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.zip
TQt4 port kdenetwork
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/protocols/groupwise/gwcontactlist.h')
-rw-r--r--kopete/protocols/groupwise/gwcontactlist.h18
1 files changed, 11 insertions, 7 deletions
diff --git a/kopete/protocols/groupwise/gwcontactlist.h b/kopete/protocols/groupwise/gwcontactlist.h
index 613e1b3f..e6f2dcac 100644
--- a/kopete/protocols/groupwise/gwcontactlist.h
+++ b/kopete/protocols/groupwise/gwcontactlist.h
@@ -39,13 +39,14 @@ typedef TQValueList<GWContactInstance *> GWContactInstanceList;
* different clients.
* The list is volatile - it is not stored in stable storage, but is purged on disconnect and recreated at login.
*/
-class GWContactList : public QObject
+class GWContactList : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
- GWContactList( TQObject * parent );
+ GWContactList( TQObject * tqparent );
GWFolder * addFolder( unsigned int id, unsigned int sequence, const TQString & displayName );
- GWContactInstance * addContactInstance( unsigned int id, unsigned int parent, unsigned int sequence, const TQString & displayName, const TQString & dn );
+ GWContactInstance * addContactInstance( unsigned int id, unsigned int tqparent, unsigned int sequence, const TQString & displayName, const TQString & dn );
GWFolder * findFolderById( unsigned int id );
GWFolder * findFolderByName( const TQString & name );
GWContactInstanceList instancesWithDn( const TQString & dn );
@@ -57,11 +58,12 @@ public:
GWFolder * rootFolder;
};
-class GWContactListItem : public QObject
+class GWContactListItem : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
- GWContactListItem( TQObject * parent, unsigned int theId, unsigned int theSequence, const TQString & theDisplayName );
+ GWContactListItem( TQObject * tqparent, unsigned int theId, unsigned int theSequence, const TQString & theDisplayName );
unsigned int id; // OBJECT_ID
unsigned int sequence; // SEQUENCE_NUMBER
@@ -71,16 +73,18 @@ public:
class GWFolder : public GWContactListItem
{
Q_OBJECT
+ TQ_OBJECT
public:
- GWFolder( TQObject * parent, unsigned int theId, unsigned int theSequence, const TQString & theDisplayName );
+ GWFolder( TQObject * tqparent, unsigned int theId, unsigned int theSequence, const TQString & theDisplayName );
virtual void dump( unsigned int depth );
};
class GWContactInstance : public GWContactListItem
{
Q_OBJECT
+ TQ_OBJECT
public:
- GWContactInstance( TQObject * parent, unsigned int theId, unsigned int theSequence, const TQString & theDisplayName, const TQString & theDn );
+ GWContactInstance( TQObject * tqparent, unsigned int theId, unsigned int theSequence, const TQString & theDisplayName, const TQString & theDn );
TQString dn; // DN
virtual void dump( unsigned int depth );
};