diff options
author | hjk <qtc-committer@nokia.com> | 2009-11-06 07:07:20 (GMT) |
---|---|---|
committer | hjk <qtc-committer@nokia.com> | 2009-11-06 07:07:20 (GMT) |
commit | a34b73f0c4f86cf1c333a31c25f9c05460bca173 (patch) | |
tree | f285eb2da31ee498eb829d8dd27bbaea44322092 /src/dbus/qdbusservicewatcher.cpp | |
parent | 7598ff4a1e0997ffc99995dc652ef2380e7a2b05 (diff) | |
download | Qt-a34b73f0c4f86cf1c333a31c25f9c05460bca173.zip Qt-a34b73f0c4f86cf1c333a31c25f9c05460bca173.tar.gz Qt-a34b73f0c4f86cf1c333a31c25f9c05460bca173.tar.bz2 |
compile fix for QDBusServiceWatcher with namespaced Qt
Diffstat (limited to 'src/dbus/qdbusservicewatcher.cpp')
-rw-r--r-- | src/dbus/qdbusservicewatcher.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dbus/qdbusservicewatcher.cpp b/src/dbus/qdbusservicewatcher.cpp index 4872732..4356d11 100644 --- a/src/dbus/qdbusservicewatcher.cpp +++ b/src/dbus/qdbusservicewatcher.cpp @@ -47,6 +47,8 @@ #include <private/qobject_p.h> +QT_BEGIN_NAMESPACE + Q_GLOBAL_STATIC_WITH_ARGS(QString, busService, (QLatin1String(DBUS_SERVICE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString, busPath, (QLatin1String(DBUS_PATH_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString, busInterface, (QLatin1String(DBUS_INTERFACE_DBUS))) @@ -371,4 +373,6 @@ void QDBusServiceWatcher::setConnection(const QDBusConnection &connection) d->setConnection(d->servicesWatched, connection, d->watchMode); } +QT_END_NAMESPACE + #include "moc_qdbusservicewatcher.cpp" |