#include <commandQt.h>
Inheritance diagram for KeyCmdQt< T >:
Definition at line 50 of file commandQt.h.
Public Member Functions | |
KeyCmdQt () | |
virtual | ~KeyCmdQt () |
void | setKeyEvent (QKeyEvent *e) |
to be set by caller | |
virtual int | exec ()=0 |
override this function to specify behavior | |
void | setCaller (T *caller) |
to be set by caller | |
Protected Member Functions | |
virtual void | _incCount () |
gutz::Counted interface, increment reference count by one. | |
virtual void | _decCount () |
gutz::Counted interface, decrement reference count by one. | |
virtual int | _getCount () const |
gutz::Counted interface, get the current reference count. | |
Protected Attributes | |
QKeyEvent * | _key |
T * | _caller |
Friends | |
class | SmartPtr |
class | SmartPtrRef |
|
Definition at line 52 of file commandQt.h. References KeyCmdQt< T >::_key. |
|
Definition at line 53 of file commandQt.h. |
|
gutz::Counted interface, decrement reference count by one. Not generaly used by subclasses, mostly for collaboration with gutz::SmartPtr. Sometimes you need to call this though, see the documentation for gutz::SmartPtr Definition at line 54 of file smartptr.h. Referenced by TFImage::clear(), NrroImage::fBlendOverRGBA(), and Nrro::updateMinMax(). |
|
gutz::Counted interface, get the current reference count. Not generaly used by subclasses, mostly for collaboration with gutz::SmartPtr. Definition at line 58 of file smartptr.h. |
|
gutz::Counted interface, increment reference count by one. Not generaly used by subclasses, mostly for collaboration with gutz::SmartPtr. Sometimes you need to call this though, see the documentation for gutz::SmartPtr Definition at line 48 of file smartptr.h. Referenced by TFImage::clear(), NrroImage::fBlendOverRGBA(), and Nrro::updateMinMax(). |
|
override this function to specify behavior
|
|
to be set by caller
Definition at line 41 of file commandQt.h. References commandQt< T >::_caller. |
|
to be set by caller
Definition at line 57 of file commandQt.h. References KeyCmdQt< T >::_key. |
|
Definition at line 40 of file smartptr.h. Referenced by Nrro::NrroIter< T >::NrroIter(). |
|
Definition at line 41 of file smartptr.h. |
|
Definition at line 43 of file commandQt.h. Referenced by commandQt< T >::commandQt(), and commandQt< T >::setCaller(). |
|
Definition at line 59 of file commandQt.h. Referenced by KeyCmdQt< T >::KeyCmdQt(), and KeyCmdQt< T >::setKeyEvent(). |