Changeset View
Changeset View
Standalone View
Standalone View
plasmoid/declarativeplugin/responsewaiter.cpp
1 | #include "responsewaiter.h" | 1 | #include "responsewaiter.h" | ||
---|---|---|---|---|---|
2 | 2 | | |||
3 | #include <QDBusPendingCall> | 3 | #include <QDBusPendingCall> | ||
4 | #include <QDBusPendingReply> | 4 | #include <QDBusPendingReply> | ||
5 | #include <QDebug> | 5 | #include <QDebug> | ||
6 | #include <QCoreApplication> | 6 | #include <QCoreApplication> | ||
7 | 7 | | |||
8 | //In older Qt released, qAsConst isnt available | ||||
9 | #include "core/qtcompat_p.h" | ||||
10 | | ||||
8 | Q_DECLARE_METATYPE(QDBusPendingReply<>) | 11 | Q_DECLARE_METATYPE(QDBusPendingReply<>) | ||
9 | Q_DECLARE_METATYPE(QDBusPendingReply<QVariant>) | 12 | Q_DECLARE_METATYPE(QDBusPendingReply<QVariant>) | ||
10 | Q_DECLARE_METATYPE(QDBusPendingReply<bool>) | 13 | Q_DECLARE_METATYPE(QDBusPendingReply<bool>) | ||
11 | Q_DECLARE_METATYPE(QDBusPendingReply<int>) | 14 | Q_DECLARE_METATYPE(QDBusPendingReply<int>) | ||
12 | Q_DECLARE_METATYPE(QDBusPendingReply<QString>) | 15 | Q_DECLARE_METATYPE(QDBusPendingReply<QString>) | ||
13 | 16 | | |||
14 | DBusResponseWaiter* DBusResponseWaiter::m_instance = nullptr; | 17 | DBusResponseWaiter* DBusResponseWaiter::m_instance = nullptr; | ||
15 | 18 | | |||
▲ Show 20 Lines • Show All 117 Lines • Show Last 20 Lines |