Avogadro
1.1.0
|
Public Member Functions | |
PluginItem (const QString &name, const QString &identifier, const QString &description, Plugin::Type type, const QString &fileName, const QString &filePath, PluginFactory *factory=0, bool enabled=true) | |
int | type () const |
QString | name () const |
QString | description () const |
QString | identifier () const |
QString | fileName () const |
QString | absoluteFilePath () const |
bool | isEnabled () const |
PluginFactory * | factory () const |
void | setType (Plugin::Type type) |
void | setName (const QString &name) |
void | setIdentifier (const QString &id) |
void | setDescription (const QString &description) |
void | setFileName (const QString &fileName) |
void | setAbsoluteFilePath (const QString &filePath) |
void | setEnabled (bool enable) |
void | setFactory (PluginFactory *factory) |
The absolute file path
QString Avogadro::PluginItem::description | ( | ) | const |
The plugin description (Draw, Stick, ...)
Referenced by setDescription().
QString Avogadro::PluginItem::fileName | ( | ) | const |
The plugin filename (libdrawtool.so, libaligntool.dll, ...)
Referenced by setFileName().
QString Avogadro::PluginItem::identifier | ( | ) | const |
The plugin unique, untranslated identifier
Referenced by setIdentifier(), and Avogadro::PluginManager::writeSettings().
bool Avogadro::PluginItem::isEnabled | ( | ) | const |
Should the plugin be loaded
Referenced by Avogadro::PluginManager::writeSettings().
QString Avogadro::PluginItem::name | ( | ) | const |
The plugin name (Draw, Stick, ...)
Referenced by setName().
void Avogadro::PluginItem::setAbsoluteFilePath | ( | const QString & | filePath | ) |
The absolute file path
void Avogadro::PluginItem::setDescription | ( | const QString & | description | ) |
Set the plugin description
References description().
void Avogadro::PluginItem::setEnabled | ( | bool | enable | ) |
Should the plugin be loaded
void Avogadro::PluginItem::setFileName | ( | const QString & | fileName | ) |
The plugin filename (libdrawtool.so, libaligntool.dll, ...)
References fileName().
void Avogadro::PluginItem::setIdentifier | ( | const QString & | id | ) |
Set the plugin unique, untranslated identifier
References identifier().
void Avogadro::PluginItem::setName | ( | const QString & | name | ) |
Set the plugin name (Draw, Stick, ...)
References name().
void Avogadro::PluginItem::setType | ( | Plugin::Type | type | ) |
Set the plugin type (engine = 0, tool = 1, extension = 2)
References type().
int Avogadro::PluginItem::type | ( | ) | const |
The plugin type (engine = 0, tool = 1, extension = 2)
Referenced by setType().