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/libgroupwise/gwerror.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/libgroupwise/gwerror.h')
-rw-r--r-- | kopete/protocols/groupwise/libgroupwise/gwerror.h | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/kopete/protocols/groupwise/libgroupwise/gwerror.h b/kopete/protocols/groupwise/libgroupwise/gwerror.h index 5300f788..52a5ef36 100644 --- a/kopete/protocols/groupwise/libgroupwise/gwerror.h +++ b/kopete/protocols/groupwise/libgroupwise/gwerror.h @@ -18,10 +18,10 @@ #ifndef GW_ERROR_H #define GW_ERROR_H -#include <qdatetime.h> -#include <qglobal.h> -#include <qmap.h> -#include <qstring.h> +#include <tqdatetime.h> +#include <tqglobal.h> +#include <tqmap.h> +#include <tqstring.h> typedef Q_UINT16 NMERR_T; #define GROUPWISE_DEBUG_GLOBAL 14190 @@ -94,29 +94,29 @@ namespace GroupWise Closed = 0x10000000 }; - QString errorCodeToString( int errorCode ); + TQString errorCodeToString( int errorCode ); // helpful structs used to pass data between the client library and the application using it - class ConferenceGuid : public QString + class ConferenceGuid : public TQString { public: ConferenceGuid(); - ConferenceGuid( const QString & string ); + ConferenceGuid( const TQString & string ); ~ConferenceGuid(); }; bool operator==( const ConferenceGuid & g1, const ConferenceGuid & g2 ); - bool operator==( const QString & s, const ConferenceGuid & g ); - bool operator==( const ConferenceGuid & g, const QString & s ); + bool operator==( const TQString & s, const ConferenceGuid & g ); + bool operator==( const ConferenceGuid & g, const TQString & s ); struct ConferenceEvent { Event type; ConferenceGuid guid; - QString user; - QDateTime timeStamp; + TQString user; + TQDateTime timeStamp; Q_UINT32 flags; - QString message; + TQString message; }; struct FolderItem @@ -124,7 +124,7 @@ namespace GroupWise uint id; uint sequence; uint parentId; - QString name; + TQString name; }; struct ContactItem @@ -132,13 +132,13 @@ namespace GroupWise uint id; uint parentId; uint sequence; - QString dn; - QString displayName; + TQString dn; + TQString displayName; }; struct ContactDetails { - QString cn, + TQString cn, dn, givenName, surname, @@ -147,28 +147,28 @@ namespace GroupWise authAttribute; int status; bool archive; - QMap< QString, QString > properties; + TQMap< TQString, TQString > properties; }; struct OutgoingMessage { ConferenceGuid guid; - QString message; - QString rtfMessage; + TQString message; + TQString rtfMessage; }; struct UserSearchQueryTerm { - QString field; - QString argument; + TQString field; + TQString argument; int operation; }; struct CustomStatus { GroupWise::Status status; - QString name; - QString autoReply; + TQString name; + TQString autoReply; }; } |