From 69cac65817d949cda2672ec4f0aa73d5e66a0ba1 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 22 Jun 2011 00:30:31 +0000 Subject: TQt4 port kdenetwork This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kopete/protocols/gadu/gadusession.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'kopete/protocols/gadu/gadusession.h') diff --git a/kopete/protocols/gadu/gadusession.h b/kopete/protocols/gadu/gadusession.h index a1caeb0d..4487b63a 100644 --- a/kopete/protocols/gadu/gadusession.h +++ b/kopete/protocols/gadu/gadusession.h @@ -39,10 +39,10 @@ #include struct KGaduMessage { - QString message; // Unicode + TQString message; // Unicode unsigned int sender_id; // sender's UIN - QDateTime sendTime; - QByteArray rtf; + TQDateTime sendTime; + TQByteArray rtf; }; struct KGaduLoginParams { @@ -89,12 +89,13 @@ class TQStringList; namespace Kopete { class Message; } class GaduRichTextFormat; -class GaduSession : public QObject +class GaduSession : public TQObject { Q_OBJECT + TQ_OBJECT public: - GaduSession( TQObject* parent = 0, const char* name = 0 ); + GaduSession( TQObject* tqparent = 0, const char* name = 0 ); virtual ~GaduSession(); bool isConnected() const; int status() const; @@ -123,7 +124,7 @@ public slots: int addNotify( uin_t ); int removeNotify( uin_t ); int sendMessage( uin_t recipient, const Kopete::Message& msg, int msgClass ); - int changeStatus( int, bool forFriends = false ); + int changetqStatus( int, bool forFriends = false ); int changeStatusDescription( int, const TQString&, bool forFriends = false ); int ping(); -- cgit v1.2.1