File indexing completed on 2025-03-16 12:58:01
0001 /* 0002 * This file was generated by qdbusxml2cpp version 0.7 0003 * Command line was: qdbusxml2cpp -N -m -i generictypes.h -p timeinterface \ 0004 * /home/jgrulich/development/projects/libmm-qt/dbus/introspection/org.freedesktop.ModemManager1.Modem.Time.xml 0005 * 0006 * qdbusxml2cpp is Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). 0007 * 0008 * This is an auto-generated file. 0009 * Do not edit! All changes made to it will be lost. 0010 */ 0011 0012 #ifndef MODEMMANAGERQT_TIMEINTERFACE_H 0013 #define MODEMMANAGERQT_TIMEINTERFACE_H 0014 0015 #include "generictypes.h" 0016 #include <QList> 0017 #include <QObject> 0018 #include <QString> 0019 #include <QVariant> 0020 0021 /* 0022 * Proxy class for interface org.freedesktop.ModemManager1.Modem.Time 0023 */ 0024 class OrgFreedesktopModemManager1ModemTimeInterface : public QDBusAbstractInterface 0025 { 0026 Q_OBJECT 0027 public: 0028 static inline const char *staticInterfaceName() 0029 #ifdef MMQT_STATIC 0030 { 0031 return "org.kde.fakemodem.Modem.Time"; 0032 } 0033 #else 0034 { 0035 return "org.freedesktop.ModemManager1.Modem.Time"; 0036 } 0037 #endif 0038 public: 0039 OrgFreedesktopModemManager1ModemTimeInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = nullptr); 0040 0041 ~OrgFreedesktopModemManager1ModemTimeInterface() override; 0042 0043 Q_PROPERTY(QVariantMap NetworkTimezone READ networkTimezone) 0044 inline QVariantMap networkTimezone() const 0045 { 0046 return qvariant_cast<QVariantMap>(property("NetworkTimezone")); 0047 } 0048 0049 public Q_SLOTS: // METHODS 0050 inline QDBusPendingReply<QString> GetNetworkTime() 0051 { 0052 QList<QVariant> argumentList; 0053 return asyncCallWithArgumentList(QLatin1String("GetNetworkTime"), argumentList); 0054 } 0055 0056 Q_SIGNALS: // SIGNALS 0057 void NetworkTimeChanged(const QString &time); 0058 }; 0059 0060 #endif