|
virtual void | updateFromModel () |
|
virtual void | onEntityAdded (QString pluginID, Entity *entity) |
|
virtual void | errorMessage (QString error) |
|
virtual void | onEntityChanged (QString pluginID, Entity *entity) |
|
virtual void | onEntityRemoved (QString pluginID, QString entityID) |
|
virtual void | changeSelectedEntity (QString pluginID, void *entityUID) |
|
void | clearValidationError (QString pluginID, void *param) |
|
void | validationError (QString pluginID, void *param) |
|
void | requestEntitySelection (const QString uid) |
|
void | requestEntityAddition (Entity *entity) |
|
void | requestEntityRemotion (Entity *entity) |
|
void | requestEntityChange (Entity *entity) |
|
void | requestEntitySelection (Entity *entity) |
|
void | notifyEntityAddedInView (const QString uid, const QString parent, QMap< QString, QString > properties) |
|
void | notifyEntityDeletedInView (const QString uid) |
|
void | notifyEntityChangedInView (const QString uid, QMap< QString, QString > properties) |
|
void | textualStartSync (QString, void *) |
|
void | textualFinishSync (QString, void *) |
|
virtual void | onEntityAdded (QString pluginID, Entity *entity) |
| This is called by the core when a new Entity is added. More...
|
|
virtual void | onEntityChanged (QString pluginID, Entity *entity) |
| Called by the core when an Entity is changed. More...
|
|
|
void | addEntity (QString type, QString parentEntityId, QMap< QString, QString > &atts, bool force) |
| This message can be used to add a new entity in the model. More...
|
|
void | setAttributes (Entity *entity, QMap< QString, QString > atts, bool force) |
| This message can be used to edit the attributes of an Entity. More...
|
|
void | removeEntity (Entity *entity, bool force) |
| This message can be used to ask the core to remove an Entity. More...
|
|
void | setListenFilter (const QStringList &entityTypes) |
| Say the core that the plugin is interested in just the entities of the the type passed as parameter. More...
|
|
void | sendBroadcastMessage (const char *msg, void *obj) |
| Can be used to extend the current messages of Core. More...
|
|
void | setPluginData (QByteArray data) |
| Each plugin is able to save its specific data by calling this message. More...
|
|
void | setCurrentProjectAsDirty () |
| TODO. More...
|
|
Definition at line 32 of file qnstcomposerplugin.h.
bool QnstComposerPlugin::saveSubsession |
( |
) | |
|
|
virtual |
Says to plugin save its settings.
The core calls this method to notify the plugin that the user is requesting to save this document. Some plugins need to save special settings for a particular document, in case that document is re-open in a different session.
- Returns
- bool - true if the save was successfull, false otherwise
Reimplemented from composer::extension::IPlugin.
Definition at line 142 of file qnstcomposerplugin.cpp.
void composer::extension::IPlugin::sendBroadcastMessage |
( |
const char * |
msg, |
|
|
void * |
obj |
|
) |
| |
|
signalinherited |
Can be used to extend the current messages of Core.
This message is send to all plugins without any validation. The content of the message can be any QObject and are useful to extend the default core message.
Always, the signature of the method msg implemented by an receiver must be an public slot like: void msg(QString pluginID, void *obj)
The core will call this msg method to each publin that implements it when sendBroadcastMethod is called.