summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/irc
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-31 09:55:00 +0900
commit04646ab286db230b29b83d7daa36ccfc11b4ffa6 (patch)
tree6b587d1f0e40570956ec0ce3ffb109e231a83504 /kopete/protocols/irc
parent8c4f5d5c911f09c5bd523c091a85721f44048826 (diff)
downloadtdenetwork-04646ab286db230b29b83d7daa36ccfc11b4ffa6.tar.gz
tdenetwork-04646ab286db230b29b83d7daa36ccfc11b4ffa6.zip
Drop USE_TQT4 code
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit d0f97c560383bca36d505ae58d9c44f0f544349d)
Diffstat (limited to 'kopete/protocols/irc')
-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();