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

Qt3::QTextHorizontalLine Class Reference

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

Inheritance diagram for Qt3::QTextHorizontalLine:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 QTextHorizontalLine (QTextDocument *p, const QMap< QString, QString > &attr, const QString &context, QMimeSourceFactory &factory)
virtual ~QTextHorizontalLine ()
void adjustToPainter (QPainter *)
void draw (QPainter *p, int x, int y, int cx, int cy, int cw, int ch, const QColorGroup &cg, bool selected)
QString richText () const
bool ownLine () const

Private Attributes

int tmpheight
QColor color

Constructor & Destructor Documentation

QTextHorizontalLine::QTextHorizontalLine QTextDocument p,
const QMap< QString, QString > &  attr,
const QString context,
QMimeSourceFactory &  factory
 

Definition at line 6248 of file qrichtext.cpp.

References color, QMap< Key, T >::end(), QMap< Key, T >::find(), Qt3::QTextCustomItem::height, and tmpheight.

QTextHorizontalLine::~QTextHorizontalLine  )  [virtual]
 

Definition at line 6258 of file qrichtext.cpp.


Member Function Documentation

void QTextHorizontalLine::adjustToPainter QPainter *   )  [virtual]
 

Reimplemented from Qt3::QTextCustomItem.

Definition at line 6242 of file qrichtext.cpp.

References Qt3::QTextCustomItem::height, scale(), and tmpheight.

void QTextHorizontalLine::draw QPainter *  p,
int  x,
int  y,
int  cx,
int  cy,
int  cw,
int  ch,
const QColorGroup &  cg,
bool  selected
[virtual]
 

Implements Qt3::QTextCustomItem.

Definition at line 6267 of file qrichtext.cpp.

References color, g, Qt3::QTextCustomItem::height, is_printer(), TRUE, and Qt3::QTextCustomItem::width.

bool Qt3::QTextHorizontalLine::ownLine  )  const [inline, virtual]
 

Reimplemented from Qt3::QTextCustomItem.

Definition at line 476 of file qrichtext_p.h.

References TRUE.

QString QTextHorizontalLine::richText  )  const [virtual]
 

Reimplemented from Qt3::QTextCustomItem.

Definition at line 6262 of file qrichtext.cpp.


Member Data Documentation

QColor Qt3::QTextHorizontalLine::color [private]
 

Definition at line 480 of file qrichtext_p.h.

Referenced by draw(), and QTextHorizontalLine().

int Qt3::QTextHorizontalLine::tmpheight [private]
 

Definition at line 479 of file qrichtext_p.h.

Referenced by adjustToPainter(), and QTextHorizontalLine().


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