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

Qt3::QTextStyleCommand Class Reference

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

Inheritance diagram for Qt3::QTextStyleCommand:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 QTextStyleCommand (QTextDocument *d, int fParag, int lParag, const QByteArray &beforeChange)
virtual ~QTextStyleCommand ()
Commands type () const
QTextCursorexecute (QTextCursor *c)
QTextCursorunexecute (QTextCursor *c)

Static Public Member Functions

static QByteArray readStyleInformation (QTextDocument *d, int fParag, int lParag)
static void writeStyleInformation (QTextDocument *d, int fParag, const QByteArray &style)

Private Attributes

int firstParag
int lastParag
QByteArray before
QByteArray after

Constructor & Destructor Documentation

QTextStyleCommand::QTextStyleCommand QTextDocument d,
int  fParag,
int  lParag,
const QByteArray beforeChange
 

Definition at line 348 of file qrichtext.cpp.

References after, and readStyleInformation().

virtual Qt3::QTextStyleCommand::~QTextStyleCommand  )  [inline, virtual]
 

Definition at line 991 of file qrichtext_p.h.


Member Function Documentation

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

Implements Qt3::QTextCommand.

Definition at line 385 of file qrichtext.cpp.

References after, Qt3::QTextCommand::doc, firstParag, and writeStyleInformation().

QByteArray QTextStyleCommand::readStyleInformation QTextDocument d,
int  fParag,
int  lParag
[static]
 

Definition at line 355 of file qrichtext.cpp.

References IO_WriteOnly, Qt3::QTextParagraph::next(), p, Qt3::QTextDocument::paragAt(), and Qt3::QTextParagraph::writeStyleInformation().

Referenced by QTextStyleCommand().

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

Reimplemented from Qt3::QTextCommand.

Definition at line 993 of file qrichtext_p.h.

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

Implements Qt3::QTextCommand.

Definition at line 391 of file qrichtext.cpp.

References before, Qt3::QTextCommand::doc, firstParag, and writeStyleInformation().

void QTextStyleCommand::writeStyleInformation QTextDocument d,
int  fParag,
const QByteArray style
[static]
 

Definition at line 371 of file qrichtext.cpp.

References IO_ReadOnly, Qt3::QTextParagraph::next(), p, and Qt3::QTextParagraph::readStyleInformation().

Referenced by execute(), and unexecute().


Member Data Documentation

QByteArray Qt3::QTextStyleCommand::after [private]
 

Definition at line 1003 of file qrichtext_p.h.

Referenced by execute(), and QTextStyleCommand().

QByteArray Qt3::QTextStyleCommand::before [private]
 

Definition at line 1002 of file qrichtext_p.h.

Referenced by unexecute().

int Qt3::QTextStyleCommand::firstParag [private]
 

Definition at line 1001 of file qrichtext_p.h.

Referenced by execute(), and unexecute().

int Qt3::QTextStyleCommand::lastParag [private]
 

Definition at line 1001 of file qrichtext_p.h.


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