Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QDesignerMetaMethodInterface Class Referenceabstract

QDesignerMetaMethodInterface is part of \QD's introspection interface and represents a member function. More...

#include <abstractintrospection_p.h>

+ Collaboration diagram for QDesignerMetaMethodInterface:

Public Types

enum  MethodType { Method , Signal , Slot , Constructor }
 This enum specifies the type of the method. More...
 
enum  Access { Private , Protected , Public }
 This enum represents the access specification of the method. More...
 

Public Member Functions

 QDesignerMetaMethodInterface ()
 Constructs a QDesignerMetaMethodInterface object.
 
virtual ~QDesignerMetaMethodInterface ()
 Destroys the QDesignerMetaMethodInterface object.
 
virtual Access access () const =0
 Returns the access specification of this method.
 
virtual MethodType methodType () const =0
 Returns the type of this method.
 
virtual QStringList parameterNames () const =0
 Returns a list of parameter names.
 
virtual QStringList parameterTypes () const =0
 Returns a list of parameter types.
 
virtual QString signature () const =0
 Returns the signature of this method.
 
virtual QString normalizedSignature () const =0
 Returns the normalized signature of this method (suitable as signal/slot specification).
 
virtual QString tag () const =0
 Returns the tag associated with this method.
 
virtual QString typeName () const =0
 Returns the return type of this method, or an empty string if the return type is void.
 

Detailed Description

QDesignerMetaMethodInterface is part of \QD's introspection interface and represents a member function.

Since
4.4

\inmodule QtDesigner

The QDesignerMetaMethodInterface class provides meta-data about a member function.

See also
QDesignerMetaObjectInterface

Definition at line 79 of file abstractintrospection_p.h.

Member Enumeration Documentation

◆ Access

This enum represents the access specification of the method.

\value Private A private member function \value Protected A protected member function \value Public A public member function

Enumerator
Private 
Protected 
Public 

Definition at line 88 of file abstractintrospection_p.h.

◆ MethodType

This enum specifies the type of the method.

\value Method The function is a plain member function. \value Signal The function is a signal. \value Slot The function is a slot. \value Constructor The function is a constructor.

Enumerator
Method 
Signal 
Slot 
Constructor 

Definition at line 87 of file abstractintrospection_p.h.

Constructor & Destructor Documentation

◆ QDesignerMetaMethodInterface()

QDesignerMetaMethodInterface::QDesignerMetaMethodInterface ( )
default

Constructs a QDesignerMetaMethodInterface object.

◆ ~QDesignerMetaMethodInterface()

QDesignerMetaMethodInterface::~QDesignerMetaMethodInterface ( )
virtualdefault

Destroys the QDesignerMetaMethodInterface object.

Member Function Documentation

◆ access()

virtual Access QDesignerMetaMethodInterface::access ( ) const
pure virtual

Returns the access specification of this method.

◆ methodType()

virtual MethodType QDesignerMetaMethodInterface::methodType ( ) const
pure virtual

Returns the type of this method.

◆ normalizedSignature()

virtual QString QDesignerMetaMethodInterface::normalizedSignature ( ) const
pure virtual

Returns the normalized signature of this method (suitable as signal/slot specification).

◆ parameterNames()

virtual QStringList QDesignerMetaMethodInterface::parameterNames ( ) const
pure virtual

Returns a list of parameter names.

◆ parameterTypes()

virtual QStringList QDesignerMetaMethodInterface::parameterTypes ( ) const
pure virtual

Returns a list of parameter types.

◆ signature()

virtual QString QDesignerMetaMethodInterface::signature ( ) const
pure virtual

Returns the signature of this method.

◆ tag()

virtual QString QDesignerMetaMethodInterface::tag ( ) const
pure virtual

Returns the tag associated with this method.

◆ typeName()

virtual QString QDesignerMetaMethodInterface::typeName ( ) const
pure virtual

Returns the return type of this method, or an empty string if the return type is void.


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