QGenericArgument Class

QGenericArgument 클래스는 인자를 마샬링하기 위한 내부 도우미 클래스입니다. 더 보기...

Header: #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.