4 #include <QtCore/QObject>
7 #include <QtDBus/QDBusAbstractAdaptor>
13 class EditlineGuiAdaptor;
18 EditlineGui(
const std::string &dbus_name=
"", QWidget *parent = 0 );
21 void set(
const QString &txt ) {
le->setText(txt); }
22 QString
get( ) {
return le->text( ); }
32 Q_CLASSINFO(
"D-Bus Interface",
"edu.nrao.casa.editlinegui")
34 QString
dbusName( )
const {
return "editlinegui"; }
52 le(new QLineEdit(
"*some*text*",this)),
54 le->setMinimumWidth(200);
virtual bool connectToDBus(const QString &dbus_name="")=0
Connects to the DBus server using the name provided (if non-null).
EditlineGuiAdaptor * adaptor
void set(const QString &txt)
bool connectToDBus(const QString &dbus_name="")
Connects to the DBus server using the name provided (if non-null).
EditlineGui(const std::string &dbus_name="", QWidget *parent=0)
EditlineGuiAdaptor(EditlineGui *elg)
void set(const QString &txt)