Drop USE_TQT4 code

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/56/head
Michele Calgaro 1 year ago
parent 21865be19a
commit d0f97c5603
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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;

@ -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();

Loading…
Cancel
Save