From 04646ab286db230b29b83d7daa36ccfc11b4ffa6 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 25 Aug 2023 18:51:58 +0900 Subject: Drop USE_TQT4 code Signed-off-by: Michele Calgaro (cherry picked from commit d0f97c560383bca36d505ae58d9c44f0f544349d) --- kopete/protocols/irc/libkirc/ksslsocket.cpp | 4 ---- kopete/protocols/irc/libkirc/ksslsocket.h | 4 ---- 2 files changed, 8 deletions(-) (limited to 'kopete/protocols/irc') diff --git a/kopete/protocols/irc/libkirc/ksslsocket.cpp b/kopete/protocols/irc/libkirc/ksslsocket.cpp index c64eb21a..a1781c24 100644 --- a/kopete/protocols/irc/libkirc/ksslsocket.cpp +++ b/kopete/protocols/irc/libkirc/ksslsocket.cpp @@ -106,11 +106,7 @@ TQ_LONG KSSLSocket::writeBlock( const char* data, TQ_ULONG len ) return d->kssl ? (d->kssl->write(data, len)) : -1; } -#ifdef USE_QT4 -qint64 KSSLSocket::bytesAvailable() const -#else // USE_QT4 int KSSLSocket::bytesAvailable() const -#endif // USE_QT4 { if( socketStatus() < connected ) return -2; diff --git a/kopete/protocols/irc/libkirc/ksslsocket.h b/kopete/protocols/irc/libkirc/ksslsocket.h index 6c2463bc..1b06fdaa 100644 --- a/kopete/protocols/irc/libkirc/ksslsocket.h +++ b/kopete/protocols/irc/libkirc/ksslsocket.h @@ -38,11 +38,7 @@ class KSSLSocket : public KExtendedSocket 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