summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-25 18:51:58 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-25 18:51:58 +0900
commitd0f97c560383bca36d505ae58d9c44f0f544349d (patch)
tree069f46b17c686dd5ae56dda8ee52f4f2e7c56e72
parent21865be19a2796bfb2f92457ea5407f066972ec4 (diff)
downloadtdenetwork-d0f97c560383bca36d505ae58d9c44f0f544349d.tar.gz
tdenetwork-d0f97c560383bca36d505ae58d9c44f0f544349d.zip
Drop USE_TQT4 code
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--kopete/protocols/irc/libkirc/ksslsocket.cpp4
-rw-r--r--kopete/protocols/irc/libkirc/ksslsocket.h4
2 files changed, 0 insertions, 8 deletions
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();