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

#include <qtextobject_p.h>

Inheritance diagram for QTextBlockGroupPrivate:
QTextObjectPrivate QObjectPrivate QObjectData QTextListPrivate

Public Types

typedef QList< QTextBlockBlockList
 
- Public Types inherited from QObjectPrivate
typedef void(* StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **)
 

Public Functions

void markBlocksDirty ()
 
 QTextBlockGroupPrivate (QTextDocument *doc)
 
- Public Functions inherited from QTextObjectPrivate
 QTextObjectPrivate (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

BlockList blocks
 
- Public Variables inherited from QTextObjectPrivate
int objectIndex
 
QTextDocumentPrivatepieceTable
 
- 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

- 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 76 of file qtextobject_p.h.

Typedefs

◆ BlockList

Definition at line 84 of file qtextobject_p.h.

Constructors and Destructors

◆ QTextBlockGroupPrivate()

QTextBlockGroupPrivate::QTextBlockGroupPrivate ( QTextDocument doc)
inline

Definition at line 80 of file qtextobject_p.h.

81  : QTextObjectPrivate(doc)
82  {
83  }
QTextObjectPrivate(QTextDocument *doc)
Definition: qtextobject_p.h:68

Functions

◆ markBlocksDirty()

void QTextBlockGroupPrivate::markBlocksDirty ( )

Definition at line 213 of file qtextobject.cpp.

214 {
215  for (int i = 0; i < blocks.count(); ++i) {
216  const QTextBlock &block = blocks.at(i);
217  pieceTable->documentChange(block.position(), block.length());
218  }
219 }
int count(const T &t) const
Returns the number of occurrences of value in the list.
Definition: qlist.h:891
void documentChange(int from, int length)
int position() const
Returns the index of the block&#39;s first character within the document.
const T & at(int i) const
Returns the item at index position i in the list.
Definition: qlist.h:468
The QTextBlock class provides a container for text fragments in a QTextDocument.
Definition: qtextobject.h:199
int length() const
Returns the length of the block in characters.
QTextDocumentPrivate * pieceTable
Definition: qtextobject_p.h:72

Properties

◆ blocks

BlockList QTextBlockGroupPrivate::blocks

Definition at line 85 of file qtextobject_p.h.


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