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
NativeEnumInterface Class Referenceabstract

Interface implemented by Node subclasses that can refer to a C++ enum. More...

#include <nativeenum.h>

Inheritance diagram for NativeEnumInterface:
Collaboration diagram for NativeEnumInterface:

Public Member Functions

virtual ~NativeEnumInterface ()=default
virtual NativeEnumnativeEnum ()=0
virtual const NativeEnumnativeEnum () const =0

Detailed Description

Interface implemented by Node subclasses that can refer to a C++ enum.

Nodes implementing this interface provide a const and a non-const getter returning a NativeEnum pointer.

Definition at line 27 of file nativeenum.h.

Constructor & Destructor Documentation

◆ ~NativeEnumInterface()

virtual NativeEnumInterface::~NativeEnumInterface ( )
virtualdefault

Member Function Documentation

◆ nativeEnum() [1/2]

virtual const NativeEnum * NativeEnumInterface::nativeEnum ( ) const
pure virtual

Implemented in QmlEnumNode, and QmlPropertyNode.

Referenced by Generator::generateEnumValuesForQmlReference(), and CppCodeMarker::markedUpEnumValue().

Here is the caller graph for this function:

◆ nativeEnum() [2/2]

virtual NativeEnum * NativeEnumInterface::nativeEnum ( )
pure virtual

Implemented in QmlEnumNode, and QmlPropertyNode.

Referenced by CppCodeParser::processMetaCommand().

Here is the caller graph for this function:

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