MuseScore  3.4
Music composition and notation
Classes | Namespaces | Macros
qmlpluginapi.h File Reference
#include "config.h"
#include "../qmlplugin.h"
#include "enums.h"
#include "libmscore/mscore.h"
#include "libmscore/utils.h"
Include dependency graph for qmlpluginapi.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Ms::PluginAPI::PluginAPI
 Main class of the plugins framework. Named as MuseScore in QML. More...
 

Namespaces

 Ms
 
 
 Ms::PluginAPI
 Contains items exposed to the QML plugins framework.
 

Macros

#define DECLARE_API_ENUM(qmlName, cppName)
 

Macro Definition Documentation

◆ DECLARE_API_ENUM

#define DECLARE_API_ENUM (   qmlName,
  cppName 
)
Value:
Q_PROPERTY(Ms::PluginAPI::Enum* qmlName READ get_##cppName CONSTANT) \
static Enum* cppName; \
static Enum* get_##cppName() { return cppName; }
Wrapper for enumerations.
Definition: enums.h:33