kopete/libkopete
kopetesockettimeoutwatcher.cpp
Go to the documentation of this file.
35 SocketTimeoutWatcher* SocketTimeoutWatcher::watch( QAbstractSocket* socket, quint32 msecTimeout )
98 else if ( info.tcpi_last_ack_recv > info.tcpi_last_data_sent && info.tcpi_last_data_sent > mTimeoutThreshold )
void setInterval(int msec)
QHostAddress peerAddress() const
void error(QAbstractSocket::SocketError socketError)
Emitted when timeout is reached.
void abort()
const_iterator insert(const T &value)
~SocketTimeoutWatcher()
Definition: kopetesockettimeoutwatcher.cpp:60
static SocketTimeoutWatcher * watch(QAbstractSocket *socket, quint32 msecTimeout=15000)
Returns new SocketTimeoutWatcher or 0 if SocketTimeoutWatcher was already created for this socket...
Definition: kopetesockettimeoutwatcher.cpp:35
void stop()
void errorInt(int socketError)
bool contains(const T &value) const
bool remove(const T &value)
void start(int msec)
bool isActive() const
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
int socketDescriptor() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:29:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:29:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.