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)

与えられたnamedata で QGenericArgument オブジェクトを構築する。

void *QGenericArgument::data() const

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

const char *QGenericArgument::name() const

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

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