#include <avogadro/qtgui/pluginmanager.h>
Public Member Functions | |
QStringList & | pluginDirList () |
void | load () |
void | load (const QString &dir) |
QList < ConnectionListenerFactory * > | connectionListenerFactories () const |
Static Public Member Functions | |
static PluginManager * | instance () |
This class takes care of finding and loading MoleQueue plugins.
This class will find and load MoleQueue plugins. Once loaded you can use an instance of this class to query and construct plugin instances. By default plugins are loaded from QApplication::applicationDirPath()../lib/molequeue/plugins but this can be changed or more paths can be added.
|
static |
Get the singleton instance of the plugin manager. This instance should not be deleted.
QStringList& pluginDirList | ( | ) |
Get a reference to the plugin directory path list. Modifying this before calling load will allow you to add, remove or append to the search paths.
void load | ( | ) |
Load all plugins available in the specified plugin directories.
QList<ConnectionListenerFactory *> connectionListenerFactories | ( | ) | const |
Return the loaded connection listener factories. Will be empty unless load was already called.