#include <QtGui>
#include <QtScript>
#include "VidaliaTabPrototype.h"
#include "HelperProcessPrototype.h"
#include "TorControlPrototype.h"
Go to the source code of this file.
|
#define | ADD_PROTOTYPE(protoType) |
|
#define | MAKE_CREATABLE(protoType) globalObject().setProperty(protoType::name(), newFunction(protoType::constructor, __script##protoType)); |
|
◆ ADD_PROTOTYPE
#define ADD_PROTOTYPE |
( |
|
protoType | ) |
|
Value: QScriptValue __script##protoType = newQObject(new protoType); \
setDefaultPrototype(protoType::metaTypeId(), __script##protoType); \
Definition at line 28 of file PluginEngine.h.
◆ MAKE_CREATABLE
#define MAKE_CREATABLE |
( |
|
protoType | ) |
globalObject().setProperty(protoType::name(), newFunction(protoType::constructor, __script##protoType)); |