#include <actionfactorymanager.h>
Singleton container for JobActionFactory objects.
<molequeue/actionfactorymanager.h>
- Author
- David C. Lonie
◆ instance()
- Returns
- The singleton instance of the manager.
◆ readSettings()
void readSettings |
( |
QSettings & | settings | ) |
|
Read programmatically constructed factories from settings.
◆ writeSettings()
void writeSettings |
( |
QSettings & | settings | ) |
const |
Write programmatically constructed factories to settings.
◆ setServer()
Set the Server object used by owned factories.
◆ server()
Get the Server object used by owned factories.
◆ addFactory()
Add a factory to the manager. The Manager takes ownership of the factory and sets the server ivar of the factor to the ActionFactoryManager::server() instance.
◆ factories() [1/2]
- Returns
- A list of all factories owned by the manager.
◆ factories() [2/2]
Obtain a subset of owned factories. Factories whose JobActionFactory::flags() method returns a superset of flags will be returned.
- Parameters
-
flags | A combination of JobActionFactory::Flags used to filter the returned list. |
- Returns
- A list of JobActionFactory pointers filtered by flags.
◆ factoriesOfType()
template<class FactoryType >
QList< FactoryType * > factoriesOfType |
( |
| ) |
const |
Get all factories of a specific type.
- Parameters
-
- Returns
- A list of FactoryType pointers.
◆ removeFactory()
Remove the factory pointed to by factory from the manager.
The documentation for this class was generated from the following file: