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/irc/libkirc/ksslsocket.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'kopete/protocols/irc/libkirc/ksslsocket.h') diff --git a/kopete/protocols/irc/libkirc/ksslsocket.h b/kopete/protocols/irc/libkirc/ksslsocket.h index 79e3b70b..795941cc 100644 --- a/kopete/protocols/irc/libkirc/ksslsocket.h +++ b/kopete/protocols/irc/libkirc/ksslsocket.h @@ -29,15 +29,20 @@ class KSSLSocketPrivate; class KSSLSocket : public KExtendedSocket { Q_OBJECT + TQ_OBJECT public: KSSLSocket(); ~KSSLSocket(); - Q_LONG readBlock( char* data, Q_ULONG maxLen ); - Q_LONG writeBlock( const char* data, Q_ULONG len ); + TQ_LONG readBlock( char* data, TQ_ULONG maxLen ); + TQ_LONG writeBlock( const char* data, TQ_ULONG len ); int peekBlock( char *data, uint maxLen ); +#ifdef USE_QT4 + qint64 bytesAvailable() const; +#else // USE_QT4 int bytesAvailable() const; +#endif // USE_QT4 void showInfoDialog(); -- cgit v1.2.1