24#ifndef _GEMA_PLUGIN_DATA_H_
25#define _GEMA_PLUGIN_DATA_H_
43 QString id()
const {
return _data.value(
"id").toString(); }
57 const QVariantMap&
data()
const {
return _data; }
Class representing a category with multiple logging levels.
Definition gmLog.h:58
This class is a simple wrapper over a generic Lua table, provided in the model, that also handles the...
Definition gmPluginData.h:37
QString description() const
Returns the object description.
Definition gmPluginData.h:46
QString id() const
Returns the object id.
Definition gmPluginData.h:43
const QVariantMap & data() const
Returns the map with stored data.
Definition gmPluginData.h:57
QString typeName() const
Returns the alias with wich this object was created (or PluginData if not created by an alias)
Definition gmPluginData.h:49
QVariantMap _data
The stored data;.
Definition gmPluginData.h:64
QVariant value(QString field) const
Returns the value of the stored field as a QVariant. For Lua functions, use luaFunction() instead.
Definition gmPluginData.h:52
#define GMC_API_EXPORT
Macro for controlling if the class is being exported (GEMA_CORE_LIB defined) or imported (GEMA_CORE_L...
Definition gmCoreConfig.h:35
Declaration of support functions and macros for information logging.