| 1 | // -*- c++ -*-cxx . . $ `<file>/src/dbusextendedabstractinterface.h`/ |
| 2 | |
| 3 | /*! |
| 4 | * |
| 5 | * Copyright (C) 2015 Jolla Ltd. |
| 6 | * |
| 7 | * Contact: Valerio Valerio <[email protected]> |
| 8 | * Author: Andres Gomez <[email protected]> |
| 9 | * |
| 10 | * This library is free software; you can redistribute it and/or |
| 11 | * modify it under the terms of the GNU Lesser General Public |
| 12 | * License as published by the Free Software Foundation; either |
| 13 | * version 2.1 of the License, or (at your option) any later version. |
| 14 | * |
| 15 | * This library is distributed in the hope that it will be useful, |
| 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 18 | * Lesser General Public License for more details. |
| 19 | * |
| 20 | * You should have received a copy of the GNU Lesser General Public |
| 21 | * License along with this library; if not, write to the Free Software |
| 22 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 23 | */ |
| 24 | |
| 25 | |
| 26 | #ifndef DBUSEXTENDEDABSTRACTINTERFACE_H |
| 27 | #define DBUSEXTENDEDABSTRACTINTERFACE_Hcxx . . $ `src/dbusextendedabstractinterface.h:27:9`! |
| 28 | |
| 29 | #include <DBusExtended>cxx . . $ `<file>/src/DBusExtended`/ |
| 30 | |
| 31 | #include <QDBusAbstractInterface> |
| 32 | #include <QDBusError> |
| 33 | |
| 34 | class QDBusPendingCallWatchercxx . . $ QDBusPendingCallWatcher#; |
| 35 | class DBusExtendedPendingCallWatchercxx . . $ DBusExtendedPendingCallWatcher#; |
| 36 | |
| 37 | class QT_DBUS_EXTENDED_EXPORTcxx . . $ `src/dbusextended.h:30:11`! DBusExtendedAbstractInterfacecxx . . $ DBusExtendedAbstractInterface#: public QDBusAbstractInterfacecxx . . $ QDBusAbstractInterface# |
| 38 | { |
| 39 | Q_OBJECTcxx . . $ DBusExtendedAbstractInterface#staticMetaObject. |
| 40 | |
| 41 | public: |
| 42 | virtual ~cxx . . $ DBusExtendedAbstractInterface#`~DBusExtendedAbstractInterface`(ced63f7c635d850d).DBusExtendedAbstractInterfacecxx . . $ DBusExtendedAbstractInterface#(); |
| 43 | |
| 44 | Q_PROPERTYcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:104:9`!(bool sync READ sync WRITE setSync) |
| 45 | inline bool synccxx . . $ DBusExtendedAbstractInterface#sync(50ce9a9e25b4a850).() const { return m_synccxx . . $ DBusExtendedAbstractInterface#m_sync.; } |
| 46 | inline void setSynccxx . . $ DBusExtendedAbstractInterface#setSync(b45ddcbc8423892c).(bool sync) { m_synccxx . . $ DBusExtendedAbstractInterface#m_sync. = sync; } |
| 47 | |
| 48 | Q_PROPERTYcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:104:9`!(bool useCache READ useCache WRITE setUseCache) |
| 49 | inline bool useCachecxx . . $ DBusExtendedAbstractInterface#useCache(50ce9a9e25b4a850).() const { return m_useCachecxx . . $ DBusExtendedAbstractInterface#m_useCache.; } |
| 50 | inline void setUseCachecxx . . $ DBusExtendedAbstractInterface#setUseCache(b45ddcbc8423892c).(bool useCache) { m_useCachecxx . . $ DBusExtendedAbstractInterface#m_useCache. = useCache; } |
| 51 | |
| 52 | void getAllPropertiescxx . . $ DBusExtendedAbstractInterface#getAllProperties(49f6e7a06ebc5aa8).(); |
| 53 | inline QDBusErrorcxx . . $ QDBusError# lastExtendedErrorcxx . . $ DBusExtendedAbstractInterface#lastExtendedError(1d9100e4f448fa26).() const { return m_lastExtendedErrorcxx . . $ QDBusError#QDBusError(8b965b05cb8f2b40).; }; |
| 54 | |
| 55 | protected: |
| 56 | DBusExtendedAbstractInterfacecxx . . $ DBusExtendedAbstractInterface#DBusExtendedAbstractInterface(224dae0651165b93).(const QStringcxx . . $ QString# &service, |
| 57 | const QStringcxx . . $ QString# &path, |
| 58 | const char *interface, |
| 59 | const QDBusConnectioncxx . . $ QDBusConnection# &connection, |
| 60 | QObjectcxx . . $ QObject# *parent); |
| 61 | |
| 62 | void connectNotifycxx . . $ DBusExtendedAbstractInterface#connectNotify(66bcfc5d1b625511).(const QMetaMethodcxx . . $ QMetaMethod# &signal); |
| 63 | void disconnectNotifycxx . . $ DBusExtendedAbstractInterface#disconnectNotify(66bcfc5d1b625511).(const QMetaMethodcxx . . $ QMetaMethod# &signal); |
| 64 | QVariantcxx . . $ QVariant# internalPropGetcxx . . $ DBusExtendedAbstractInterface#internalPropGet(d52e7d4cc2c15430).(const char *propname, void *propertyPtr); |
| 65 | void internalPropSetcxx . . $ DBusExtendedAbstractInterface#internalPropSet(f629bbfc6bd3a5be).(const char *propname, const QVariantcxx . . $ QVariant# &value, void *propertyPtr); |
| 66 | |
| 67 | Q_SIGNALScxx . . $ `<external>/1208926524888476972/qobjectdefs.h:93:10`!: |
| 68 | void propertyChangedcxx . . $ DBusExtendedAbstractInterface#propertyChanged(1c60a90c724e6bfb).(const QStringcxx . . $ QString# &propertyName, const QVariantcxx . . $ QVariant# &value); |
| 69 | void propertyInvalidatedcxx . . $ DBusExtendedAbstractInterface#propertyInvalidated(3520e46b33348bf6).(const QStringcxx . . $ QString# &propertyName); |
| 70 | void asyncPropertyFinishedcxx . . $ DBusExtendedAbstractInterface#asyncPropertyFinished(3520e46b33348bf6).(const QStringcxx . . $ QString# &propertyName); |
| 71 | void asyncSetPropertyFinishedcxx . . $ DBusExtendedAbstractInterface#asyncSetPropertyFinished(3520e46b33348bf6).(const QStringcxx . . $ QString# &propertyName); |
| 72 | void asyncGetAllPropertiesFinishedcxx . . $ DBusExtendedAbstractInterface#asyncGetAllPropertiesFinished(49f6e7a06ebc5aa8).(); |
| 73 | |
| 74 | private Q_SLOTScxx . . $ `<external>/1208926524888476972/qobjectdefs.h:92:10`!: |
| 75 | void onPropertiesChangedcxx . . $ DBusExtendedAbstractInterface#onPropertiesChanged(e3268743089caef9).(const QStringcxx . . $ QString#& interfaceName, |
| 76 | const QVariantMapcxx . . $ QVariantMap#& changedProperties, |
| 77 | const QStringListcxx . . $ QStringList#& invalidatedProperties); |
| 78 | void onAsyncPropertyFinishedcxx . . $ DBusExtendedAbstractInterface#onAsyncPropertyFinished(8570ac63cd6291f5).(DBusExtendedPendingCallWatchercxx . . $ DBusExtendedPendingCallWatcher# *watcher); |
| 79 | void onAsyncSetPropertyFinishedcxx . . $ DBusExtendedAbstractInterface#onAsyncSetPropertyFinished(8570ac63cd6291f5).(DBusExtendedPendingCallWatchercxx . . $ DBusExtendedPendingCallWatcher# *watcher); |
| 80 | void onAsyncGetAllPropertiesFinishedcxx . . $ DBusExtendedAbstractInterface#onAsyncGetAllPropertiesFinished(d27dd7c217027f21).(QDBusPendingCallWatchercxx . . $ QDBusPendingCallWatcher# *watcher); |
| 81 | |
| 82 | private: |
| 83 | QVariantcxx . . $ QVariant# asyncPropertycxx . . $ DBusExtendedAbstractInterface#asyncProperty(31fe9d5170203011).(const QStringcxx . . $ QString# &propertyName); |
| 84 | void asyncSetPropertycxx . . $ DBusExtendedAbstractInterface#asyncSetProperty(1c60a90c724e6bfb).(const QStringcxx . . $ QString# &propertyName, const QVariantcxx . . $ QVariant# &value); |
| 85 | static QVariantcxx . . $ QVariant# demarshallcxx . . $ DBusExtendedAbstractInterface#demarshall(93a7e654a64dd292).(const QStringcxx . . $ QString# &interface, const QMetaPropertycxx . . $ QMetaProperty# &metaProperty, const QVariantcxx . . $ QVariant# &value, QDBusErrorcxx . . $ QDBusError# *error); |
| 86 | |
| 87 | bool m_synccxx . . $ DBusExtendedAbstractInterface#m_sync.; |
| 88 | bool m_useCachecxx . . $ DBusExtendedAbstractInterface#m_useCache.; |
| 89 | QDBusPendingCallWatchercxx . . $ QDBusPendingCallWatcher# *m_getAllPendingCallWatchercxx . . $ DBusExtendedAbstractInterface#m_getAllPendingCallWatcher.; |
| 90 | QDBusErrorcxx . . $ QDBusError# m_lastExtendedErrorcxx . . $ DBusExtendedAbstractInterface#m_lastExtendedError.; |
| 91 | bool m_propertiesChangedConnectedcxx . . $ DBusExtendedAbstractInterface#m_propertiesChangedConnected.; |
| 92 | }; |
| 93 | |
| 94 | #endif /* DBUSEXTENDEDABSTRACTINTERFACE_H */ |