summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/groupwise/libgroupwise/client.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/client.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/client.h')
-rw-r--r--kopete/protocols/groupwise/libgroupwise/client.h52
1 files changed, 26 insertions, 26 deletions
diff --git a/kopete/protocols/groupwise/libgroupwise/client.h b/kopete/protocols/groupwise/libgroupwise/client.h
index 102b0c27..9cdb7c68 100644
--- a/kopete/protocols/groupwise/libgroupwise/client.h
+++ b/kopete/protocols/groupwise/libgroupwise/client.h
@@ -21,7 +21,7 @@
#ifndef LIBGW_CLIENT_H
#define LIBGW_CLIENT_H
-#include <qstring.h>
+#include <tqstring.h>
#include "gwclientstream.h"
#include "gwerror.h"
@@ -46,12 +46,12 @@ Q_OBJECT
EXTERNAL API
*************/
- Client( QObject *parent = 0, uint protocolVersion = 2 );
+ Client( TQObject *parent = 0, uint protocolVersion = 2 );
~Client();
- void setOSName( const QString &name );
- void setClientName( const QString &s );
- void setClientVersion( const QString &s );
- void setUserDN( const QString & userDN );
+ void setOSName( const TQString &name );
+ void setClientName( const TQString &s );
+ void setClientVersion( const TQString &s );
+ void setUserDN( const TQString & userDN );
/**
* Start a connection to the server using the supplied @ref ClientStream.
* This is only a transport layer connection.
@@ -69,11 +69,11 @@ Q_OBJECT
* @param user The user name to log in as.
fd * @param password
*/
- void start( const QString &host, const uint port, const QString &userId, const QString &pass );
+ void start( const TQString &host, const uint port, const TQString &userId, const TQString &pass );
/**
* Logout and disconnect
- * Protocol action P4 void distribute(const QDomElement &);
+ * Protocol action P4 void distribute(const TQDomElement &);
*/
void close();
@@ -81,7 +81,7 @@ fd * @param password
/**
* Accessors needed for login
*/
- QString host();
+ TQString host();
int port();
/**
@@ -91,14 +91,14 @@ fd * @param password
* @param reason custom status name for away statuses
* @param autoReply auto reply message for use in this status
*/
- void setStatus( GroupWise::Status status, const QString & reason, const QString & autoReply );
+ void setStatus( GroupWise::Status status, const TQString & reason, const TQString & autoReply );
/**
* Send a message
* Protocol action P10
* @param message contains the text and the recipient.
*/
- void sendMessage( const QStringList & addresseeDNs, const OutgoingMessage & message );
+ void sendMessage( const TQStringList & addresseeDNs, const OutgoingMessage & message );
/**
* Send a typing notification
@@ -112,12 +112,12 @@ fd * @param password
* Request details for one or more users, for example, if we receive a message from someone who isn't on our contact list
* @param userDNs A list of one or more user's DNs to fetch details for
*/
- void requestDetails( const QStringList & userDNs );
+ void requestDetails( const TQStringList & userDNs );
/**
* Request the status of a single user, for example, if they have messaged us and are not on our contact list
*/
- void requestStatus( const QString & userDN );
+ void requestStatus( const TQString & userDN );
/**
* Add a contact to the contact list
@@ -137,7 +137,7 @@ fd * @param password
/**
* Overloaded version of the above to create a conference with a supplied list of invitees
*/
- void createConference( const int clientId, const QStringList & participants );
+ void createConference( const int clientId, const TQStringList & participants );
/**
* Join a conference, accepting an invitation
@@ -161,7 +161,7 @@ fd * @param password
* Send an invitation to join a conference
* Protocol action P9
*/
- void sendInvitation( const ConferenceGuid & guid, const QString & dn, const GroupWise::OutgoingMessage & message );
+ void sendInvitation( const ConferenceGuid & guid, const TQString & dn, const GroupWise::OutgoingMessage & message );
/*************
INTERNAL (FOR USE BY TASKS) METHODS
*************/
@@ -172,7 +172,7 @@ fd * @param password
/**
* Print a debug statement
*/
- void debug( const QString &str );
+ void debug( const TQString &str );
/**
* The protocol version of the Client
@@ -181,36 +181,36 @@ fd * @param password
/**
* Generate a unique ID for Tasks.
*/
- QString genUniqueId();
+ TQString genUniqueId();
/**
* The current user's user ID
*/
- QString userId();
+ TQString userId();
/**
* The current user's DN
*/
- QString userDN();
+ TQString userDN();
/**
* The current user's password
*/
- QString password();
+ TQString password();
/**
* User agent details for this host
*/
- QString userAgent();
+ TQString userAgent();
/**
* Host's IP address
*/
- QCString ipAddress();
+ TQCString ipAddress();
/**
* Obtain the list of custom statuses stored on the server
*/
- QValueList<GroupWise::CustomStatus> customStatuses();
+ TQValueList<GroupWise::CustomStatus> customStatuses();
/**
* Get a reference to the RequestFactory for this Client.
@@ -276,11 +276,11 @@ fd * @param password
/**
* A remote contact changed status
*/
- void statusReceived( const QString & contactId, Q_UINT16 status, const QString & statusText );
+ void statusReceived( const TQString & contactId, Q_UINT16 status, const TQString & statusText );
/**
* Our status changed on the server
*/
- void ourStatusChanged( GroupWise::Status status, const QString & statusText, const QString & autoReply );
+ void ourStatusChanged( GroupWise::Status status, const TQString & statusText, const TQString & autoReply );
/** CONFERENCE (MANAGEMENT) EVENTS */
/**
@@ -324,7 +324,7 @@ fd * @param password
/**
* We joined a conference.
*/
- void conferenceJoined( const GroupWise::ConferenceGuid &, const QStringList &, const QStringList & );
+ void conferenceJoined( const GroupWise::ConferenceGuid &, const TQStringList &, const TQStringList & );
/**
* We received an "is typing" event in a conference
*/