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

DBusMethod Class Reference

#include <dbusmethod.h>

Inheritance diagram for DBusMethod:

DBusMethodOrSignal DBusAnnotatable DBusItem

List of all members.


Detailed Description

Representation of a D-BUS method

Definition at line 34 of file dbusmethod.h.


Public Member Functions

 DBusMethod (QListViewItem *parent, QDomElement const &elem) throw ( QDBusXmlError )
QPtrList< DBusMethodArgumentinArgs () const
QPtrList< KLineEdit > inputBoxes () const
QString interface () const
virtual QString name () const
QString object () const
QPtrList< DBusMethodArgumentoutArgs () const
QPtrList< QTextEdit > outputBoxes () const
QString service () const
virtual QString signature () 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
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

 DBusMethod (DBusMethod const &other)
 Not implemented.
const DBusMethodoperator= (DBusMethod 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