diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
commit | 47c8a359c5276062c4bc17f0e82410f29081b502 (patch) | |
tree | 2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kopete/protocols/groupwise/gwcontactlist.h | |
parent | 6f82532777a35e0e60bbd2b290b2e93e646f349b (diff) | |
download | tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/protocols/groupwise/gwcontactlist.h')
-rw-r--r-- | kopete/protocols/groupwise/gwcontactlist.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kopete/protocols/groupwise/gwcontactlist.h b/kopete/protocols/groupwise/gwcontactlist.h index e596b96c..613e1b3f 100644 --- a/kopete/protocols/groupwise/gwcontactlist.h +++ b/kopete/protocols/groupwise/gwcontactlist.h @@ -17,7 +17,7 @@ // GROUPWISE SERVER SIDE CONTACT LIST MODEL -#include <qobject.h> +#include <tqobject.h> #ifndef GW_CONTACTLIST_H #define GW_CONTACTLIST_H @@ -26,7 +26,7 @@ class GWFolder; class GWContactInstance; class GWContactListItem; -typedef QValueList<GWContactInstance *> GWContactInstanceList; +typedef TQValueList<GWContactInstance *> GWContactInstanceList; /** * These functions model the server side contact list structure enough to allow Kopete to manipulate it correctly @@ -43,12 +43,12 @@ class GWContactList : public QObject { Q_OBJECT public: - GWContactList( QObject * parent ); - GWFolder * addFolder( unsigned int id, unsigned int sequence, const QString & displayName ); - GWContactInstance * addContactInstance( unsigned int id, unsigned int parent, unsigned int sequence, const QString & displayName, const QString & dn ); + GWContactList( TQObject * parent ); + 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 ); GWFolder * findFolderById( unsigned int id ); - GWFolder * findFolderByName( const QString & name ); - GWContactInstanceList instancesWithDn( const QString & dn ); + GWFolder * findFolderByName( const TQString & name ); + GWContactInstanceList instancesWithDn( const TQString & dn ); void removeInstance( GWContactListItem * instance ); void removeInstanceById( unsigned int id ); int maxSequenceNumber(); @@ -61,18 +61,18 @@ class GWContactListItem : public QObject { Q_OBJECT public: - GWContactListItem( QObject * parent, unsigned int theId, unsigned int theSequence, const QString & theDisplayName ); + GWContactListItem( TQObject * parent, unsigned int theId, unsigned int theSequence, const TQString & theDisplayName ); unsigned int id; // OBJECT_ID unsigned int sequence; // SEQUENCE_NUMBER - QString displayName; // DISPLAY_NAME + TQString displayName; // DISPLAY_NAME }; class GWFolder : public GWContactListItem { Q_OBJECT public: - GWFolder( QObject * parent, unsigned int theId, unsigned int theSequence, const QString & theDisplayName ); + GWFolder( TQObject * parent, unsigned int theId, unsigned int theSequence, const TQString & theDisplayName ); virtual void dump( unsigned int depth ); }; @@ -80,8 +80,8 @@ class GWContactInstance : public GWContactListItem { Q_OBJECT public: - GWContactInstance( QObject * parent, unsigned int theId, unsigned int theSequence, const QString & theDisplayName, const QString & theDn ); - QString dn; // DN + GWContactInstance( TQObject * parent, unsigned int theId, unsigned int theSequence, const TQString & theDisplayName, const TQString & theDn ); + TQString dn; // DN virtual void dump( unsigned int depth ); }; |