本页内容

Qt D-Bus C++ Classes

Qt D-Bus 模块是一个仅限Unix系统的库,可用于通过D-Bus协议进行进程间通信。更多内容...

命名空间

QDBus

包含Qt D-Bus 模块中使用的各类标识符

类

QDBusAbstractAdaptor

D-Bus 适配器类的基类

QDBusAbstractInterface

Qt D-Bus 绑定中所有 D-Bus 接口的基类,允许访问远程接口

QDBusArgument

用于对 D-Bus 参数进行序列化和反序列化

QDBusConnection

表示与 D-Bus 总线守护进程的连接

QDBusConnectionInterface

访问 D-Bus 总线守护进程服务

QDBusContext

允许插槽确定调用的 D-Bus 上下文

QDBusError

表示从 D-Bus 总线或总线中发现的远程应用程序接收到的错误

QDBusInterface

远程对象接口的代理

QDBusMessage

表示通过 D-Bus 总线发送或接收的一条消息

QDBusObjectPath

使程序员能够识别由 D-Bus 类型系统提供的 OBJECT_PATH 类型

QDBusPendingCall

指一个待处理的异步调用

QDBusPendingCallWatcher

等待异步响应的便捷方式

QDBusPendingReply

包含对异步方法调用的响应

QDBusReply

用于存储对远程对象的方法调用的响应

QDBusServer

同一台计算机上进程之间的点对点通信

QDBusServiceWatcher

允许用户监听总线服务的变化

QDBusSignature

使程序员能够识别 D-Bus 类型系统提供的 SIGNATURE 类型

QDBusUnixFileDescriptor

保存一个 Unix 文件描述符

QDBusVariant

使程序员能够识别 D-Bus 类型系统提供的变体类型

QDBusVirtualObject

用于通过一个类处理多个 DBus 路径

详细说明

使用Qt D-Bus 模块的应用程序可以通过导出对象为其他远程应用程序提供服务,也可以通过调用和访问属性来使用这些应用程序导出的服务。

该 Qt D-Bus 页面包含有关如何使用该模块的信息。

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.