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

Qt3::QTextDeleteCommand Class Reference

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

Inheritance diagram for Qt3::QTextDeleteCommand:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 QTextDeleteCommand (QTextDocument *d, int i, int idx, const QMemArray< QTextStringChar > &str, const QByteArray &oldStyle)
 QTextDeleteCommand (QTextParagraph *p, int idx, const QMemArray< QTextStringChar > &str)
virtual ~QTextDeleteCommand ()
Commands type () const
QTextCursorexecute (QTextCursor *c)
QTextCursorunexecute (QTextCursor *c)

Protected Attributes

int id
int index
QTextParagraphparag
QMemArray< QTextStringChartext
QByteArray styleInformation

Constructor & Destructor Documentation

QTextDeleteCommand::QTextDeleteCommand QTextDocument d,
int  i,
int  idx,
const QMemArray< QTextStringChar > &  str,
const QByteArray oldStyle
 

Definition at line 161 of file qrichtext.cpp.

References format(), QMemArray< type >::size(), text, and text.

QTextDeleteCommand::QTextDeleteCommand QTextParagraph p,
int  idx,
const QMemArray< QTextStringChar > &  str
 

Definition at line 171 of file qrichtext.cpp.

References format(), i, QMemArray< type >::size(), text, and text.

QTextDeleteCommand::~QTextDeleteCommand  )  [virtual]
 

Definition at line 180 of file qrichtext.cpp.

References format(), QMemArray< type >::resize(), QMemArray< type >::size(), and text.


Member Function Documentation

QTextCursor * QTextDeleteCommand::execute QTextCursor c  )  [virtual]
 

Implements Qt3::QTextCommand.

Reimplemented in Qt3::QTextInsertCommand.

Definition at line 189 of file qrichtext.cpp.

References Qt3::QTextCommand::cursor, Qt3::QTextCommand::doc, Qt3::QTextCursor::gotoNextLetter(), i, index, Qt3::QTextDocument::lastParagraph(), len, oendl, owarn, parag, Qt3::QTextDocument::paragAt(), Qt3::QTextCursor::remove(), s, Qt3::QTextCursor::setIndex(), Qt3::QTextCursor::setParagraph(), QMemArray< type >::size(), Qt3::QTextDocument::Temp, and text.

Commands Qt3::QTextDeleteCommand::type  )  const [inline, virtual]
 

Reimplemented from Qt3::QTextCommand.

Reimplemented in Qt3::QTextInsertCommand.

Definition at line 941 of file qrichtext_p.h.

QTextCursor * QTextDeleteCommand::unexecute QTextCursor c  )  [virtual]
 

Implements Qt3::QTextCommand.

Reimplemented in Qt3::QTextInsertCommand.

Definition at line 217 of file qrichtext.cpp.

References Qt3::QTextCommand::cursor, Qt3::QTextCommand::doc, i, index, Qt3::QTextCursor::insert(), IO_ReadOnly, Qt3::QTextDocument::lastParagraph(), Qt3::QTextParagraph::next(), oendl, owarn, p, parag, Qt3::QTextDocument::paragAt(), Qt3::QTextCursor::paragraph(), Qt3::QTextParagraph::readStyleInformation(), s, Qt3::QTextCursor::setIndex(), Qt3::QTextCursor::setParagraph(), str, styleInformation, text, QTextString::toString(), and TRUE.


Member Data Documentation

int Qt3::QTextDeleteCommand::id [protected]
 

Definition at line 946 of file qrichtext_p.h.

int Qt3::QTextDeleteCommand::index [protected]
 

Definition at line 946 of file qrichtext_p.h.

Referenced by execute(), and unexecute().

QTextParagraph* Qt3::QTextDeleteCommand::parag [protected]
 

Definition at line 947 of file qrichtext_p.h.

Referenced by execute(), and unexecute().

QByteArray Qt3::QTextDeleteCommand::styleInformation [protected]
 

Definition at line 949 of file qrichtext_p.h.

Referenced by unexecute().

QMemArray<QTextStringChar> Qt3::QTextDeleteCommand::text [protected]
 

Definition at line 948 of file qrichtext_p.h.

Referenced by execute(), QTextDeleteCommand(), unexecute(), and ~QTextDeleteCommand().


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