#include <actionfactorymanager.h>
Singleton container for JobActionFactory objects.
<molequeue/actionfactorymanager.h>
- Author
- David C. Lonie
- Returns
- The singleton instance of the manager.
void readSettings |
( |
QSettings & |
settings | ) |
|
Read programmatically constructed factories from settings.
void writeSettings |
( |
QSettings & |
settings | ) |
const |
Write programmatically constructed factories to settings.
Set the Server object used by owned factories.
Get the Server object used by owned factories.
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.
- Returns
- A list of all factories owned by the manager.
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.
QList<FactoryType*> factoriesOfType |
( |
| ) |
const |
Get all factories of a specific type.
- Parameters
-
- Returns
- A list of FactoryType pointers.
Remove the factory pointed to by factory from the manager.
The documentation for this class was generated from the following file: