/* * This file was generated by qdbusxml2cpp version 0.8 * Command line was: qdbusxml2cpp ./dde-dock/frame/dbusinterface/xml/org.deepin.dde.Display1.xml -a ./dde-dock/toolGenerate/qdbusxml2cpp/org.deepin.dde.Display1Adaptor -i ./dde-dock/toolGenerate/qdbusxml2cpp/org.deepin.dde.Display1.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_DISPLAY1ADAPTOR_H #define ORG_DEEPIN_DDE_DISPLAY1ADAPTOR_H #include #include #include "./dde-dock/toolGenerate/qdbusxml2cpp/org.deepin.dde.Display1.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.Display1 */ class Display1Adaptor: public QDBusAbstractAdaptor { Q_OBJECT Q_CLASSINFO("D-Bus Interface", "org.deepin.dde.Display1") 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" "") public: Display1Adaptor(QObject *parent); virtual ~Display1Adaptor(); public: // PROPERTIES Q_PROPERTY(BrightnessMap Brightness READ brightness) BrightnessMap brightness() const; Q_PROPERTY(int ColorTemperatureManual READ colorTemperatureManual) int colorTemperatureManual() const; Q_PROPERTY(int ColorTemperatureMode READ colorTemperatureMode) int colorTemperatureMode() const; Q_PROPERTY(QString CurrentCustomId READ currentCustomId) QString currentCustomId() const; Q_PROPERTY(QStringList CustomIdList READ customIdList) QStringList customIdList() const; Q_PROPERTY(uchar DisplayMode READ displayMode) uchar displayMode() const; Q_PROPERTY(bool HasChanged READ hasChanged) bool hasChanged() const; Q_PROPERTY(uint MaxBacklightBrightness READ maxBacklightBrightness) uint maxBacklightBrightness() const; Q_PROPERTY(QList Monitors READ monitors) QList monitors() const; Q_PROPERTY(QString Primary READ primary) QString primary() const; Q_PROPERTY(ScreenRect PrimaryRect READ primaryRect) ScreenRect primaryRect() const; Q_PROPERTY(ushort ScreenHeight READ screenHeight) ushort screenHeight() const; Q_PROPERTY(ushort ScreenWidth READ screenWidth) ushort screenWidth() const; Q_PROPERTY(TouchscreenMap TouchMap READ touchMap) TouchscreenMap touchMap() const; Q_PROPERTY(TouchscreenInfoList Touchscreens READ touchscreens) TouchscreenInfoList touchscreens() const; Q_PROPERTY(TouchscreenInfoList_V2 TouchscreensV2 READ touchscreensV2) TouchscreenInfoList_V2 touchscreensV2() const; public Q_SLOTS: // METHODS void ApplyChanges(); void AssociateTouch(const QString &in0, const QString &in1); void AssociateTouchByUUID(const QString &in0, const QString &in1); void ChangeBrightness(bool in0); void DeleteCustomMode(const QString &in0); uchar GetRealDisplayMode(); QStringList ListOutputNames(); ResolutionList ListOutputsCommonModes(); void ModifyConfigName(const QString &in0, const QString &in1); void RefreshBrightness(); void Reset(); void ResetChanges(); void Save(); void SetAndSaveBrightness(const QString &in0, double in1); void SetBrightness(const QString &in0, double in1); void SetColorTemperature(int in0); void SetMethodAdjustCCT(int in0); void SetPrimary(const QString &in0); void SwitchMode(uchar in0, const QString &in1); Q_SIGNALS: // SIGNALS }; #endif