|
Krita Source Code Documentation
|
#include <KoSelectedShapesProxySimple.h>
Inheritance diagram for KoSelectedShapesProxySimple:Public Member Functions | |
| KoSelectedShapesProxySimple (KoShapeManager *shapeManager) | |
| KoSelection * | selection () override |
Public Member Functions inherited from KoSelectedShapesProxy | |
| bool | isRequestingToBeEdited () |
| The shape wants to edited. This is used when a shape is passed between two different tools. This notifies the new tool that it needs to enter some extra edit mode. | |
| KoSelectedShapesProxy (QObject *parent=0) | |
| void | setRequestingToBeEdited (bool value) |
Private Attributes | |
| QPointer< KoShapeManager > | m_shapeManager |
Additional Inherited Members | |
Signals inherited from KoSelectedShapesProxy | |
| void | currentLayerChanged (const KoShapeLayer *layer) |
| void | selectionChanged () |
| void | selectionContentChanged () |
Definition at line 16 of file KoSelectedShapesProxySimple.h.
| KoSelectedShapesProxySimple::KoSelectedShapesProxySimple | ( | KoShapeManager * | shapeManager | ) |
Definition at line 13 of file KoSelectedShapesProxySimple.cpp.
References connect(), KoSelectedShapesProxy::currentLayerChanged(), KIS_ASSERT_RECOVER_RETURN, m_shapeManager, KoSelectedShapesProxy::selectionChanged(), and KoSelectedShapesProxy::selectionContentChanged().
|
overridevirtual |
Returns a pointer to a currently active shape selection. Don't connect to the selection, unless you really know what you are doing. Use the signals provided by KoSelectedShapesProxy itself. They are guaranteed to be valid all the time.
Implements KoSelectedShapesProxy.
Definition at line 23 of file KoSelectedShapesProxySimple.cpp.
References KIS_ASSERT_RECOVER_RETURN_VALUE, and m_shapeManager.
|
private |
Definition at line 24 of file KoSelectedShapesProxySimple.h.