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

Qt3::QTextCommand Class Reference

#include </home/clem/local/src/opie/noncore/apps/opie-write/qrichtext_p.h>

Inheritance diagram for Qt3::QTextCommand:

Inheritance graph
[legend]
Collaboration diagram for Qt3::QTextCommand:

Collaboration graph
[legend]
List of all members.

Public Types

enum  Commands {
  Invalid, Insert, Delete, Format,
  Style
}

Public Member Functions

 QTextCommand (QTextDocument *d)
virtual ~QTextCommand ()
virtual Commands type () const
virtual QTextCursorexecute (QTextCursor *c)=0
virtual QTextCursorunexecute (QTextCursor *c)=0

Protected Attributes

QTextDocumentdoc
QTextCursor cursor

Member Enumeration Documentation

enum Qt3::QTextCommand::Commands
 

Enumeration values:
Invalid 
Insert 
Delete 
Format 
Style 

Definition at line 330 of file qrichtext_p.h.


Constructor & Destructor Documentation

Qt3::QTextCommand::QTextCommand QTextDocument d  )  [inline]
 

Definition at line 332 of file qrichtext_p.h.

QTextCommand::~QTextCommand  )  [virtual]
 

Definition at line 45 of file qrichtext_p.cpp.


Member Function Documentation

virtual QTextCursor* Qt3::QTextCommand::execute QTextCursor c  )  [pure virtual]
 

Implemented in Qt3::QTextDeleteCommand, Qt3::QTextInsertCommand, Qt3::QTextFormatCommand, and Qt3::QTextStyleCommand.

QTextCommand::Commands QTextCommand::type  )  const [virtual]
 

Reimplemented in Qt3::QTextDeleteCommand, Qt3::QTextInsertCommand, Qt3::QTextFormatCommand, and Qt3::QTextStyleCommand.

Definition at line 46 of file qrichtext_p.cpp.

References Invalid.

virtual QTextCursor* Qt3::QTextCommand::unexecute QTextCursor c  )  [pure virtual]
 

Implemented in Qt3::QTextDeleteCommand, Qt3::QTextInsertCommand, Qt3::QTextFormatCommand, and Qt3::QTextStyleCommand.


Member Data Documentation

QTextCursor Qt3::QTextCommand::cursor [protected]
 

Definition at line 342 of file qrichtext_p.h.

Referenced by Qt3::QTextDeleteCommand::execute(), and Qt3::QTextDeleteCommand::unexecute().

QTextDocument* Qt3::QTextCommand::doc [protected]
 

Definition at line 341 of file qrichtext_p.h.

Referenced by Qt3::QTextStyleCommand::execute(), Qt3::QTextFormatCommand::execute(), Qt3::QTextDeleteCommand::execute(), Qt3::QTextStyleCommand::unexecute(), Qt3::QTextFormatCommand::unexecute(), and Qt3::QTextDeleteCommand::unexecute().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 18:03:19 2005 for OPIE by  doxygen 1.4.2