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

#include <qabstracttextdocumentlayout_p.h>

Inheritance diagram for QAbstractTextDocumentLayoutPrivate:
QObjectPrivate QObjectData QPlainTextDocumentLayoutPrivate QTextDocumentLayoutPrivate

Public Functions

QSizeF _q_dynamicDocumentSizeSlot () const
 
int _q_dynamicPageCountSlot () const
 
void _q_handlerDestroyed (QObject *obj)
 
 QAbstractTextDocumentLayoutPrivate ()
 
void setDocument (QTextDocument *doc)
 
- Public Functions inherited from QObjectPrivate
void _q_reregisterTimers (void *pointer)
 
void addConnection (int signal, Connection *c)
 
void cleanConnectionLists ()
 
void connectNotify (const char *signal)
 
void deleteChildren ()
 
void disconnectNotify (const char *signal)
 
bool isSender (const QObject *receiver, const char *signal) const
 
bool isSignalConnected (uint signalIdx) const
 Returns true if the signal with index signal_index from object sender is connected. More...
 
void moveToThread_helper ()
 
 QObjectPrivate (int version=QObjectPrivateVersion)
 
QObjectList receiverList (const char *signal) const
 
QObjectList senderList () const
 
void setParent_helper (QObject *)
 
void setThreadData_helper (QThreadData *currentData, QThreadData *targetData)
 
int signalIndex (const char *signalName) const
 Returns the signal index used in the internal connectionLists vector. More...
 
virtual ~QObjectPrivate ()
 
- Public Functions inherited from QObjectData
virtual ~QObjectData ()=0
 

Public Variables

QTextDocumentPrivatedocPrivate
 
QTextDocumentdocument
 
HandlerHash handlers
 
QPaintDevicepaintDevice
 
- Public Variables inherited from QObjectPrivate
union {
   QObject *   currentChildBeingDeleted
 
   QAbstractDeclarativeData *   declarativeData
 
}; 
 
quint32 connectedSignals [2]
 
QObjectConnectionListVectorconnectionLists
 
SendercurrentSender
 
QList< QPointer< QObject > > eventFilters
 
ExtraDataextraData
 
QString objectName
 
Connectionsenders
 
QAtomicPointer< QtSharedPointer::ExternalRefCountData > sharedRefcount
 
QThreadDatathreadData
 
void * unused
 
- Public Variables inherited from QObjectData
uint blockSig: 1
 
QObjectList children
 
uint hasGuards: 1
 
uint inEventHandler: 1
 
uint inThreadChangeEvent: 1
 
uint isWidget: 1
 
QMetaObjectmetaObject
 
uint ownObjectName: 1
 
QObjectparent
 
uint pendTimer: 1
 
int postedEvents
 
QObjectq_ptr
 
uint receiveChildEvents: 1
 
uint sendChildEvents: 1
 
uint unused: 22
 
uint wasDeleted: 1
 

Additional Inherited Members

- Public Types inherited from QObjectPrivate
typedef void(* StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **)
 
- Static Public Functions inherited from QObjectPrivate
static void clearGuards (QObject *)
 
static QObjectPrivateget (QObject *o)
 
static void resetCurrentSender (QObject *receiver, Sender *currentSender, Sender *previousSender)
 
static SendersetCurrentSender (QObject *receiver, Sender *sender)
 
static void signalSignature (const QMetaMethod &signal, QVarLengthArray< char > *result)
 

Detailed Description

Definition at line 69 of file qabstracttextdocumentlayout_p.h.

Constructors and Destructors

◆ QAbstractTextDocumentLayoutPrivate()

QAbstractTextDocumentLayoutPrivate::QAbstractTextDocumentLayoutPrivate ( )
inline

Functions

◆ _q_dynamicDocumentSizeSlot()

QSizeF QAbstractTextDocumentLayoutPrivate::_q_dynamicDocumentSizeSlot ( ) const
inline

Definition at line 86 of file qabstracttextdocumentlayout_p.h.

87  { return q_func()->documentSize(); }

◆ _q_dynamicPageCountSlot()

int QAbstractTextDocumentLayoutPrivate::_q_dynamicPageCountSlot ( ) const
inline

Definition at line 84 of file qabstracttextdocumentlayout_p.h.

85  { return q_func()->pageCount(); }

◆ _q_handlerDestroyed()

void QAbstractTextDocumentLayoutPrivate::_q_handlerDestroyed ( QObject obj)

Definition at line 580 of file qabstracttextdocumentlayout.cpp.

581 {
583  while (it != handlers.end())
584  if ((*it).component == obj)
585  it = handlers.erase(it);
586  else
587  ++it;
588 }
#define it(className, varName)
iterator end()
Returns an STL-style iterator pointing to the imaginary item after the last item in the hash...
Definition: qhash.h:467
iterator begin()
Returns an STL-style iterator pointing to the first item in the hash.
Definition: qhash.h:464
iterator erase(iterator it)
Removes the (key, value) pair associated with the iterator pos from the hash, and returns an iterator...
Definition: qhash.h:827
iterator Iterator
Qt-style synonym for QHash::iterator.
Definition: qhash.h:473

◆ setDocument()

void QAbstractTextDocumentLayoutPrivate::setDocument ( QTextDocument doc)
inline

Definition at line 77 of file qabstracttextdocumentlayout_p.h.

77  {
78  document = doc;
79  docPrivate = 0;
80  if (doc)
81  docPrivate = doc->docHandle();
82  }
QTextDocumentPrivate * docHandle() const
So that not all classes have to be friends of each other.

Properties

◆ docPrivate

QTextDocumentPrivate* QAbstractTextDocumentLayoutPrivate::docPrivate

◆ document

QTextDocument* QAbstractTextDocumentLayoutPrivate::document

◆ handlers

HandlerHash QAbstractTextDocumentLayoutPrivate::handlers

Definition at line 89 of file qabstracttextdocumentlayout_p.h.

◆ paintDevice

QPaintDevice* QAbstractTextDocumentLayoutPrivate::paintDevice

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