|
|
@ -29,7 +29,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
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
DBusQtConnection( const char *address=0, TQObject *parent=0,
|
|
|
|
DBusQtConnection( const char *address=0, TQObject *parent=0,
|
|
|
@ -55,7 +55,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
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
static DBusQtNotifier* dbus_qt_notifier();
|
|
|
|
static DBusQtNotifier* dbus_qt_notifier();
|
|
|
|