summaryrefslogtreecommitdiff
path: root/kdecore/util/kdedmodule.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdecore/util/kdedmodule.cpp')
-rw-r--r--kdecore/util/kdedmodule.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/kdecore/util/kdedmodule.cpp b/kdecore/util/kdedmodule.cpp
index 6a5ba85..caf641a 100644
--- a/kdecore/util/kdedmodule.cpp
+++ b/kdecore/util/kdedmodule.cpp
@@ -25,7 +25,9 @@
#include "kdebug.h"
#include <QtCore/QTimer>
+#ifndef KDE_NO_DBUS
#include <QtDBus/QtDBus>
+#endif
@@ -49,6 +51,7 @@ KDEDModule::~KDEDModule()
void KDEDModule::setModuleName( const QString& name )
{
d->moduleName = name;
+#ifndef KDE_NO_DBUS
QDBusObjectPath realPath( QString::fromLatin1("/modules/") + d->moduleName);
if (realPath.path().isEmpty())
@@ -90,6 +93,7 @@ void KDEDModule::setModuleName( const QString& name )
kDebug() << "registerObject() successful for " << d->moduleName;
emit moduleRegistered(realPath);
}
+#endif
}