Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

QTextCommandHistory Class Reference

#include </home/clem/local/src/opie/qmake/include/private/qrichtext_p.h>

Collaboration diagram for QTextCommandHistory:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 QTextCommandHistory (int s)
virtual ~QTextCommandHistory ()
void clear ()
void addCommand (QTextCommand *cmd)
QTextCursorundo (QTextCursor *c)
QTextCursorredo (QTextCursor *c)
bool isUndoAvailable ()
bool isRedoAvailable ()
void setUndoDepth (int d)
int undoDepth () const
int historySize () const
int currentPosition () const

Private Attributes

QPtrList< QTextCommandhistory
int current
int steps

Constructor & Destructor Documentation

QTextCommandHistory::QTextCommandHistory int  s  )  [inline]
 

Definition at line 376 of file qrichtext_p.h.

References TRUE.

QTextCommandHistory::~QTextCommandHistory  )  [inline, virtual]
 

Definition at line 400 of file qrichtext_p.h.

References clear().


Member Function Documentation

void QTextCommandHistory::addCommand QTextCommand cmd  ) 
 

void QTextCommandHistory::clear  )  [inline]
 

Definition at line 379 of file qrichtext_p.h.

Referenced by ~QTextCommandHistory(), and Qt3::QTextCommandHistory::~QTextCommandHistory().

int QTextCommandHistory::currentPosition  )  const [inline]
 

Definition at line 392 of file qrichtext_p.h.

int QTextCommandHistory::historySize  )  const [inline]
 

Definition at line 391 of file qrichtext_p.h.

bool QTextCommandHistory::isRedoAvailable  ) 
 

bool QTextCommandHistory::isUndoAvailable  ) 
 

QTextCursor* QTextCommandHistory::redo QTextCursor c  ) 
 

void QTextCommandHistory::setUndoDepth int  d  )  [inline]
 

Definition at line 388 of file qrichtext_p.h.

QTextCursor* QTextCommandHistory::undo QTextCursor c  ) 
 

int QTextCommandHistory::undoDepth  )  const [inline]
 

Definition at line 389 of file qrichtext_p.h.


Member Data Documentation

int QTextCommandHistory::current [private]
 

Definition at line 396 of file qrichtext_p.h.

QPtrList<QTextCommand> QTextCommandHistory::history [private]
 

Definition at line 395 of file qrichtext_p.h.

int QTextCommandHistory::steps [private]
 

Definition at line 396 of file qrichtext_p.h.


The documentation for this class was generated from the following file:
Generated on Sat Nov 5 17:49:19 2005 for OPIE by  doxygen 1.4.2