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

DBusProperty Class Reference

#include <dbusproperty.h>

Inheritance diagram for DBusProperty:

DBusAnnotatable DBusItem

List of all members.


Detailed Description

Representation of a D-BUS property.

Definition at line 31 of file dbusproperty.h.


Public Member Functions

QString access () const
bool canRead () const
bool canWrite () const
 DBusProperty (QListViewItem *parent, QDomElement const &elem) throw ( QDBusXmlError )
QString interface () const
QString name () const
QString niceType () const
QString object () const
QString service () const
QString type () 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

QString m_access
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_name
QString m_niceType
QString m_object
bool m_ok
QString m_service
QString m_type

Private Member Functions

 DBusProperty (DBusProperty const &other)
 Not implemented.
const DBusPropertyoperator= (DBusProperty const &other)
 Not implemented.

Private Attributes

Private * d

Classes

class  Private

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

Generated by  Doxygen 1.6.0   Back to index