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

QTextStringChar Class Reference

#include </home/clem/local/src/opie/qmake/include/private/qrichtext_p.h>

Collaboration diagram for QTextStringChar:

Collaboration graph
[legend]
List of all members.

Public Types

enum  Type { Regular = 0, Custom = 1, Anchor = 2, CustomAnchor = 3 }

Public Member Functions

 QTextStringChar ()
 ~QTextStringChar ()
int height () const
int ascent () const
int descent () const
bool isCustom () const
QTextFormatformat () const
QTextCustomItemcustomItem () const
void setFormat (QTextFormat *f)
void setCustomItem (QTextCustomItem *i)
void loseCustomItem ()
bool isAnchor () const
bool isLink () const
QString anchorName () const
QString anchorHref () const
void setAnchor (const QString &name, const QString &href)

Public Attributes

QChar c
uint lineStart: 1
uint rightToLeft: 1
uint hasCursor: 1
uint canBreak: 1
Type type: 2
uint startOfRun: 1
int x
union {
   QTextFormat *   format
   CustomData *   custom
d

Private Member Functions

QTextStringCharoperator= (const QTextStringChar &)
 QTextStringChar (const QTextStringChar &)

Friends

class QTextString
class QComplexText
class QTextParagraph

Classes

struct  CustomData

Member Enumeration Documentation

enum QTextStringChar::Type
 

Enumeration values:
Regular 
Custom 
Anchor 
CustomAnchor 

Definition at line 108 of file qrichtext_p.h.


Constructor & Destructor Documentation

QTextStringChar::QTextStringChar  )  [inline]
 

Definition at line 104 of file qrichtext_p.h.

References d.

QTextStringChar::~QTextStringChar  ) 
 

QTextStringChar::QTextStringChar const QTextStringChar  )  [inline, private]
 

Definition at line 159 of file qrichtext_p.h.


Member Function Documentation

QString QTextStringChar::anchorHref  )  const
 

QString QTextStringChar::anchorName  )  const
 

int QTextStringChar::ascent  )  const [inline]
 

Definition at line 2136 of file qrichtext_p.h.

References customItem(), format(), isCustom(), and QTextCustomItem::PlaceInline.

QTextCustomItem * QTextStringChar::customItem  )  const [inline]
 

Definition at line 2121 of file qrichtext_p.h.

References d, and isCustom().

Referenced by ascent(), Qt3::QTextStringChar::ascent(), height(), and Qt3::QTextStringChar::height().

int QTextStringChar::descent  )  const [inline]
 

Definition at line 2145 of file qrichtext_p.h.

References format(), and isCustom().

QTextFormat* QTextStringChar::format  )  const
 

Referenced by ascent(), Qt3::QTextStringChar::ascent(), descent(), Qt3::QTextStringChar::descent(), height(), and Qt3::QTextStringChar::height().

int QTextStringChar::height  )  const [inline]
 

Definition at line 2127 of file qrichtext_p.h.

References customItem(), format(), isCustom(), and QTextCustomItem::PlaceInline.

bool QTextStringChar::isAnchor  )  const [inline]
 

Definition at line 148 of file qrichtext_p.h.

References type.

bool QTextStringChar::isCustom  )  const [inline]
 

Definition at line 120 of file qrichtext_p.h.

References Custom, and type.

Referenced by ascent(), Qt3::QTextStringChar::ascent(), customItem(), Qt3::QTextStringChar::customItem(), descent(), Qt3::QTextStringChar::descent(), height(), and Qt3::QTextStringChar::height().

bool QTextStringChar::isLink  )  const [inline]
 

Definition at line 149 of file qrichtext_p.h.

References d.

void QTextStringChar::loseCustomItem  ) 
 

QTextStringChar& QTextStringChar::operator= const QTextStringChar  )  [inline, private]
 

Definition at line 155 of file qrichtext_p.h.

void QTextStringChar::setAnchor const QString name,
const QString href
 

void QTextStringChar::setCustomItem QTextCustomItem i  ) 
 

void QTextStringChar::setFormat QTextFormat f  ) 
 


Friends And Related Function Documentation

friend class QComplexText [friend]
 

Definition at line 161 of file qrichtext_p.h.

friend class QTextParagraph [friend]
 

Definition at line 162 of file qrichtext_p.h.

friend class QTextString [friend]
 

Definition at line 100 of file qrichtext_p.h.


Member Data Documentation

QChar QTextStringChar::c
 

Definition at line 107 of file qrichtext_p.h.

uint QTextStringChar::canBreak
 

Definition at line 112 of file qrichtext_p.h.

CustomData* QTextStringChar::custom
 

Definition at line 145 of file qrichtext_p.h.

union { ... } QTextStringChar::d
 

Referenced by customItem(), and Qt3::QTextStringChar::customItem().

QTextFormat * QTextStringChar::format [inline]
 

Definition at line 2114 of file qrichtext_p.h.

uint QTextStringChar::hasCursor
 

Definition at line 111 of file qrichtext_p.h.

uint QTextStringChar::lineStart
 

Definition at line 109 of file qrichtext_p.h.

uint QTextStringChar::rightToLeft
 

Definition at line 110 of file qrichtext_p.h.

uint QTextStringChar::startOfRun
 

Definition at line 114 of file qrichtext_p.h.

Type QTextStringChar::type
 

Definition at line 113 of file qrichtext_p.h.

int QTextStringChar::x
 

Definition at line 116 of file qrichtext_p.h.


The documentation for this class was generated from the following file:
Generated on Sat Nov 5 17:49:45 2005 for OPIE by  doxygen 1.4.2