Home · All Classes · All Functions · Overviews

QDBusServer Class Reference
[QtDBus module]

The QDBusServer class provides peer-to-peer communication between processes on the same computer. More...

 #include <QDBusServer>

Inherits QObject.

This class was introduced in Qt 4.2.


Public Functions

QDBusServer ( const QString & address, QObject * parent = 0 )
QString address () const
bool isConnected () const
QDBusError lastError () const

Signals

void newConnection ( const QDBusConnection & connection )

Additional Inherited Members


Detailed Description

The QDBusServer class provides peer-to-peer communication between processes on the same computer.


Member Function Documentation

QDBusServer::QDBusServer ( const QString & address, QObject * parent = 0 )

Constructs a QDBusServer with the given address, and the given parent.

QString QDBusServer::address () const

Returns the address this server is assosiated with.

bool QDBusServer::isConnected () const

Returns true if this QDBusServer object is connected.

If it isn't connected, you need to call the constructor again.

QDBusError QDBusServer::lastError () const

Returns the last error that happened in this server.

This function is provided for low-level code.

void QDBusServer::newConnection ( const QDBusConnection & connection )   [signal]

This signal is currently not used, but if and when it is used, connection will be the new connection.


Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt 4.6.3