umbrello/umbrello
#include <toolbarstatefactory.h>
Public Member Functions | |
ToolBarStateFactory () | |
virtual | ~ToolBarStateFactory () |
ToolBarState * | getState (const WorkToolBar::ToolBar_Buttons &toolbarButton, UMLScene *umlScene) |
Protected Member Functions | |
int | getKey (const WorkToolBar::ToolBar_Buttons &toolbarButton) const |
Protected Attributes | |
ToolBarState * | m_states [NR_OF_TOOLBAR_STATES] |
Detailed Description
The ToolBarStateFactory keeps track of all the toolbar states.
For the first request, the factory creates a new state object. The next requests to this object, this factory will return the existing object.
States that inherit from the ToolBarStatePool share multiple toolbar states. Therefore the setButton function is called. Internally the shared state object determines the exact behavior by itself.
Definition at line 33 of file toolbarstatefactory.h.
Constructor & Destructor Documentation
ToolBarStateFactory::ToolBarStateFactory | ( | ) |
Definition at line 22 of file toolbarstatefactory.cpp.
|
virtual |
Definition at line 30 of file toolbarstatefactory.cpp.
Member Function Documentation
|
protected |
Definition at line 67 of file toolbarstatefactory.cpp.
ToolBarState * ToolBarStateFactory::getState | ( | const WorkToolBar::ToolBar_Buttons & | toolbarButton, |
UMLScene * | umlScene | ||
) |
Definition at line 40 of file toolbarstatefactory.cpp.
Member Data Documentation
|
protected |
Definition at line 48 of file toolbarstatefactory.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:06:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.