이 페이지에서

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.