10 2024 档案

摘要:class QMetaMethodPrivate : public QMetaMethodInvoker { public: static const QMetaMethodPrivate *get(const QMetaMethod *q) { return static_cast<const Q 阅读全文
posted @ 2024-10-27 12:06 MarsCactus 阅读(20) 评论(0) 推荐(0) 编辑
摘要:bool QMetaMethod::invoke(QObject *object, Qt::ConnectionType connectionType, QGenericReturnArgument returnValue, QGenericArgument val0, QGenericArgume 阅读全文
posted @ 2024-10-27 10:01 MarsCactus 阅读(23) 评论(0) 推荐(0) 编辑
摘要:#pragma once #include <qobject.h> #include <string> using namespace std; class Person : public QObject { Q_OBJECT public: Q_INVOKABLE Person(int age, 阅读全文
posted @ 2024-10-26 18:57 MarsCactus 阅读(27) 评论(0) 推荐(0) 编辑
摘要:此图为Qt5.x中源码 此图为Qt6.x中源码 阅读全文
posted @ 2024-10-26 15:52 MarsCactus 阅读(5) 评论(0) 推荐(0) 编辑
摘要:#define QT_FOR_EACH_STATIC_TYPE(F)\ QT_FOR_EACH_STATIC_PRIMITIVE_TYPE(F)\ QT_FOR_EACH_STATIC_PRIMITIVE_POINTER(F)\ QT_FOR_EACH_STATIC_CORE_CLASS(F)\ Q 阅读全文
posted @ 2024-10-24 11:59 MarsCactus 阅读(8) 评论(0) 推荐(0) 编辑
摘要:The $ character identifies a string literal as an interpolated string. An interpolated string is a string literal that might contain interpolation exp 阅读全文
posted @ 2024-10-18 23:10 MarsCactus 阅读(5) 评论(0) 推荐(0) 编辑
摘要:Expression body definitions let you provide a member's implementation in a concise, readable form. You can use an expression body definition whenever 阅读全文
posted @ 2024-10-18 23:01 MarsCactus 阅读(13) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示