The AllTreeManagers class contains all existing tree managers.
More...
The AllTreeManagers class contains all existing tree managers.
◆ ~AllTreeManagers()
Model::AllTreeManagers::~AllTreeManagers |
( |
| ) |
|
◆ AllTreeManagers() [1/2]
◆ AllTreeManagers() [2/2]
Model::AllTreeManagers::AllTreeManagers |
( |
| ) |
|
|
private |
◆ add()
void Model::AllTreeManagers::add |
( |
TreeManager * |
manager | ) |
|
|
private |
Adds manager the list of tree managers.
This manager will take ownership of manager.
Newly created instances of TreeManager call this method in their constructors.
◆ cleanup()
void Model::AllTreeManagers::cleanup |
( |
| ) |
|
|
static |
Closes all loaded tree managers.
◆ find()
Returns the TreeManager object that has as its root node the node indicated.
◆ init()
void Model::AllTreeManagers::init |
( |
| ) |
|
|
static |
Registers types with the meta object system of Qt to allow signals and slots to work with lists.
◆ instance()
◆ loadedManagers()
const QList< TreeManager * > & Model::AllTreeManagers::loadedManagers |
( |
| ) |
const |
|
inline |
Returns a list to all currently loaded tree managers.
◆ managerOfOwningUndoStack()
◆ nodeForId()
◆ operator=()
◆ remove()
Removes manager from the list of tree managers.
This manager will give up ownership of manager.
The removed tree manager is returned. This method is called in the desctructor of TreeManager.
◆ TreeManager
◆ loadedManagers_
QList<TreeManager*> Model::AllTreeManagers::loadedManagers_ |
|
private |
A list of all TreeManager objects that are currently instantiated.
This is used to find the TreeManager corresponding to a particular root object.