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

DBusMethodOrSignal Class Reference

#include <dbusmethodorsignal.h>

Inheritance diagram for DBusMethodOrSignal:

DBusAnnotatable DBusItem DBusMethod DBusSignal

List of all members.

Detailed Description

Either a method or a signal.

Definition at line 34 of file dbusmethodorsignal.h.

Public Member Functions

 DBusMethodOrSignal (QListViewItem *parent, QDomElement const &elem, QString const &type) throw ( QDBusXmlError )
QString interface () const
virtual QString name () const
QString object () const
QString service () const
virtual QString signature () const
virtual QWidget * widget (QWidget *parent) const =0

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
virtual QString discoverSignature () const

Protected Attributes

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

Private Member Functions

 DBusMethodOrSignal (DBusMethodOrSignal const &other)
 Not implemented.
const DBusMethodOrSignaloperator= (DBusMethodOrSignal const &other)
 Not implemented.

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

Generated by  Doxygen 1.6.0   Back to index