diff options
author | Thiago Macieira <thiago@kde.org> | 2006-03-28 18:56:08 +0000 |
---|---|---|
committer | Thiago Macieira <thiago@kde.org> | 2006-03-28 18:56:08 +0000 |
commit | d42c8663e8fd441838a238bfb845a7c80c37b253 (patch) | |
tree | ac29c8e23bc1e48690cac1fc8416a1b34628e832 /qt/qdbusmacros.h | |
parent | 36e1d8bfc79614617f364306bb168f46e0d4761c (diff) |
* 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<basic-types> 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.
Diffstat (limited to 'qt/qdbusmacros.h')
-rw-r--r-- | qt/qdbusmacros.h | 37 |
1 files changed, 7 insertions, 30 deletions
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 <QtCore/qglobal.h> +#include <QtCore/qmetatype.h> +#include <QtCore/qvariant.h> -#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 |