Represents a QML method. 更多...
头: | #include <Method> |
CMake: |
find_package(Qt6 REQUIRED COMPONENTS QmlCompiler)
target_link_libraries(mytarget PRIVATE Qt6::QmlCompiler) |
状态: | 技术预览 |
class | 方法 |
QString | methodName () const |
QQmlSA::MethodType | methodType () const |
Returns the name of the this method.
Returns the type of this method. For example, Signal, Slot, Method or StaticMethod.