src/dbus/qdbuscontext.cpp
changeset 30 5dc02b23752f
parent 18 2f34d5167611
equal deleted inserted replaced
29:b72c6db6890b 30:5dc02b23752f
    44 #include "qdbusabstractadaptor.h"
    44 #include "qdbusabstractadaptor.h"
    45 
    45 
    46 #include "qdbuscontext.h"
    46 #include "qdbuscontext.h"
    47 #include "qdbuscontext_p.h"
    47 #include "qdbuscontext_p.h"
    48 
    48 
       
    49 #ifndef QT_NO_DBUS
       
    50 
    49 QT_BEGIN_NAMESPACE
    51 QT_BEGIN_NAMESPACE
    50 
    52 
    51 QDBusContextPrivate *QDBusContextPrivate::set(QObject *obj, QDBusContextPrivate *newContext)
    53 QDBusContextPrivate *QDBusContextPrivate::set(QObject *obj, QDBusContextPrivate *newContext)
    52 {
    54 {
    53     // determine if this is an adaptor or not
    55     // determine if this is an adaptor or not
   200     setDelayedReply(true);
   202     setDelayedReply(true);
   201     connection().send(message().createErrorReply(type, msg));
   203     connection().send(message().createErrorReply(type, msg));
   202 }
   204 }
   203 
   205 
   204 QT_END_NAMESPACE
   206 QT_END_NAMESPACE
       
   207 
       
   208 #endif // QT_NO_DBUS