summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/groupwise/libgroupwise/gwchatrooms.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kopete/protocols/groupwise/libgroupwise/gwchatrooms.h
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-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/libgroupwise/gwchatrooms.h')
-rw-r--r--kopete/protocols/groupwise/libgroupwise/gwchatrooms.h34
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