WebpagePrinterTool 2.0
Print a web page skip the browser's print preview
载入中...
搜索中...
未找到
RespGetPrintersInfo结构体 参考

获取打印机信息 response 更多...

#include <WebInterface.h>

类 RespGetPrintersInfo 继承关系图:
RespGetPrintersInfo 的协作图:

静态 Public 成员函数

static QJsonObject toJsonObject (std::optional< int > uid, const QList< QPrinterInfo > &printers)
 

Public 属性

QList< PrinterInfodata {}
 
- Public 属性 继承自 RespBase
bool is_success = false
 是否成功
 
std::optional< int > uid
 uid,websocket 的消息request 和 resp 不限制对应关系,uid 保证了他们的联系, 也就是 uid 相同 的 request 和 response 对应 由request端生成
 

额外继承的成员函数

- Public 成员函数 继承自 RespBase
 RespBase ()=delete
 

详细描述

获取打印机信息 response

参见
RespError

成员函数说明

◆ toJsonObject()

static QJsonObject RespGetPrintersInfo::toJsonObject ( std::optional< int > uid,
const QList< QPrinterInfo > & printers )
inlinestatic

类成员变量说明

◆ data

QList<PrinterInfo> RespGetPrintersInfo::data {}

该结构体的文档由以下文件生成: