arbeit
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

KeyCmdQt< T > Class Template Reference

#include <commandQt.h>

Inheritance diagram for KeyCmdQt< T >:

commandQt< T > gutz::Counted List of all members.

Detailed Description

template<class T>
class KeyCmdQt< T >

Key Event Command.

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


Constructor & Destructor Documentation

template<class T>
KeyCmdQt< T >::KeyCmdQt  )  [inline]
 

Definition at line 52 of file commandQt.h.

References KeyCmdQt< T >::_key.

template<class T>
virtual KeyCmdQt< T >::~KeyCmdQt  )  [inline, virtual]
 

Definition at line 53 of file commandQt.h.


Member Function Documentation

virtual void gutz::Counted::_decCount  )  [inline, protected, virtual, inherited]
 

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().

virtual int gutz::Counted::_getCount  )  const [inline, protected, virtual, inherited]
 

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.

virtual void gutz::Counted::_incCount  )  [inline, protected, virtual, inherited]
 

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().

template<class T>
virtual int commandQt< T >::exec  )  [pure virtual, inherited]
 

override this function to specify behavior

template<class T>
void commandQt< T >::setCaller T *  caller  )  [inline, inherited]
 

to be set by caller

Definition at line 41 of file commandQt.h.

References commandQt< T >::_caller.

template<class T>
void KeyCmdQt< T >::setKeyEvent QKeyEvent *  e  )  [inline]
 

to be set by caller

Definition at line 57 of file commandQt.h.

References KeyCmdQt< T >::_key.


Friends And Related Function Documentation

friend class SmartPtr [friend, inherited]
 

Definition at line 40 of file smartptr.h.

Referenced by Nrro::NrroIter< T >::NrroIter().

friend class SmartPtrRef [friend, inherited]
 

Definition at line 41 of file smartptr.h.


Member Data Documentation

template<class T>
T* commandQt< T >::_caller [protected, inherited]
 

Definition at line 43 of file commandQt.h.

Referenced by commandQt< T >::commandQt(), and commandQt< T >::setCaller().

template<class T>
QKeyEvent* KeyCmdQt< T >::_key [protected]
 

Definition at line 59 of file commandQt.h.

Referenced by KeyCmdQt< T >::KeyCmdQt(), and KeyCmdQt< T >::setKeyEvent().


The documentation for this class was generated from the following file:
Send questions, comments, and bug reports to:
jmk