dtkcore/src
yeshanshan 72c74eec4b refactor: replace QtDBus with libdbus-1 in dsgapplication
The changes replace QtDBus implementation with direct libdbus-1 calls
in dsgapplication.cpp for better control and performance. Key changes
include:
1. Added libdbus-1-dev as build dependency in debian/control
2. Updated CMakeLists.txt to find and link against libdbus-1
3. Implemented new utility functions checkDBusServiceActivatable and
callDBusIdentifyMethod using libdbus-1 API
4. Removed QtDBus dependencies and replaced with direct D-Bus calls
5. Added proper error handling and resource cleanup for D-Bus
connections

This change provides more direct control over D-Bus interactions
and removes QtDBus dependency overhead while maintaining the same
functionality.

refactor: 在 dsgapplication 中用 libdbus-1 替换 QtDBus

这些更改用直接的 libdbus-1 调用替换了 dsgapplication.cpp 中的 QtDBus 实
现,以获得更好的控制和性能。主要变更包括:
1. 在 debian/control 中添加了 libdbus-1-dev 作为构建依赖
2. 更新 CMakeLists.txt 以查找并链接 libdbus-1
3. 使用 libdbus-1 API 实现了新的实用函数 checkDBusServiceActivatable 和
callDBusIdentifyMethod
4. 移除了 QtDBus 依赖项并替换为直接的 D-Bus 调用
5. 为 D-Bus 连接添加了适当的错误处理和资源清理

此变更提供了对 D-Bus 交互更直接的控制,在保持相同功能的同时移除了 QtDBus
依赖开销。
2025-07-03 20:38:54 +08:00
..
base chore: add CMake rules for installing dexpected.h 2022-10-24 02:36:46 +00:00
dbus feat: Add isDefaultValue for DConfig 2023-09-15 16:55:13 +08:00
dci fix: compilation on Qt 6.8.1 2024-12-03 14:13:18 +08:00
filesystem fix: compilation on Qt 6.8.1 2024-12-03 14:13:18 +08:00
log fix: improve logging rules environment variable handling 2025-06-27 12:20:14 +08:00
settings refactor!: deprecate some interfaces in dtk6 2023-07-05 10:19:56 +08:00
util fix: hasVtable is incorrect when destructing 2024-12-02 17:45:48 +08:00
CMakeLists.txt refactor: replace QtDBus with libdbus-1 in dsgapplication 2025-07-03 20:38:54 +08:00
dconfig.cpp feat: support auto generate the Qt code from a dconfig's json 2025-02-20 19:45:06 +08:00
dconfigfile.cpp fix: copy cachePrefix in DConfigFile copy constructor 2025-06-27 07:12:55 +00:00
ddesktopentry.cpp feat: support Qt6 2023-02-14 13:22:03 +08:00
dlicenseinfo.cpp feat: add license infomation feature 2023-05-09 16:30:56 +08:00
dsecurestring.cpp fix: incorrect DSecureString destructor 2023-04-28 09:24:14 +08:00
dsgapplication.cpp refactor: replace QtDBus with libdbus-1 in dsgapplication 2025-07-03 20:38:54 +08:00
dsysinfo.cpp fix: add missing UosMilitary edition type cases 2025-05-19 09:04:06 +00:00
dtkcore_global.cpp chore: remove unused code 2024-01-10 11:14:25 +08:00
glob.cmake refactor!: deprecate some interfaces in dtk6 2023-07-05 10:19:56 +08:00