各位大佬,这几句代码是什么意思呢?

亭台六七座 2020-07-14 06:16:01
inline Word::ListParagraphs* Document::ListParagraphs() const
{
Word::ListParagraphs* qax_pointer = 0;
qRegisterMetaType<Word::ListParagraphs*>("ListParagraphs*", &qax_pointer);
qRegisterMetaType<Word::ListParagraphs>("ListParagraphs", qax_pointer);
QVariant qax_result = property("ListParagraphs");
if (!qax_result.constData()) return 0;
Q_ASSERT(qax_result.isValid());
return *(Word::ListParagraphs**)qax_result.constData();
}
各位大佬,前三句代码是什么意思呢?
...全文
76 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
Z_墨脱 2020-07-14
  • 打赏
  • 举报
回复
第一句类的作用域,第二三句是自定义类型如果信号槽想传递参数需要进行注册

16,235

社区成员

发帖
与我相关
我的任务
社区描述
Qt 是一个跨平台应用程序框架。通过使用 Qt,您可以一次性开发应用程序和用户界面,然后将其部署到多个桌面和嵌入式操作系统,而无需重复编写源代码。
社区管理员
  • Qt
  • 亭台六七座
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧