FX::FXCommand Class Reference

#include <FXUndoList.h>

Inheritance diagram for FX::FXCommand:

FX::FXObject FX::FXCommandGroup FX::FXUndoList List of all members.

Detailed Description

Base class for undoable commands. Each undo records all the information necessary to undo as well as redo a given operation. Since commands are derived from FXObject, subclassed commands can both send and receive messages (like ID_GETINTVALUE, for example).

Definition at line 44 of file FXUndoList.h.

Public Member Functions

virtual void undo ()=0
virtual void redo ()=0
virtual FXuint size () const
virtual FXString undoName () const
virtual FXString redoName () const
virtual bool canMerge () const
virtual bool mergeWith (FXCommand *command)
virtual ~FXCommand ()
virtual long onDefault (FXObject *, FXSelector, void *)
const FXchargetClassName () const
bool isMemberOf (const FXMetaClass *metaclass) const
virtual long tryHandle (FXObject *sender, FXSelector sel, void *ptr)
virtual void save (FXStream &store) const
virtual void load (FXStream &store)
QTransString tr (const char *text, const char *hint=0)
virtual void * getPythonObject () const
virtual void decouplePythonObject () const

Protected Member Functions

 FXCommand ()

Friends

class FXUndoList
class FXCommandGroup


The documentation for this class was generated from the following file:
(C) 2002-2009 Niall Douglas. Some parts (C) to assorted authors.
Generated on Fri Nov 20 18:37:21 2009 for TnFOX by doxygen v1.4.7