Hello community, here is the log from the commit of package deepin-qt-dbus-factory for openSUSE:Factory checked in at 2019-07-21 11:35:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/deepin-qt-dbus-factory (Old) and /work/SRC/openSUSE:Factory/.deepin-qt-dbus-factory.new.4126 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "deepin-qt-dbus-factory" Sun Jul 21 11:35:32 2019 rev:6 rq:717234 version:1.1.6 Changes: -------- --- /work/SRC/openSUSE:Factory/deepin-qt-dbus-factory/deepin-qt-dbus-factory.changes 2019-04-30 13:02:58.658116035 +0200 +++ /work/SRC/openSUSE:Factory/.deepin-qt-dbus-factory.new.4126/deepin-qt-dbus-factory.changes 2019-07-21 11:35:33.448763375 +0200 @@ -1,0 +2,12 @@ +Tue Jul 16 14:02:58 UTC 2019 - Hillwood Yang <hillw...@opensuse.org> + +- Update version to 1.1.6 + * Update power inteface + * Use libdtkcore-bin replace old deepin-qt5config + * Fix sync: use local type + * Add com.deepin.deepinid xml file + * Add com.deepin.sync.daemon xml file + * Add com.deepin.anything xml file + * New methods for handling per-screen scale factors + +------------------------------------------------------------------- Old: ---- dde-qt-dbus-factory-1.1.1.tar.gz New: ---- dde-qt-dbus-factory-1.1.6.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ deepin-qt-dbus-factory.spec ++++++ --- /var/tmp/diff_new_pack.6OcHJV/_old 2019-07-21 11:35:33.964763269 +0200 +++ /var/tmp/diff_new_pack.6OcHJV/_new 2019-07-21 11:35:33.964763269 +0200 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -20,13 +20,14 @@ %define _name dde-qt-dbus-factory Name: deepin-qt-dbus-factory -Version: 1.1.1 +Version: 1.1.6 Release: 0 Summary: A repository storing auto-generated Qt5 D-Bus code -License: GPL-3.0-only +License: GPL-3.0-or-later Group: Development/Libraries/C and C++ URL: https://github.com/linuxdeepin/dde-qt-dbus-factory Source: https://github.com/linuxdeepin/dde-qt-dbus-factory/archive/%{version}/%{_name}-%{version}.tar.gz +BuildRequires: dtkcore BuildRequires: gcc-c++ BuildRequires: libqt5-qtbase-devel BuildRequires: libqt5-qtbase-private-headers-devel @@ -90,7 +91,7 @@ %files -n libdframeworkdbus-devel %license LICENSE -%doc README +%doc README.md CHANGELOG.md %{_includedir}/libdframeworkdbus-* %{_libdir}/libdframeworkdbus.so %dir %{_libdir}/cmake/DFrameworkdbus ++++++ dde-qt-dbus-factory-1.1.1.tar.gz -> dde-qt-dbus-factory-1.1.6.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dde-qt-dbus-factory-1.1.1/CHANGELOG.md new/dde-qt-dbus-factory-1.1.6/CHANGELOG.md --- old/dde-qt-dbus-factory-1.1.1/CHANGELOG.md 2019-03-27 02:11:32.000000000 +0100 +++ new/dde-qt-dbus-factory-1.1.6/CHANGELOG.md 2019-06-19 11:15:56.000000000 +0200 @@ -1,3 +1,38 @@ +<a name="1.1.5"></a> +### 1.1.5 (2019-06-11) + + + + +<a name="1.1.4"></a> +### 1.1.4 (2019-05-29) + + + + +<a name="1.1.3"></a> +### 1.1.3 (2019-05-29) + + + + +<a name="1.1.2"></a> +### 1.1.2 (2019-05-23) + + +#### Bug Fixes + +* use libdtkcore-bin replace old deepin-qt5config ([f00f4e3b](https://github.com/linuxdeepin/dde-qt-dbus-factory/commit/f00f4e3bce183485cf39ab6efac6cfb4d33fd485)) +* **sync:** use local type ([bf1ea07c](https://github.com/linuxdeepin/dde-qt-dbus-factory/commit/bf1ea07ce79a692694c064dd3cf723a00fa59a72)) + +#### Features + +* add com.deepin.deepinid xml file ([47c77ea5](https://github.com/linuxdeepin/dde-qt-dbus-factory/commit/47c77ea5a6923e3e27c80446e677417e332a0655)) +* add com.deepin.sync.daemon xml file ([86a17b54](https://github.com/linuxdeepin/dde-qt-dbus-factory/commit/86a17b54804086b3083d338f91afb774cd0d3dfc)) +* add com.deepin.anything xml file ([8c44b2c7](https://github.com/linuxdeepin/dde-qt-dbus-factory/commit/8c44b2c7c00d44ec134826229f9a81f1696eef00)) + + + <a name="1.1.1"></a> ## 1.1.1 (2019-03-26) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dde-qt-dbus-factory-1.1.1/README new/dde-qt-dbus-factory-1.1.6/README --- old/dde-qt-dbus-factory-1.1.1/README 2019-03-27 02:11:32.000000000 +0100 +++ new/dde-qt-dbus-factory-1.1.6/README 1970-01-01 01:00:00.000000000 +0100 @@ -1,21 +0,0 @@ -dde-qt-dbus-factory -=================== - -dde-qt-dbus-factory是用来统一存放dde使用到的自动生成的Qt DBus代码的仓库,这样dde开发者就不用在自己的项目中重复创建同样的DBus代码,或者中其他项目中拷贝文件到自己的项目里面。 - -生成代码的时候请使用qdbusxml2cpp-fix这个工具而不是Qt官方提供的qdbusxml2cpp,这个工具的源码包含在本项目的tools目录下,之后也会提供相关包直接安装。 - -具体生成的规则如下: - -* 生成代码用的xml文件要存放到项目的xml目录下,这样以后需要更新接口的时候,代码审核可以清晰看到接口的变动; -* 文件名统一为相应DBus Interface的全小写并用“_”替换“.”; -* 类名统一为DBus Interface的最后一个单词,使用过程中使用命名空间引用(或者自己起别名); - -举个简单的例子: -比如我需要生成org.freedesktop.Notifications的DBus代码,那么先要生成org.freedesktop.Notifications.xml文件,把接口相应的描述信息写入丢到xml目录下;然后使用命令: -``` BASH -qdbusxml2cpp -c Notifications -p org_freedesktop_notifications xml/org.freedesktop.Notifications.xml -``` -生成相应的代码即可。 - -注:生成过程中遇到的复杂类型需要自定义类型的,统一放在相应的生成文件内以自包容; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dde-qt-dbus-factory-1.1.1/README.md new/dde-qt-dbus-factory-1.1.6/README.md --- old/dde-qt-dbus-factory-1.1.1/README.md 1970-01-01 01:00:00.000000000 +0100 +++ new/dde-qt-dbus-factory-1.1.6/README.md 2019-06-19 11:15:56.000000000 +0200 @@ -0,0 +1,20 @@ +# dde-qt-dbus-factory +`dde-qt-dbus-factory` 是用来统一存放 `dde` 使用到的自动生成的 `Qt DBus` 代码的仓库,这样 `dde` 开发者就不用在自己的项目中重复创建同样的 `DBus` 代码,或者从其它项目中拷贝文件到自己的项目里面。 + +生成代码的时候请使用 `qdbusxml2cpp-fix` 这个工具而不是 `Qt` 官方提供的 `qdbusxml2cpp`,这个工具的源码包含在本项目的 `tools` 目录下,之后也会提供相关包直接安装。 + +具体生成的规则如下: + +- 生成代码用的 `xml` 文件要存放到项目的 `xml` 目录下,这样以后需要更新接口的时候,代码审核可以清晰看到接口的变动; +- 文件名统一为相应 `DBus Interface` 的全小写并用 `_` 替换 `.`; +- 类名统一为 `DBus Interface` 的最后一个单词,使用过程中使用命名空间引用(或者自己起别名)。 + +举个简单的例子: + +比如我需要生成 `org.freedesktop.Notifications` 的 `DBus` 代码,那么先要生成 `org.freedesktop.Notifications.xml` 文件,把接口相应的描述信息写入丢到 `xml` 目录下,然后使用命令: +```bash +qdbusxml2cpp -c Notifications -p org_freedesktop_notifications xml/org.freedesktop.Notifications.xml +``` +生成相应的代码即可。 + +**注:** 生成过程中遇到的复杂类型需要自定义类型的,统一放在相应的生成文件内以自包容。 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dde-qt-dbus-factory-1.1.1/debian/control new/dde-qt-dbus-factory-1.1.6/debian/control --- old/dde-qt-dbus-factory-1.1.1/debian/control 2019-03-27 02:11:32.000000000 +0100 +++ new/dde-qt-dbus-factory-1.1.6/debian/control 2019-06-19 11:15:56.000000000 +0200 @@ -9,7 +9,8 @@ qtbase5-dev, pkg-kde-tools, qtbase5-private-dev, - deepin-qt5config + libdtkcore-dev, + libdtkcore-bin Standards-Version: 4.1.1 Homepage: https://github.com/linuxdeepin/dde-qt-dbus-factory diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dde-qt-dbus-factory-1.1.1/libdframeworkdbus/libdframeworkdbus.pro new/dde-qt-dbus-factory-1.1.6/libdframeworkdbus/libdframeworkdbus.pro --- old/dde-qt-dbus-factory-1.1.1/libdframeworkdbus/libdframeworkdbus.pro 2019-03-27 02:11:32.000000000 +0100 +++ new/dde-qt-dbus-factory-1.1.6/libdframeworkdbus/libdframeworkdbus.pro 2019-06-19 11:15:56.000000000 +0200 @@ -4,7 +4,7 @@ CONFIG += c++11 create_pc create_prl no_install_prl CONFIG += no_keywords -load(deepin_qt) +load(dtk_qmake) include(qtdbusextended/qtdbusextended.pri) HEADERS += \ @@ -44,7 +44,8 @@ types/windowinfomap.h \ types/dbusimagelist.h \ types/dbustooltip.h \ - types/dockrect.h + types/dockrect.h \ + types/intstring.h SOURCES += \ types/zoneinfo.cpp \ @@ -82,7 +83,8 @@ types/windowinfomap.cpp \ types/dbusimagelist.cpp \ types/dbustooltip.cpp \ - types/dockrect.cpp + types/dockrect.cpp \ + types/intstring.cpp !system(python $$PWD/generate_code.py): error("Failed to generate code") include(generated/generated.pri) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dde-qt-dbus-factory-1.1.1/libdframeworkdbus/types/intstring.cpp new/dde-qt-dbus-factory-1.1.6/libdframeworkdbus/types/intstring.cpp --- old/dde-qt-dbus-factory-1.1.1/libdframeworkdbus/types/intstring.cpp 1970-01-01 01:00:00.000000000 +0100 +++ new/dde-qt-dbus-factory-1.1.6/libdframeworkdbus/types/intstring.cpp 2019-06-19 11:15:56.000000000 +0200 @@ -0,0 +1,25 @@ +#include "intstring.h" + +bool IntString::operator!=(const IntString &intString) { + return intString.state != state || intString.description != description; +} + +QDBusArgument &operator<<(QDBusArgument &argument, const IntString &intString){ + argument.beginStructure(); + argument << intString.state << intString.description; + argument.endStructure(); + return argument; +} + + +const QDBusArgument &operator>>(const QDBusArgument &argument, IntString &intString) { + argument.beginStructure(); + argument >> intString.state >> intString.description; + argument.endStructure(); + return argument; +} + +void registerIntStringMetaType() { + qRegisterMetaType<IntString>("IntString"); + qDBusRegisterMetaType<IntString>(); +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dde-qt-dbus-factory-1.1.1/libdframeworkdbus/types/intstring.h new/dde-qt-dbus-factory-1.1.6/libdframeworkdbus/types/intstring.h --- old/dde-qt-dbus-factory-1.1.1/libdframeworkdbus/types/intstring.h 1970-01-01 01:00:00.000000000 +0100 +++ new/dde-qt-dbus-factory-1.1.6/libdframeworkdbus/types/intstring.h 2019-06-19 11:15:56.000000000 +0200 @@ -0,0 +1,23 @@ +#ifndef INTSTRING_H +#define INTSTRING_H + +#include <QtCore/QString> +#include <QtDBus/QtDBus> +#include <QDBusMetaType> + +struct IntString +{ + qint32 state; + QString description; + + bool operator!=(const IntString &intString); +}; + +Q_DECLARE_METATYPE(IntString) + +QDBusArgument &operator<<(QDBusArgument &argument, const IntString &intString); +const QDBusArgument &operator>>(const QDBusArgument &argument, IntString &intString); + +void registerIntStringMetaType(); + +#endif // !INTSTRING_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dde-qt-dbus-factory-1.1.1/tools/qdbusxml2cpp/qdbusxml2cpp.pro new/dde-qt-dbus-factory-1.1.6/tools/qdbusxml2cpp/qdbusxml2cpp.pro --- old/dde-qt-dbus-factory-1.1.1/tools/qdbusxml2cpp/qdbusxml2cpp.pro 2019-03-27 02:11:32.000000000 +0100 +++ new/dde-qt-dbus-factory-1.1.6/tools/qdbusxml2cpp/qdbusxml2cpp.pro 2019-06-19 11:15:56.000000000 +0200 @@ -9,7 +9,7 @@ CONFIG += c++11 -load(deepin_qt) +load(dtk_qmake) host_sw_64 { QMAKE_CXXFLAGS += -mieee diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dde-qt-dbus-factory-1.1.1/xml/com.deepin.anything.xml new/dde-qt-dbus-factory-1.1.6/xml/com.deepin.anything.xml --- old/dde-qt-dbus-factory-1.1.1/xml/com.deepin.anything.xml 1970-01-01 01:00:00.000000000 +0100 +++ new/dde-qt-dbus-factory-1.1.6/xml/com.deepin.anything.xml 2019-06-19 11:15:56.000000000 +0200 @@ -0,0 +1,83 @@ +<interface name="com.deepin.anything"> + <property access="readwrite" type="b" name="autoIndexInternal"/> + <property access="readwrite" type="b" name="autoIndexExternal"/> + <property access="readwrite" type="i" name="logLevel"/> + <method name="cacheDir"> + <arg direction="out" type="s" name="path"/> + </method> + <method name="setCodecNameForLocale"> + <arg direction="in" type="ay" name="name"/> + <arg direction="out" type="ay" name="oldCodecName"/> + </method> + <method name="allPath"> + <arg direction="out" type="as" name="pathList"/> + </method> + <method name="addPath"> + <arg direction="in" type="s" name="path"/> + <arg direction="out" type="b" name="success"/> + </method> + <method name="removePath"> + <arg direction="in" type="s" name="path"/> + <arg direction="out" type="b" name="success"/> + </method> + <method name="hasLFT"> + <arg direction="in" type="s" name="path"/> + <arg direction="out" type="b" name="success"/> + </method> + <method name="hasLFTSubdirectories"> + <arg direction="in" type="s" name="path"/> + <arg direction="out" type="as" name="directories"/> + </method> + <method name="lftBuinding"> + <arg direction="in" type="s" name="path"/> + <arg direction="out" type="b" name="success"/> + </method> + <method name="cancelBuild"> + <arg direction="in" type="s" name="path"/> + <arg direction="out" type="b" name="success"/> + </method> + <method name="refresh"> + <arg direction="in" type="ay" name="serialUriFilter"/> + <arg direction="out" type="as" name="rootPathList"/> + </method> + <method name="sync"> + <arg direction="in" type="s" name="mountPoint"/> + <arg direction="out" type="as" name="rootPathList"/> + </method> + <method name="search"> + <arg direction="in" type="s" name="path"/> + <arg direction="in" type="s" name="keyword"/> + <arg direction="in" type="b" name="useRegExp"/> + <arg direction="out" type="as" name="results"/> + </method> + <method name="search"> + <arg direction="in" type="i" name="maxCount"/> + <arg direction="in" type="x" name="maxTime"/> + <arg direction="in" type="u" name="startOffset"/> + <arg direction="in" type="u" name="endOffset"/> + <arg direction="in" type="s" name="path"/> + <arg direction="in" type="s" name="keyword"/> + <arg direction="in" type="b" name="useRegExp"/> + <arg direction="out" type="as" name="results"/> + <arg direction="out" type="u" name="startOffset"/> + <arg direction="out" type="u" name="endOffset"/> + </method> + <method name="insertFileToLFTBuf"> + <arg direction="in" type="ay" name="filePath"/> + <arg direction="out" type="as" name="bufRootPathList"/> + </method> + <method name="removeFileFromLFTBuf"> + <arg direction="in" type="ay" name="filePath"/> + <arg direction="out" type="as" name="bufRootPathList"/> + </method> + <method name="renameFileOfLFTBuf"> + <arg direction="in" type="ay" name="fromFilePath"/> + <arg direction="in" type="ay" name="toFilePath"/> + <arg direction="out" type="as" name="bufRootPathList"/> + </method> + <method name="quit"/> + <signal name="addPathFinished"> + <arg type="s" name="path"/> + <arg type="b" name="success"/> + </signal> +</interface> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dde-qt-dbus-factory-1.1.1/xml/com.deepin.daemon.Accounts.User.xml new/dde-qt-dbus-factory-1.1.6/xml/com.deepin.daemon.Accounts.User.xml --- old/dde-qt-dbus-factory-1.1.1/xml/com.deepin.daemon.Accounts.User.xml 2019-03-27 02:11:32.000000000 +0100 +++ new/dde-qt-dbus-factory-1.1.6/xml/com.deepin.daemon.Accounts.User.xml 2019-06-19 11:15:56.000000000 +0200 @@ -1,75 +1,65 @@ <interface name="com.deepin.daemon.Accounts.User"> <method name="DeleteIconFile"> - <arg type="s" direction="in"/> + <arg name="iconFile" type="s" direction="in"/> </method> <method name="EnableNoPasswdLogin"> - <arg type="b" direction="in"/> - </method> - <method name="GetLargeIcon"> - <arg type="s" direction="out"/> - </method> - <method name="IsIconDeletable"> - <arg type="s" direction="in"/> - <arg type="b" direction="out"/> - </method> - <method name="SetAccountType"> - <arg type="i" direction="in"/> + <arg name="enabled" type="b" direction="in"/> </method> <method name="SetAutomaticLogin"> - <arg type="b" direction="in"/> + <arg name="enabled" type="b" direction="in"/> </method> <method name="SetDesktopBackgrounds"> - <arg type="as" direction="in"/> + <arg name="backgrounds" type="as" direction="in"/> </method> <method name="SetFullName"> - <arg type="s" direction="in"/> + <arg name="name" type="s" direction="in"/> </method> <method name="SetGreeterBackground"> - <arg type="s" direction="in"/> + <arg name="background" type="s" direction="in"/> </method> <method name="SetHistoryLayout"> - <arg type="as" direction="in"/> + <arg name="layouts" type="as" direction="in"/> </method> <method name="SetHomeDir"> - <arg type="s" direction="in"/> + <arg name="home" type="s" direction="in"/> </method> <method name="SetIconFile"> - <arg type="s" direction="in"/> + <arg name="iconFile" type="s" direction="in"/> </method> <method name="SetLayout"> - <arg type="s" direction="in"/> + <arg name="layout" type="s" direction="in"/> </method> <method name="SetLocale"> - <arg type="s" direction="in"/> + <arg name="locale" type="s" direction="in"/> </method> <method name="SetLocked"> - <arg type="b" direction="in"/> + <arg name="locked" type="b" direction="in"/> </method> <method name="SetPassword"> - <arg type="s" direction="in"/> + <arg name="password" type="s" direction="in"/> </method> <method name="SetShell"> - <arg type="s" direction="in"/> + <arg name="shell" type="s" direction="in"/> </method> - <property name="UserName" type="s" access="read"/> - <property name="FullName" type="s" access="read"/> - <property name="Uid" type="s" access="read"/> - <property name="Gid" type="s" access="read"/> - <property name="HomeDir" type="s" access="read"/> + <property name="IconList" type="as" access="read"/> <property name="Shell" type="s" access="read"/> + <property name="PasswordStatus" type="s" access="read"/> + <property name="SystemAccount" type="b" access="read"/> + <property name="AccountType" type="i" access="read"/> + <property name="LoginTime" type="t" access="read"/> <property name="Locale" type="s" access="read"/> - <property name="Layout" type="s" access="read"/> - <property name="IconFile" type="s" access="read"/> + <property name="NoPasswdLogin" type="b" access="read"/> + <property name="FullName" type="s" access="read"/> <property name="DesktopBackgrounds" type="as" access="read"/> <property name="GreeterBackground" type="s" access="read"/> <property name="XSession" type="s" access="read"/> - <property name="Locked" type="b" access="read"/> <property name="AutomaticLogin" type="b" access="read"/> - <property name="SystemAccount" type="b" access="read"/> - <property name="NoPasswdLogin" type="b" access="read"/> - <property name="AccountType" type="i" access="read"/> - <property name="LoginTime" type="t" access="read"/> - <property name="IconList" type="as" access="read"/> + <property name="IconFile" type="s" access="read"/> + <property name="Locked" type="b" access="read"/> <property name="HistoryLayout" type="as" access="read"/> - <property name="BackgroundFile" type="s" access="read"/> -</interface> \ No newline at end of file + <property name="UserName" type="s" access="read"/> + <property name="Uid" type="s" access="read"/> + <property name="Gid" type="s" access="read"/> + <property name="HomeDir" type="s" access="read"/> + <property name="Layout" type="s" access="read"/> +</interface> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dde-qt-dbus-factory-1.1.1/xml/com.deepin.daemon.Power.xml new/dde-qt-dbus-factory-1.1.6/xml/com.deepin.daemon.Power.xml --- old/dde-qt-dbus-factory-1.1.1/xml/com.deepin.daemon.Power.xml 2019-03-27 02:11:32.000000000 +0100 +++ new/dde-qt-dbus-factory-1.1.6/xml/com.deepin.daemon.Power.xml 2019-06-19 11:15:56.000000000 +0200 @@ -1,26 +1,28 @@ <interface name="com.deepin.daemon.Power"> <method name="Reset"/> - <method name="StartupNotify"/> - <property access="readwrite" name="AmbientLightAdjustBrightness" type="b"/> - <property access="readwrite" name="LinePowerScreenBlackDelay" type="i"/> - <property access="readwrite" name="LinePowerSleepDelay" type="i"/> - <property access="readwrite" name="BatteryScreenBlackDelay" type="i"/> - <property access="readwrite" name="BatterySleepDelay" type="i"/> - <property access="readwrite" name="ScreenBlackLock" type="b"/> - <property access="readwrite" name="SleepLock" type="b"/> - <property access="readwrite" name="PowerButtonAction" type="s"/> - <property access="readwrite" name="LidClosedSleep" type="b"/> - <property access="read" name="HasAmbientLightSensor" type="b"></property> - <property access="read" name="LidIsPresent" type="b"/> - <property access="read" name="OnBattery" type="b"/> - <property access="read" name="BatteryIsPresent" type="a{sb}"> - <annotation name="org.qtproject.QtDBus.QtTypeName" value="BatteryPresentInfo"/> - </property> + <property name="BatteryLidClosedSleep" type="b" access="readwrite"/> + <property name="AmbientLightAdjustBrightness" type="b" access="readwrite"/> <property access="read" name="BatteryPercentage" type="a{sd}"> <annotation name="org.qtproject.QtDBus.QtTypeName" value="BatteryPercentageInfo"/> </property> + <property name="LinePowerScreensaverDelay" type="i" access="readwrite"/> + <property name="LinePowerSleepDelay" type="i" access="readwrite"/> + <property name="WarnLevel" type="u" access="read"/> + <property name="HasAmbientLightSensor" type="b" access="read"/> + <property access="read" name="BatteryIsPresent" type="a{sb}"> + <annotation name="org.qtproject.QtDBus.QtTypeName" value="BatteryPresentInfo"/> + </property> + <property name="BatteryScreensaverDelay" type="i" access="readwrite"/> + <property name="BatteryScreenBlackDelay" type="i" access="readwrite"/> + <property name="BatterySleepDelay" type="i" access="readwrite"/> + <property name="ScreenBlackLock" type="b" access="readwrite"/> + <property name="LinePowerLidClosedSleep" type="b" access="readwrite"/> + <property name="OnBattery" type="b" access="read"/> <property access="read" name="BatteryState" type="a{su}"> <annotation name="org.qtproject.QtDBus.QtTypeName" value="BatteryStateInfo"/> </property> - <property access="read" name="WarnLevel" type="u"/> + <property name="LinePowerScreenBlackDelay" type="i" access="readwrite"/> + <property name="LidIsPresent" type="b" access="read"/> + <property name="SleepLock" type="b" access="readwrite"/> + <property name="LidClosedSleep" type="b" access="readwrite"/> </interface> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dde-qt-dbus-factory-1.1.1/xml/com.deepin.deepinid.xml new/dde-qt-dbus-factory-1.1.6/xml/com.deepin.deepinid.xml --- old/dde-qt-dbus-factory-1.1.1/xml/com.deepin.deepinid.xml 1970-01-01 01:00:00.000000000 +0100 +++ new/dde-qt-dbus-factory-1.1.6/xml/com.deepin.deepinid.xml 2019-06-19 11:15:56.000000000 +0200 @@ -0,0 +1,19 @@ +<interface name="com.deepin.deepinid"> + <method name="GetToken"> + <arg type="s" direction="out"/> + </method> + <method name="Login"/> + <method name="Logout"/> + <method name="RevokeAccess"> + <arg type="s" direction="in"/> + </method> + <method name="SetToken"> + <arg type="a{sv}" direction="in"/> + <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QVariantMap"/> + </method> + <property name="HardwareID" type="s" access="read"/> + <property name="MachineName" type="s" access="read"/> + <property name="UserInfo" type="a{sv}" access="read"> + <annotation name="org.qtproject.QtDBus.QtTypeName" value="QVariantMap"/> + </property> +</interface> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dde-qt-dbus-factory-1.1.1/xml/com.deepin.sync.daemon.xml new/dde-qt-dbus-factory-1.1.6/xml/com.deepin.sync.daemon.xml --- old/dde-qt-dbus-factory-1.1.1/xml/com.deepin.sync.daemon.xml 1970-01-01 01:00:00.000000000 +0100 +++ new/dde-qt-dbus-factory-1.1.6/xml/com.deepin.sync.daemon.xml 2019-06-19 11:15:56.000000000 +0200 @@ -0,0 +1,32 @@ +<interface name="com.deepin.sync.Daemon"> + <method name="IsOnline"> + <arg type="b" direction="out"/> + </method> + <method name="OnMessage"> + <arg type="a{sv}" direction="in"/> + <annotation name="org.qtproject.QtDBus.QtTypeName.In0" value="QVariantMap"/> + </method> + <method name="Register"> + <arg type="s" direction="in"/> + <arg type="s" direction="in"/> + </method> + <method name="SwitcherDump"> + <arg type="s" direction="out"/> + </method> + <method name="SwitcherGet"> + <arg type="s" direction="in"/> + <arg type="b" direction="out"/> + </method> + <method name="SwitcherSet"> + <arg type="s" direction="in"/> + <arg type="b" direction="in"/> + </method> + <signal name="SwitcherChange"> + <arg name="switcher" type="s"/> + <arg name="enabled" type="b"/> + </signal> + <property name="LastSyncTime" type="x" access="read"/> + <property name="State" type="(is)" access="read"> + <annotation name="org.qtproject.QtDBus.QtTypeName" value="IntString"/> + </property> +</interface>