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

Qt3::QTextFormatCommand Class Reference

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

Inheritance diagram for Qt3::QTextFormatCommand:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 QTextFormatCommand (QTextDocument *d, int sid, int sidx, int eid, int eidx, const QMemArray< QTextStringChar > &old, QTextFormat *f, int fl)
virtual ~QTextFormatCommand ()
Commands type () const
QTextCursorexecute (QTextCursor *c)
QTextCursorunexecute (QTextCursor *c)

Protected Attributes

int startId
int startIndex
int endId
int endIndex
QTextFormatformat
QMemArray< QTextStringCharoldFormats
int flags

Constructor & Destructor Documentation

QTextFormatCommand::QTextFormatCommand QTextDocument d,
int  sid,
int  sidx,
int  eid,
int  eidx,
const QMemArray< QTextStringChar > &  old,
QTextFormat f,
int  fl
 

Definition at line 260 of file qrichtext.cpp.

References format, Qt3::QTextDocument::formatCollection(), oldFormats, and QMemArray< type >::size().

QTextFormatCommand::~QTextFormatCommand  )  [virtual]
 

Definition at line 271 of file qrichtext.cpp.

References format, oldFormats, Qt3::QTextFormat::removeRef(), and QMemArray< type >::size().


Member Function Documentation

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

Implements Qt3::QTextCommand.

Definition at line 280 of file qrichtext.cpp.

References Qt3::QTextCommand::doc, end, endId, endIndex, flags, format, Qt3::QTextCursor::gotoLeft(), Qt3::QTextParagraph::length(), Qt3::QTextDocument::paragAt(), Qt3::QTextCursor::setIndex(), Qt3::QTextCursor::setParagraph(), start, startId, startIndex, and Qt3::QTextDocument::Temp.

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

Reimplemented from Qt3::QTextCommand.

Definition at line 975 of file qrichtext_p.h.

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

Implements Qt3::QTextCommand.

Definition at line 304 of file qrichtext.cpp.

References QMemArray< type >::at(), Qt3::QTextCommand::doc, end, endId, endIndex, Qt3::QTextCursor::gotoLeft(), Qt3::QTextParagraph::length(), Qt3::QTextParagraph::next(), oldFormats, Qt3::QTextDocument::paragAt(), Qt3::QTextParagraph::setFormat(), Qt3::QTextCursor::setIndex(), Qt3::QTextCursor::setParagraph(), QMemArray< type >::size(), startId, and startIndex.


Member Data Documentation

int Qt3::QTextFormatCommand::endId [protected]
 

Definition at line 980 of file qrichtext_p.h.

Referenced by execute(), and unexecute().

int Qt3::QTextFormatCommand::endIndex [protected]
 

Definition at line 980 of file qrichtext_p.h.

Referenced by execute(), and unexecute().

int Qt3::QTextFormatCommand::flags [protected]
 

Definition at line 983 of file qrichtext_p.h.

Referenced by execute().

QTextFormat* Qt3::QTextFormatCommand::format [protected]
 

Definition at line 981 of file qrichtext_p.h.

Referenced by execute(), QTextFormatCommand(), and ~QTextFormatCommand().

QMemArray<QTextStringChar> Qt3::QTextFormatCommand::oldFormats [protected]
 

Definition at line 982 of file qrichtext_p.h.

Referenced by QTextFormatCommand(), unexecute(), and ~QTextFormatCommand().

int Qt3::QTextFormatCommand::startId [protected]
 

Definition at line 980 of file qrichtext_p.h.

Referenced by execute(), and unexecute().

int Qt3::QTextFormatCommand::startIndex [protected]
 

Definition at line 980 of file qrichtext_p.h.

Referenced by execute(), and unexecute().


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