From d42c8663e8fd441838a238bfb845a7c80c37b253 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Tue, 28 Mar 2006 18:56:08 +0000 Subject: * qt/*: * dbus/qdbus.h: Sync with KDE Subversion revision 523647. Hopefully, this will be the last of the source-incompatible changes. Documentation has been improved; support for QList has been added; QDBusObject is gone; QDBus(Abstract)Interface is now a QObject with auto-generated meta-object; QDBusIntrospection is marked private, since QMetaObject can be used now; lots of bugfixes. --- qt/qdbusmacros.h | 37 +++++++------------------------------ 1 file changed, 7 insertions(+), 30 deletions(-) (limited to 'qt/qdbusmacros.h') diff --git a/qt/qdbusmacros.h b/qt/qdbusmacros.h index 72db6435..a0553275 100644 --- a/qt/qdbusmacros.h +++ b/qt/qdbusmacros.h @@ -30,46 +30,23 @@ #define QDBUSMACROS_H #include +#include +#include -#ifdef DBUS_COMPILATION -/// \internal +#ifdef QT_NO_MEMBER_TEMPLATES +# error Sorry, you need a compiler with support for template member functions to compile QtDBus. +#endif + +#if defined(DBUS_COMPILATION) && defined(QDBUS_MAKEDLL) # define QDBUS_EXPORT Q_DECL_EXPORT #else -/// \internal # define QDBUS_EXPORT Q_DECL_IMPORT #endif #ifndef Q_MOC_RUN -/*! - \relates QDBusAbstractAdaptor - \brief Marks a method as "asynchronous" - - The Q_ASYNC macro can be used to mark a method to be called and not wait for it to finish - processing before returning from QDBusInterface::call. The called method cannot return any - output arguments and, if it does, any such arguments will be discarded. - - You can use this macro in your own adaptors by placing it before your method's return value - (which must be "void") in the class declaration, as shown in the example: - \code - Q_ASYNC void myMethod(); - \endcode - - Its presence in the method implementation (outside the class declaration) is optional. - - \sa #async, \ref UsingAdaptors -*/ # define Q_ASYNC #endif #ifndef QT_NO_KEYWORDS - -/*! - \relates QDBusAbstractAdaptor - \brief Marks a method as "asynchronous" - - This macro is the same as #Q_ASYNC and is provided as a shorthand. However, it is not defined if - QT_NO_KEYWORDS is defined, which makes Qt not use its extensions to the C++ language (keywords - emit, signals, slots). -*/ # define async Q_ASYNC #endif -- cgit