Qt 4.8
Public Types | Public Functions | Public Variables | List of all members
QStaticTextUserData Class Reference

#include <qstatictext_p.h>

Public Types

enum  Type { NoUserData, OpenGLUserData }
 

Public Functions

 QStaticTextUserData (Type t)
 
virtual ~QStaticTextUserData ()
 

Public Variables

QAtomicInt ref
 
Type type
 

Detailed Description

Definition at line 63 of file qstatictext_p.h.

Enumerations

◆ Type

Enumerator
NoUserData 
OpenGLUserData 

Definition at line 66 of file qstatictext_p.h.

Constructors and Destructors

◆ QStaticTextUserData()

QStaticTextUserData::QStaticTextUserData ( Type  t)
inline

Definition at line 71 of file qstatictext_p.h.

71 : type(t) { ref = 0; }

◆ ~QStaticTextUserData()

virtual QStaticTextUserData::~QStaticTextUserData ( )
inlinevirtual

Definition at line 72 of file qstatictext_p.h.

72 {}

Properties

◆ ref

QAtomicInt QStaticTextUserData::ref

Definition at line 74 of file qstatictext_p.h.

Referenced by QStaticTextUserData(), and QStaticTextItem::setUserData().

◆ type

Type QStaticTextUserData::type

Definition at line 75 of file qstatictext_p.h.

Referenced by QGL2PaintEngineExPrivate::drawCachedGlyphs().


The documentation for this class was generated from the following file: