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 参数的 marshall 和 demarshall

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页面包含有关如何使用该模块的信息。

© 2025 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.