![]() |
Kooky
|
This class holds data of an plugin. More...
#include <cplugin.h>
Collaboration diagram for cPlugin:Public Types | |
| enum | PluginCap { PluginCapNone = 0, PluginCapImport = 1, PluginCapExport = 2, PluginCapDB = 3 } |
Public Member Functions | |
| cPlugin (const QString &szFile) | |
| ~cPlugin () | |
| bool | isValid () |
| PluginCap | capability () |
| QString | pluginName () |
| qint16 | pluginAPIVersion () |
| qint16 | pluginVersion () |
| void | setAction (QAction *lpAction) |
| QAction * | action () |
| QString | pluginFile () |
| cImportInterface * | importInterface () |
| cDBInterface * | dbInterface () |
Private Attributes | |
| QPluginLoader * | m_lpPluginLoader |
| cImportInterface * | m_lpImportInterface |
| cDBInterface * | m_lpDBInterface |
| QAction * | m_lpAction |
| enum cPlugin::PluginCap |
| cPlugin::cPlugin | ( | const QString & | szFile | ) |
References m_lpDBInterface, m_lpImportInterface, and m_lpPluginLoader.
| cPlugin::~cPlugin | ( | ) |
References m_lpPluginLoader.
| QAction * cPlugin::action | ( | ) |
References m_lpAction.
| cPlugin::PluginCap cPlugin::capability | ( | ) |
References m_lpDBInterface, m_lpImportInterface, PluginCapDB, PluginCapImport, and PluginCapNone.
Referenced by cImportIngredientDialog::setPluginList(), and cOptionsPlugins::showConfigDlg().
Here is the caller graph for this function:| cDBInterface * cPlugin::dbInterface | ( | ) |
References m_lpDBInterface.
Referenced by cMainWindow::pluginDBTriggered(), and cOptionsPlugins::showConfigDlg().
Here is the caller graph for this function:| cImportInterface * cPlugin::importInterface | ( | ) |
References m_lpImportInterface.
Referenced by cImportIngredientDialog::on_m_lpSearchButton_clicked(), cImportIngredientDialog::onIngredientListSelectionChanged(), and cOptionsPlugins::showConfigDlg().
Here is the caller graph for this function:| bool cPlugin::isValid | ( | ) |
References m_lpPluginLoader.
Referenced by cMainWindow::loadPlugins().
Here is the caller graph for this function:| qint16 cPlugin::pluginAPIVersion | ( | ) |
References m_lpDBInterface, m_lpImportInterface, and cInterface::pluginAPIVersion().
Here is the call graph for this function:| QString cPlugin::pluginFile | ( | ) |
References m_lpPluginLoader.
| QString cPlugin::pluginName | ( | ) |
References m_lpDBInterface, m_lpImportInterface, and cInterface::pluginName().
Referenced by cMainWindow::loadPlugins(), cOptionsPlugins::onOptionsPluginTreePluginToggled(), cMainWindow::pluginDBTriggered(), and cImportIngredientDialog::setPluginList().
Here is the call graph for this function:
Here is the caller graph for this function:| qint16 cPlugin::pluginVersion | ( | ) |
References m_lpDBInterface, m_lpImportInterface, and cInterface::pluginVersion().
Here is the call graph for this function:| void cPlugin::setAction | ( | QAction * | lpAction | ) |
| lpAction |
References m_lpAction.
Referenced by cMainWindow::loadPlugins().
Here is the caller graph for this function:
|
private |
TODO: describe
Referenced by action(), and setAction().
|
private |
TODO: describe
Referenced by capability(), cPlugin(), dbInterface(), pluginAPIVersion(), pluginName(), and pluginVersion().
|
private |
TODO: describe
Referenced by capability(), cPlugin(), importInterface(), pluginAPIVersion(), pluginName(), and pluginVersion().
|
private |
TODO: describe
Referenced by cPlugin(), isValid(), pluginFile(), and ~cPlugin().