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

commandQt< T > Class Template Reference

#include <commandQt.h>

Inheritance diagram for commandQt< T >:

KeyCmdQt< T > List of all members.

Detailed Description

template<class T>
class commandQt< T >

Base command class, need to override the exec() function.

Definition at line 29 of file commandQt.h.

Public Member Functions

 commandQt ()
virtual ~commandQt ()
virtual int exec ()=0
 override this function to specify behavior

void setCaller (T *caller)
 to be set by caller


Protected Attributes

T * _caller


Constructor & Destructor Documentation

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

Definition at line 31 of file commandQt.h.

References commandQt< T >::_caller.

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

Definition at line 32 of file commandQt.h.


Member Function Documentation

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

override this function to specify behavior

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

to be set by caller

Definition at line 41 of file commandQt.h.

References commandQt< T >::_caller.


Member Data Documentation

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

Definition at line 43 of file commandQt.h.

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


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