Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QQmlSA::Method Class Reference

\inmodule QtQmlCompiler More...

#include <qqmlsa.h>

+ Collaboration diagram for QQmlSA::Method:

Classes

class  Methods
 \inmodule QtQmlCompiler More...
 

Public Member Functions

 Method ()
 
 Method (const Method &)
 
 Method (Method &&) noexcept
 
Methodoperator= (const Method &)
 
Methodoperator= (Method &&) noexcept
 
 ~Method ()
 
QString methodName () const
 Returns the name of the this method.
 
QQmlSA::SourceLocation sourceLocation () const
 Returns the location in the QML code where this method is defined.
 
MethodType methodType () const
 Returns the type of this method.
 

Friends

bool operator== (const Method &lhs, const Method &rhs)
 
bool operator!= (const Method &lhs, const Method &rhs)
 

Detailed Description

\inmodule QtQmlCompiler

Represents a QML method.

Definition at line 110 of file qqmlsa.h.

Constructor & Destructor Documentation

◆ Method() [1/3]

Method::Method ( )

Definition at line 334 of file qqmlsa.cpp.

◆ Method() [2/3]

Method::Method ( const Method & other)

Definition at line 336 of file qqmlsa.cpp.

◆ Method() [3/3]

Method::Method ( Method && other)
noexcept

Definition at line 338 of file qqmlsa.cpp.

References other().

+ Here is the call graph for this function:

◆ ~Method()

Method::~Method ( )
default

Member Function Documentation

◆ methodName()

QString Method::methodName ( ) const

Returns the name of the this method.

Definition at line 368 of file qqmlsa.cpp.

References d.

◆ methodType()

MethodType Method::methodType ( ) const

Returns the type of this method.

For example, Signal, Slot, Method or StaticMethod.

Definition at line 378 of file qqmlsa.cpp.

References d.

◆ operator=() [1/2]

Method & Method::operator= ( const Method & other)

Definition at line 343 of file qqmlsa.cpp.

References other().

+ Here is the call graph for this function:

◆ operator=() [2/2]

Method & Method::operator= ( Method && other)
noexcept

Definition at line 353 of file qqmlsa.cpp.

References other().

+ Here is the call graph for this function:

◆ sourceLocation()

QQmlSA::SourceLocation Method::sourceLocation ( ) const

Returns the location in the QML code where this method is defined.

Definition at line 387 of file qqmlsa.cpp.

References d.

Friends And Related Symbol Documentation

◆ operator!=

bool operator!= ( const Method & lhs,
const Method & rhs )
friend

Definition at line 148 of file qqmlsa.h.

◆ operator==

bool operator== ( const Method & lhs,
const Method & rhs )
friend

Definition at line 144 of file qqmlsa.h.


The documentation for this class was generated from the following files: