1#ifndef RSCRIPTSPLUGIN_H_
2#define RSCRIPTSPLUGIN_H_
6#if QT_VERSION < 0x060000
7#include <QScriptEngine>
17#if QT_VERSION >= 0x050000
18 Q_PLUGIN_METADATA(IID
"org.qcad.scripts")
27#if QT_VERSION < 0x060000
Information about a plugin.
Definition RPluginInfo.h:42
Interface for all C++ QCAD plugins.
Definition RPluginInterface.h:43
InitStatus
Definition RPluginInterface.h:45
Definition RScriptsPlugin.h:14
virtual ~RScriptsPlugin()
Definition RScriptsPlugin.h:23
virtual void initTranslations()
Called when the user chosen language changed.
Definition RScriptsPlugin.cpp:19
virtual bool checkLicense()
Definition RScriptsPlugin.h:32
RScriptsPlugin()
Definition RScriptsPlugin.h:22
virtual void postInit(InitStatus)
Called after the application has been fully loaded, directly before entering the main event loop.
Definition RScriptsPlugin.h:26
virtual bool init()
Called immediately after the plugin has been loaded, directly after starting the application.
Definition RScriptsPlugin.cpp:5
virtual void initScriptExtensions(QScriptEngine &engine)
Called whenever a new script engine is instantiated.
Definition RScriptsPlugin.cpp:14
virtual void uninit(bool)
Called before a plugin is removed / unloaded.
Definition RScriptsPlugin.h:25
virtual RPluginInfo getPluginInfo()
Definition RScriptsPlugin.cpp:23