|
| | TcpClient (QObject *parent=0) |
| |
| virtual | ~TcpClient () |
| |
| bool | connect (const QHostAddress &address=QHostAddress::LocalHost, int port=DEFAULT_PORT) |
| |
| bool | isConnected () |
| |
| void | disconnect () |
| |
| Model * | createModel (const QString &name, const QList< BackendSetting > &settings=QList< BackendSetting >()) |
| |
| void | removeModel (const QString &name) |
| |
| | QObject (QObject *parent=0) |
| |
| | blockSignals (bool block) |
| |
| | childEvent (QChildEvent *event) |
| |
| | children () |
| |
| | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type=Qt::AutoCompatConnection) |
| |
| | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type=Qt::AutoCompatConnection) |
| |
| | connectNotify (const char *signal) |
| |
| | customEvent (QEvent *event) |
| |
| | deleteLater () |
| |
| | destroyed (QObject *obj=0) |
| |
| | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
| |
| | disconnect (const char *signal=0, const QObject *receiver=0, const char *method=0) |
| |
| | disconnect (const QObject *receiver, const char *method=0) |
| |
| | disconnectNotify (const char *signal) |
| |
| | dumpObjectInfo () |
| |
| | dumpObjectTree () |
| |
| | dynamicPropertyNames () |
| |
| | event (QEvent *e) |
| |
| | eventFilter (QObject *watched, QEvent *event) |
| |
| | findChild (const QString &name=QString() |
| |
| | findChildren (const QString &name=QString() |
| |
| | findChildren (const QRegExp ®Exp) |
| |
| | inherits (const char *className) |
| |
| | installEventFilter (QObject *filterObj) |
| |
| | isWidgetType () |
| |
| | killTimer (int id) |
| |
| | metaObject () |
| |
| | moveToThread (QThread *targetThread) |
| |
| | parent () |
| |
| | property (const char *name) |
| |
| | receivers (const char *signal) |
| |
| | removeEventFilter (QObject *obj) |
| |
| | sender () |
| |
| | setParent (QObject *parent) |
| |
| | setProperty (const char *name, const QVariant &value) |
| |
| | signalsBlocked () |
| |
| | startTimer (int interval) |
| |
| | thread () |
| |
| | timerEvent (QTimerEvent *event) |
| |
| | tr (const char *sourceText, const char *comment=0, int n=-1) |
| |
| | trUtf8 (const char *sourceText, const char *comment=0, int n=-1) |
| |
| | staticMetaObject |
| |
| | QObject (QObject *parent, const char *name) |
| |
| | checkConnectArgs (const char *signal, const QObject *object, const char *method) |
| |
| | child (const char *objName, const char *inheritsClass=0, bool recursiveSearch=true) |
| |
| | className () |
| |
| | insertChild (QObject *object) |
| |
| | isA (const char *className) |
| |
| | name () |
| |
| | name (const char *defaultName) |
| |
| | normalizeSignalSlot (const char *signalSlot) |
| |
| | removeChild (QObject *object) |
| |
| | setName (const char *name) |
| |
| virtual | ~ErrorCache () |
| |
| virtual Error | lastError () const |
| |
Creates a connection to the Soprano server through a TCP connection.
The Soprano server supports more than one way of communication. Beside D-Bus (see DBusClient) and local socket communication (LocalSocketClient) it can be contacted via TCP. For that to work the server has to be listening on some port (Server::ServerCore::listen).
- Warning
- The TcpClient does not support signals. Thus, the models created by it will not emit signals such as Model::statementAdded. Also no permission handling or any kind of security is implemented at the moment. Thus, if a server is running and is listening on a port, it is open to connections from any client on any computer in the network.
- Author
- Sebastian Trueg trueg.nosp@m.@kde.nosp@m..org
Definition at line 57 of file tcpclient.h.