QTcpServer Class Reference
#include <qtcpserver.h>
Definition at line 61 of file qtcpserver.h.
|
| QTcpServer (QObject *parent=0) |
|
virtual | ~QTcpServer () |
|
bool | listen (const QHostAddress &address=QHostAddress::Any, quint16 port=0) |
|
void | close () |
|
bool | isListening () const |
|
void | setMaxPendingConnections (int numConnections) |
|
int | maxPendingConnections () const |
|
quint16 | serverPort () const |
|
QHostAddress | serverAddress () const |
|
int | socketDescriptor () const |
|
bool | setSocketDescriptor (int socketDescriptor) |
|
bool | waitForNewConnection (int msec=0, bool *timedOut=0) |
|
virtual bool | hasPendingConnections () const |
|
virtual QTcpSocket * | nextPendingConnection () |
|
QAbstractSocket::SocketError | serverError () const |
|
QString | errorString () const |
|
void | setProxy (const QNetworkProxy &networkProxy) |
|
QNetworkProxy | proxy () const |
|
Q_INVOKABLE | QObject (QObject *parent=0) |
|
virtual | ~QObject () |
|
virtual bool | event (QEvent *) |
|
virtual bool | eventFilter (QObject *, QEvent *) |
|
QString | objectName () const |
|
void | setObjectName (const QString &name) |
|
bool | isWidgetType () const |
|
bool | signalsBlocked () const |
|
bool | blockSignals (bool b) |
|
QThread * | thread () const |
|
void | moveToThread (QThread *thread) |
|
int | startTimer (int interval) |
|
void | killTimer (int id) |
|
template<typename T > |
T | findChild (const QString &aName=QString()) const |
|
template<typename T > |
QList< T > | findChildren (const QString &aName=QString()) const |
|
template<typename T > |
QList< T > | findChildren (const QRegExp &re) const |
|
const QObjectList & | children () const |
|
void | setParent (QObject *) |
|
void | installEventFilter (QObject *) |
|
void | removeEventFilter (QObject *) |
|
bool | connect (const QObject *sender, const char *signal, const char *member, Qt::ConnectionType type=Qt::AutoConnection) const |
|
bool | disconnect (const char *signal=0, const QObject *receiver=0, const char *member=0) |
|
bool | disconnect (const QObject *receiver, const char *member=0) |
|
void | dumpObjectTree () |
|
void | dumpObjectInfo () |
|
bool | setProperty (const char *name, const QVariant &value) |
|
QVariant | property (const char *name) const |
|
QList< QByteArray > | dynamicPropertyNames () const |
|
void | setUserData (uint id, QObjectUserData *data) |
|
QObjectUserData * | userData (uint id) const |
|
QObject * | parent () const |
|
bool | inherits (const char *classname) const |
|
|
void | deleteLater () |
|
static bool | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection) |
|
static bool | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type=Qt::AutoConnection) |
|
static bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *member) |
|
static bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &member) |
|
static uint | registerUserData () |
|
QScopedPointer< QObjectData > | d_ptr |
|
static const QMetaObject | staticQtMetaObject |
|
QString | objectName |
|
bool isListening |
( |
| ) |
const |
void setMaxPendingConnections |
( |
int |
numConnections | ) |
|
int maxPendingConnections |
( |
| ) |
const |
int socketDescriptor |
( |
| ) |
const |
bool setSocketDescriptor |
( |
int |
socketDescriptor | ) |
|
bool waitForNewConnection |
( |
int |
msec = 0 , |
|
|
bool * |
timedOut = 0 |
|
) |
| |
virtual bool hasPendingConnections |
( |
| ) |
const |
|
virtual |
virtual void incomingConnection |
( |
int |
handle | ) |
|
|
protectedvirtual |
The documentation for this class was generated from the following file: