/* * This file was generated by qdbusxml2cpp version 0.8 * Command line was: qdbusxml2cpp ./dde-dock/plugins/bluetooth/dbusinterface/xml/org.deepin.dde.Bluetooth1.xml -a ./dde-dock/toolGenerate/qdbusxml2cpp/org.deepin.dde.Bluetooth1Adaptor -i ./dde-dock/toolGenerate/qdbusxml2cpp/org.deepin.dde.Bluetooth1.h * * qdbusxml2cpp is Copyright (C) 2017 The Qt Company Ltd. * * This is an auto-generated file. * This file may have been hand-edited. Look for HAND-EDIT comments * before re-generating it. */ #ifndef ORG_DEEPIN_DDE_BLUETOOTH1ADAPTOR_H #define ORG_DEEPIN_DDE_BLUETOOTH1ADAPTOR_H #include #include #include "./dde-dock/toolGenerate/qdbusxml2cpp/org.deepin.dde.Bluetooth1.h" QT_BEGIN_NAMESPACE class QByteArray; template class QList; template class QMap; class QString; class QStringList; class QVariant; QT_END_NAMESPACE /* * Adaptor class for interface org.deepin.dde.Bluetooth1 */ class Bluetooth1Adaptor: public QDBusAbstractAdaptor { Q_OBJECT Q_CLASSINFO("D-Bus Interface", "org.deepin.dde.Bluetooth1") Q_CLASSINFO("D-Bus Introspection", "" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" "") public: Bluetooth1Adaptor(QObject *parent); virtual ~Bluetooth1Adaptor(); public: // PROPERTIES Q_PROPERTY(bool CanSendFile READ canSendFile) bool canSendFile() const; Q_PROPERTY(bool DisplaySwitch READ displaySwitch WRITE setDisplaySwitch) bool displaySwitch() const; void setDisplaySwitch(bool value); Q_PROPERTY(uint State READ state) uint state() const; Q_PROPERTY(bool Transportable READ transportable) bool transportable() const; public Q_SLOTS: // METHODS void CancelTransferSession(const QDBusObjectPath &sessionPath); void ClearUnpairedDevice(); void Confirm(const QDBusObjectPath &device, bool accept); void ConnectDevice(const QDBusObjectPath &device, const QDBusObjectPath &adapter); QString DebugInfo(); void DisconnectDevice(const QDBusObjectPath &device); void FeedPasskey(const QDBusObjectPath &device, bool accept, uint passkey); void FeedPinCode(const QDBusObjectPath &device, bool accept, const QString &pinCode); QString GetAdapters(); QString GetDevices(const QDBusObjectPath &adapter); void RemoveDevice(const QDBusObjectPath &adapter, const QDBusObjectPath &device); void RequestDiscovery(const QDBusObjectPath &adapter); QDBusObjectPath SendFiles(const QString &device, const QStringList &files); void SetAdapterAlias(const QDBusObjectPath &adapter, const QString &alias); void SetAdapterDiscoverable(const QDBusObjectPath &adapter, bool discoverable); void SetAdapterDiscoverableTimeout(const QDBusObjectPath &adapter, uint timeout); void SetAdapterDiscovering(const QDBusObjectPath &adapter, bool discovering); void SetAdapterPowered(const QDBusObjectPath &adapter, bool powered); void SetDeviceAlias(const QDBusObjectPath &device, const QString &alias); void SetDeviceTrusted(const QDBusObjectPath &device, bool trusted); Q_SIGNALS: // SIGNALS void AdapterAdded(const QString &adapterJSON); void AdapterPropertiesChanged(const QString &adapterJSON); void AdapterRemoved(const QString &adapterJSON); void Cancelled(const QDBusObjectPath &device); void ConnectFailed(const QDBusObjectPath &device); void DeviceAdded(const QString &devJSON); void DevicePropertiesChanged(const QString &devJSON); void DeviceRemoved(const QString &devJSON); void DisplayPasskey(const QDBusObjectPath &device, uint passkey, uint entered); void DisplayPinCode(const QDBusObjectPath &device, const QString &pinCode); void ObexSessionCreated(const QDBusObjectPath &sessionPath); void ObexSessionProgress(const QDBusObjectPath &sessionPath, qulonglong totalSize, qulonglong transferred, int currentIdx); void ObexSessionRemoved(const QDBusObjectPath &sessionPath); void RequestAuthorization(const QDBusObjectPath &device); void RequestConfirmation(const QDBusObjectPath &device, const QString &passkey); void RequestPasskey(const QDBusObjectPath &device); void RequestPinCode(const QDBusObjectPath &device); void TransferCreated(const QString &file, const QDBusObjectPath &transferPath, const QDBusObjectPath &sessionPath); void TransferFailed(const QString &file, const QDBusObjectPath &sessionPath, const QString &errInfo); void TransferRemoved(const QString &file, const QDBusObjectPath &transferPath, const QDBusObjectPath &sessionPath, bool done); }; #endif