Logo Search packages:      
Sourcecode: kdbus version File versions  Download package

DBusInterface Class Reference

#include <dbusinterface.h>

Inheritance diagram for DBusInterface:

DBusAnnotatable DBusItem

List of all members.


Detailed Description

Representation of a D-BUS interface.

Definition at line 29 of file dbusinterface.h.


Public Member Functions

 DBusInterface (QListViewItem *parent, QDomElement const &elem) throw ( QDBusXmlError )
QString interface () const
QString object () const
QString service () const
QWidget * widget (QWidget *parent) const

Static Public Member Functions

static void ensureElementHasAttribute (QDomElement const &elem, QString const &attr) throw ( QDBusXmlError )
static void ensureElementIsNamed (QDomElement const &elem, QString const &name) throw ( std::logic_error )

Protected Member Functions

void addAnnotation (QDomElement const &elem) throw ( QDBusXmlError )
void addAnnotationInfo (QWidget *widget) const
void addErrorInfo (QWidget *widget) const
QString discoverInterface () const
QString discoverObject () const
QString discoverService () const

Protected Attributes

QMap< QString, QString > m_annotations
 Map from annotation name to value.
QString m_error
 if !m_ok, contains error message
QString m_interface
QString m_object
bool m_ok
QString m_service

Private Member Functions

 DBusInterface (DBusInterface const &other)
 Not implemented.
const DBusInterfaceoperator= (DBusInterface const &other)
 Not implemented.

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index