diff options
Diffstat (limited to 'kopete/protocols/groupwise/libgroupwise/gwchatrooms.h')
-rw-r--r-- | kopete/protocols/groupwise/libgroupwise/gwchatrooms.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/kopete/protocols/groupwise/libgroupwise/gwchatrooms.h b/kopete/protocols/groupwise/libgroupwise/gwchatrooms.h index 207531bb..4e73955a 100644 --- a/kopete/protocols/groupwise/libgroupwise/gwchatrooms.h +++ b/kopete/protocols/groupwise/libgroupwise/gwchatrooms.h @@ -16,8 +16,8 @@ ************************************************************************* */ -#include <qdatetime.h> -#include <qvaluelist.h> +#include <tqdatetime.h> +#include <tqvaluelist.h> #ifndef GROUPWISE_CHATROOMS_H #define GROUPWISE_CHATROOMS_H @@ -28,15 +28,15 @@ namespace GroupWise class ChatContact { public: - QString dn; + TQString dn; uint chatRights; }; -typedef QValueList<GroupWise::ChatContact> ChatContactList; +typedef TQValueList<GroupWise::ChatContact> ChatContactList; struct ChatroomSearchResult { - QString name; - QString ownerDN; + TQString name; + TQString ownerDN; uint participants; }; @@ -46,19 +46,19 @@ class Chatroom public: enum UserStatus { Participating, NotParticipating }; enum Rights { Read = 1, Write = 2, Modify = 4, Moderator = 8, Owner = 16 }; - QString creatorDN; - QString description; - QString disclaimer; - QString displayName; - QString objectId; - QString ownerDN; - QString query; - QString topic; + TQString creatorDN; + TQString description; + TQString disclaimer; + TQString displayName; + TQString objectId; + TQString ownerDN; + TQString query; + TQString topic; bool archive; uint maxUsers; uint chatRights; UserStatus userStatus; - QDateTime createdOn; + TQDateTime createdOn; uint participantsCount; // haveParticipants, Acl, Invites indicate if we have obtained these lists from the server, so we can tell 'not fetched list' and 'fetched empty list' apart. bool haveParticipants; @@ -72,7 +72,7 @@ class Chatroom Chatroom( ChatroomSearchResult csr ) { archive = false; maxUsers = 0; chatRights = 0; participantsCount = csr.participants; haveParticipants = false; haveAcl = false; haveInvites = false; ownerDN = csr.ownerDN; displayName = csr.name; } }; -typedef QValueList<Chatroom> ChatroomList; -typedef QMap<QString, Chatroom> ChatroomMap; +typedef TQValueList<Chatroom> ChatroomList; +typedef TQMap<TQString, Chatroom> ChatroomMap; } #endif |