NAME

Qt::DBus::QDBusConnection

PUBLIC METHODS

QDBusConnection(const QString & name)
QDBusConnection(const QDBusConnection & other)
~QDBusConnection()
QDBusPendingCall asyncCall(const QDBusMessage & message, int timeout)
QDBusPendingCall asyncCall(const QDBusMessage & message, int timeout = -1)
QString baseService()
QDBusMessage call(const QDBusMessage & message, QDBus::CallMode mode, int timeout)
QDBusMessage call(const QDBusMessage & message, QDBus::CallMode mode, int timeout = -1)
QDBusMessage call(const QDBusMessage & message, QDBus::CallMode mode = QDBus::Block, int timeout = -1)
bool callWithCallback(const QDBusMessage & message, QObject * receiver, const char * slot, int timeout)
bool callWithCallback(const QDBusMessage & message, QObject * receiver, const char * slot, int timeout = -1)
bool callWithCallback(const QDBusMessage & message, QObject * receiver, const char * returnMethod, const char * errorMethod, int timeout)
bool callWithCallback(const QDBusMessage & message, QObject * receiver, const char * returnMethod, const char * errorMethod, int timeout = -1)
bool connect(const QString & service, const QString & path, const QString & interface, const QString & name, QObject * receiver, const char * slot)
bool connect(const QString & service, const QString & path, const QString & interface, const QString & name, const QString & signature, QObject * receiver, const char * slot)
bool connect(const QString & service, const QString & path, const QString & interface, const QString & name, const QStringList & argumentMatch, const QString & signature, QObject * receiver, const char * slot)
static QDBusConnection connectToBus(QDBusConnection::BusType type, const QString & name)
static QDBusConnection connectToBus(const QString & address, const QString & name)
bool disconnect(const QString & service, const QString & path, const QString & interface, const QString & name, QObject * receiver, const char * slot)
bool disconnect(const QString & service, const QString & path, const QString & interface, const QString & name, const QString & signature, QObject * receiver, const char * slot)
bool disconnect(const QString & service, const QString & path, const QString & interface, const QString & name, const QStringList & argumentMatch, const QString & signature, QObject * receiver, const char * slot)
static void disconnectFromBus(const QString & name)
QDBusConnectionInterface * interface()
bool isConnected()
QDBusError lastError()
QString name()
QObject * objectRegisteredAt(const QString & path)
QDBusConnection & operator=(const QDBusConnection & other)
bool registerObject(const QString & path, QObject * object, QFlags<QDBusConnection::RegisterOption> options)
bool registerObject(const QString & path, QObject * object, QFlags<QDBusConnection::RegisterOption> options = QDBusConnection::ExportAdaptors)
bool registerService(const QString & serviceName)
bool send(const QDBusMessage & message)
static QDBusConnection sender()
static QDBusConnection sessionBus()
static QDBusConnection systemBus()
void unregisterObject(const QString & path, QDBusConnection::UnregisterMode mode)
void unregisterObject(const QString & path, QDBusConnection::UnregisterMode mode = QDBusConnection::UnregisterNode)
bool unregisterService(const QString & serviceName)

ENUM VALUES

SessionBus
SystemBus
ActivationBus
ExportAdaptors
ExportScriptableSlots
ExportScriptableSignals
ExportScriptableProperties
ExportScriptableInvokables
ExportScriptableContents
ExportNonScriptableSlots
ExportNonScriptableSignals
ExportNonScriptableProperties
ExportNonScriptableInvokables
ExportNonScriptableContents
ExportAllSlots
ExportAllSignals
ExportAllProperties
ExportAllInvokables
ExportAllContents
ExportAllSignal
ExportChildObjects
UnregisterNode
UnregisterTree

EXPORT

None by default.

AUTHOR

Dongxu Ma <dongxu@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011 - 2011 by Dongxu Ma

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/artistic.html