|
|
@ -30,6 +30,7 @@
|
|
|
|
* Two approaches - one presented below a DBusQtConnection
|
|
|
|
* Two approaches - one presented below a DBusQtConnection
|
|
|
|
* object which is a TQt wrapper around DBusConnection
|
|
|
|
* object which is a TQt wrapper around DBusConnection
|
|
|
|
class DBusQtConnection : public TQObject {
|
|
|
|
class DBusQtConnection : public TQObject {
|
|
|
|
|
|
|
|
Q_OBJECT
|
|
|
|
TQ_OBJECT
|
|
|
|
TQ_OBJECT
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
DBusQtConnection( const char *address=0, TQObject *tqparent=0,
|
|
|
|
DBusQtConnection( const char *address=0, TQObject *tqparent=0,
|
|
|
@ -55,6 +56,7 @@ private:
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* Second approach is to have a static TQt dispatcher like:
|
|
|
|
* Second approach is to have a static TQt dispatcher like:
|
|
|
|
class DBusQtNotifier : public TQObject {
|
|
|
|
class DBusQtNotifier : public TQObject {
|
|
|
|
|
|
|
|
Q_OBJECT
|
|
|
|
TQ_OBJECT
|
|
|
|
TQ_OBJECT
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
static DBusQtNotifier* dbus_qt_notifier();
|
|
|
|
static DBusQtNotifier* dbus_qt_notifier();
|
|
|
|