casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Slots | Public Member Functions | Private Attributes | List of all members
casa::EditlineGuiAdaptor Class Reference

#include <dDBus.qo.h>

Inheritance diagram for casa::EditlineGuiAdaptor:
casa::QtDBusApp

Public Slots

void set (const QString &txt)
 
QString get ()
 

Public Member Functions

QString dbusName () const
 
bool connectToDBus (const QString &dbus_name="")
 Connects to the DBus server using the name provided (if non-null). More...
 
 EditlineGuiAdaptor (EditlineGui *elg)
 
 ~EditlineGuiAdaptor ()
 
- Public Member Functions inherited from casa::QtDBusApp
QString dbusServiceName (const QString &name, const pid_t pid)
 
QString dbusObjectName (const QString &name, const pid_t pid)
 
const QString & dbusServiceName (const QString &name="")
 
const QString & dbusObjectName (const QString &name="")
 
 QtDBusApp ()
 
virtual ~QtDBusApp ()
 

Private Attributes

EditlineGuieditline_
 

Additional Inherited Members

- Static Public Member Functions inherited from casa::QtDBusApp
static QDBusConnection connection ()
 
static QString serviceOwner (const QString &service)
 
static QString serviceOwner (const std::string &service)
 
static bool serviceIsAvailable (const QString &service)
 
static bool serviceIsAvailable (const std::string &service)
 
static QString generateServiceName (const QString &name, const pid_t pid)
 
- Protected Member Functions inherited from casa::QtDBusApp
bool connectToDBus (QObject *object, const QString &dbus_name="")
 

Detailed Description

Definition at line 30 of file dDBus.qo.h.

Constructor & Destructor Documentation

casa::EditlineGuiAdaptor::EditlineGuiAdaptor ( EditlineGui elg)
inline

Definition at line 38 of file dDBus.qo.h.

casa::EditlineGuiAdaptor::~EditlineGuiAdaptor ( )
inline

Definition at line 39 of file dDBus.qo.h.

Member Function Documentation

bool casa::EditlineGuiAdaptor::connectToDBus ( const QString &  dbus_name = "")
inlinevirtual

Connects to the DBus server using the name provided (if non-null).

Otherwise, the dbusName() method with the current process ID is used. Returns a boolean which indicates whether the connection succeeded or not.

Implements casa::QtDBusApp.

Definition at line 35 of file dDBus.qo.h.

References casa::QtDBusApp::connectToDBus().

Referenced by casa::EditlineGui::EditlineGui().

QString casa::EditlineGuiAdaptor::dbusName ( ) const
inlinevirtual

Implements casa::QtDBusApp.

Definition at line 34 of file dDBus.qo.h.

QString casa::EditlineGuiAdaptor::get ( )
inlineslot

Definition at line 43 of file dDBus.qo.h.

References editline_, and casa::EditlineGui::get().

void casa::EditlineGuiAdaptor::set ( const QString &  txt)
inlineslot

Definition at line 42 of file dDBus.qo.h.

References editline_, and casa::EditlineGui::set().

Member Data Documentation

EditlineGui* casa::EditlineGuiAdaptor::editline_
private

Definition at line 46 of file dDBus.qo.h.

Referenced by get(), and set().


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