QUndoCommand Class Reference

QUndoCommand Class Reference

#include <qundostack.h>

Class Description

Definition at line 60 of file qundostack.h.

Public Member Functions

 QUndoCommand (QUndoCommand *parent=0)
 
 QUndoCommand (const QString &text, QUndoCommand *parent=0)
 
virtual ~QUndoCommand ()
 
virtual void undo ()
 
virtual void redo ()
 
QString text () const
 
QString actionText () const
 
void setText (const QString &text)
 
virtual int id () const
 
virtual bool mergeWith (const QUndoCommand *other)
 
int childCount () const
 
const QUndoCommandchild (int index) const
 

Friends

class QUndoStack
 

Constructor & Destructor Documentation

QUndoCommand ( QUndoCommand parent = 0)
explicit
QUndoCommand ( const QString text,
QUndoCommand parent = 0 
)
explicit
virtual ~QUndoCommand ( )
virtual

Member Function Documentation

virtual void undo ( )
virtual
virtual void redo ( )
virtual
QString text ( ) const
QString actionText ( ) const
void setText ( const QString text)
virtual int id ( ) const
virtual
virtual bool mergeWith ( const QUndoCommand other)
virtual
int childCount ( ) const
const QUndoCommand* child ( int  index) const

Friends And Related Function Documentation

friend class QUndoStack
friend

Definition at line 84 of file qundostack.h.


The documentation for this class was generated from the following file: