このページでは

QGenericArgument Class

QGenericArgument クラスは、引数のマーシャリングを行うための内部ヘルパークラスです。詳細...

ヘッダー: #include <QGenericArgument>
CMake: find_package(Qt6 REQUIRED COMPONENTS Core)
target_link_libraries(mytarget PRIVATE Qt6::Core)
qmake: QT += core
継承元:

QGenericReturnArgument

パブリック関数

QGenericArgument(const char *name = nullptr, const void *data = nullptr)
void *data() const
const char *name() const

詳細な説明

このクラスを直接使用してはなりません。代わりに、Q_ARG() マクロを使用してください。

関連項目: Q_ARG()、QMetaObject::invokeMethod()、およびQGenericReturnArgument 。

メンバ関数のドキュメント

QGenericArgument::QGenericArgument(const char *name = nullptr, const void *data = nullptr)

指定されたname およびdata を使用して、QGenericArgumentオブジェクトを構築します。

void *QGenericArgument::data() const

コンストラクタで設定されたデータセットを返します。

const char *QGenericArgument::name() const

コンストラクタで設定された名前を返します。

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