diff options
Diffstat (limited to 'kopete/protocols/gadu/gadusession.h')
-rw-r--r-- | kopete/protocols/gadu/gadusession.h | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/kopete/protocols/gadu/gadusession.h b/kopete/protocols/gadu/gadusession.h index 9ace0f18..f690ed46 100644 --- a/kopete/protocols/gadu/gadusession.h +++ b/kopete/protocols/gadu/gadusession.h @@ -25,14 +25,14 @@ #include "kopeteaccount.h" -#include <qvaluelist.h> -#include <qptrlist.h> -#include <qobject.h> -#include <qstring.h> -#include <qstringlist.h> -#include <qdatetime.h> -#include <qcstring.h> -#include <qhostaddress.h> +#include <tqvaluelist.h> +#include <tqptrlist.h> +#include <tqobject.h> +#include <tqstring.h> +#include <tqstringlist.h> +#include <tqdatetime.h> +#include <tqcstring.h> +#include <tqhostaddress.h> #include "gaducontactlist.h" @@ -47,10 +47,10 @@ struct KGaduMessage { struct KGaduLoginParams { uin_t uin; - QString password; + TQString password; bool useTls; int status; - QString statusDescr; + TQString statusDescr; unsigned int server; bool forFriends; unsigned int client_addr; @@ -59,30 +59,30 @@ struct KGaduLoginParams { struct KGaduNotify { int status; - QHostAddress remote_ip; + TQHostAddress remote_ip; unsigned short remote_port; bool fileCap; int version; int image_size; int time; - QString description; + TQString description; unsigned int contact_id; }; struct ResLine{ unsigned int uin; - QString firstname; - QString surname; - QString nickname; - QString age; - QString city; - QString orgin; - QString meiden; - QString gender; + TQString firstname; + TQString surname; + TQString nickname; + TQString age; + TQString city; + TQString orgin; + TQString meiden; + TQString gender; int status; }; -typedef QValueList<ResLine> SearchResult; +typedef TQValueList<ResLine> SearchResult; class QSocketNotifier; class QStringList; @@ -94,15 +94,15 @@ class GaduSession : public QObject Q_OBJECT public: - GaduSession( QObject* parent = 0, const char* name = 0 ); + GaduSession( TQObject* parent = 0, const char* name = 0 ); virtual ~GaduSession(); bool isConnected() const; int status() const; - QString contactsToString( GaduContactsList* contactsList ); - bool stringToContacts( GaduContactsList& , const QString& ); - static QString failureDescription( gg_failure_t ); - static QString errorDescription( int err ); - static QString stateDescription( int state ); + TQString contactsToString( GaduContactsList* contactsList ); + bool stringToContacts( GaduContactsList& , const TQString& ); + static TQString failureDescription( gg_failure_t ); + static TQString errorDescription( int err ); + static TQString stateDescription( int state ); void dccRequest( const unsigned int ); unsigned int getPersonalInformation(); /* @@ -124,7 +124,7 @@ public slots: int removeNotify( uin_t ); int sendMessage( uin_t recipient, const Kopete::Message& msg, int msgClass ); int changeStatus( int, bool forFriends = false ); - int changeStatusDescription( int, const QString&, bool forFriends = false ); + int changeStatusDescription( int, const TQString&, bool forFriends = false ); int ping(); void requestContacts(); @@ -138,7 +138,7 @@ public slots: bool publishPersonalInformation( ResLine& ); signals: - void error( const QString&, const QString& ); + void error( const TQString&, const TQString& ); void messageReceived( KGaduMessage* ); void ackReceived( unsigned int ); void contactStatusChanged( KGaduNotify* ); @@ -147,7 +147,7 @@ signals: void connectionSucceed( ); void disconnect( Kopete::Account::DisconnectReason ); void pubDirSearchResult( const SearchResult&, unsigned int ); - void userListRecieved( const QString& ); + void userListRecieved( const TQString& ); void userListExported(); void incomingCtcp( unsigned int ); @@ -167,10 +167,10 @@ private: void createNotifiers( bool connect ); gg_session* session_; - QSocketNotifier* read_; - QSocketNotifier* write_; + TQSocketNotifier* read_; + TQSocketNotifier* write_; gg_login_params params_; - QTextCodec* textcodec; + TQTextCodec* textcodec; int searchSeqNr_; GaduRichTextFormat* rtf; }; |