|
| QTextDocumentPrivate () |
|
| ~QTextDocumentPrivate () |
|
void | init () |
|
void | clear () |
|
void | setLayout (QAbstractTextDocumentLayout *layout) |
|
void | insert (int pos, const QString &text, int format) |
|
void | insert (int pos, int strPos, int strLength, int format) |
|
int | insertBlock (int pos, int blockFormat, int charFormat, QTextUndoCommand::Operation=QTextUndoCommand::MoveCursor) |
|
int | insertBlock (QChar blockSeparator, int pos, int blockFormat, int charFormat, QTextUndoCommand::Operation op=QTextUndoCommand::MoveCursor) |
|
void | move (int from, int to, int length, QTextUndoCommand::Operation=QTextUndoCommand::MoveCursor) |
|
void | remove (int pos, int length, QTextUndoCommand::Operation=QTextUndoCommand::MoveCursor) |
|
void | aboutToRemoveCell (int cursorFrom, int cursorEnd) |
| This method is called from QTextTable when it is about to remove a table-cell to allow cursors to update their selection. More...
|
|
QTextFrame * | insertFrame (int start, int end, const QTextFrameFormat &format) |
|
void | removeFrame (QTextFrame *frame) |
|
void | setCharFormat (int pos, int length, const QTextCharFormat &newFormat, FormatChangeMode mode=SetFormat) |
|
void | setBlockFormat (const QTextBlock &from, const QTextBlock &to, const QTextBlockFormat &newFormat, FormatChangeMode mode=SetFormat) |
|
void | emitUndoAvailable (bool available) |
|
void | emitRedoAvailable (bool available) |
|
int | undoRedo (bool undo) |
|
void | undo () |
|
void | redo () |
|
void | appendUndoItem (QAbstractUndoItem *) |
|
void | beginEditBlock () |
|
void | joinPreviousEditBlock () |
|
void | endEditBlock () |
|
void | finishEdit () |
|
bool | isInEditBlock () const |
|
void | enableUndoRedo (bool enable) |
|
bool | isUndoRedoEnabled () const |
|
bool | isUndoAvailable () const |
|
bool | isRedoAvailable () const |
|
int | availableUndoSteps () const |
|
int | availableRedoSteps () const |
|
QString | buffer () const |
|
QString | plainText () const |
|
int | length () const |
|
QTextFormatCollection * | formatCollection () |
|
const QTextFormatCollection * | formatCollection () const |
|
QAbstractTextDocumentLayout * | layout () const |
|
FragmentIterator | find (int pos) const |
|
FragmentIterator | begin () const |
|
FragmentIterator | end () const |
|
QTextBlock | blocksBegin () const |
|
QTextBlock | blocksEnd () const |
|
QTextBlock | blocksFind (int pos) const |
|
int | blockCharFormatIndex (int node) const |
|
int | numBlocks () const |
|
const BlockMap & | blockMap () const |
|
const FragmentMap & | fragmentMap () const |
|
BlockMap & | blockMap () |
|
FragmentMap & | fragmentMap () |
|
int | nextCursorPosition (int position, QTextLayout::CursorMode mode) const |
|
int | previousCursorPosition (int position, QTextLayout::CursorMode mode) const |
|
int | leftCursorPosition (int position) const |
|
int | rightCursorPosition (int position) const |
|
void | changeObjectFormat (QTextObject *group, int format) |
|
void | setModified (bool m) |
|
bool | isModified () const |
|
QFont | defaultFont () const |
|
void | setDefaultFont (const QFont &f) |
|
void | clearUndoRedoStacks (QTextDocument::Stacks stacksToClear, bool emitSignals=false) |
|
void | documentChange (int from, int length) |
|
void | addCursor (QTextCursorPrivate *c) |
|
void | removeCursor (QTextCursorPrivate *c) |
|
QTextFrame * | frameAt (int pos) const |
|
QTextFrame * | rootFrame () const |
|
QTextObject * | objectForIndex (int objectIndex) const |
|
QTextObject * | objectForFormat (int formatIndex) const |
|
QTextObject * | objectForFormat (const QTextFormat &f) const |
|
QTextObject * | createObject (const QTextFormat &newFormat, int objectIndex=-1) |
|
void | deleteObject (QTextObject *object) |
|
QTextDocument * | document () |
|
const QTextDocument * | document () const |
|
bool | ensureMaximumBlockCount () |
|
void | mergeCachedResources (const QTextDocumentPrivate *priv) |
|
| QObjectPrivate (int version=QObjectPrivateVersion) |
|
virtual | ~QObjectPrivate () |
|
void | deleteChildren () |
|
void | clearBindingStorage () |
|
void | checkForIncompatibleLibraryVersion (int version) const |
|
void | setParent_helper (QObject *) |
|
void | moveToThread_helper () |
|
void | setThreadData_helper (QThreadData *currentData, QThreadData *targetData) |
|
void | _q_reregisterTimers (void *pointer) |
|
bool | isSender (const QObject *receiver, const char *signal) const |
|
QObjectList | receiverList (const char *signal) const |
|
QObjectList | senderList () const |
|
void | addConnection (int signal, Connection *c) |
|
int | signalIndex (const char *signalName, const QMetaObject **meta=nullptr) const |
|
bool | isSignalConnected (uint signalIdx, bool checkDeclarative=true) const |
|
bool | maybeSignalConnected (uint signalIndex) const |
|
bool | isDeclarativeSignalConnected (uint signalIdx) const |
|
void | connectNotify (const QMetaMethod &signal) |
|
void | disconnectNotify (const QMetaMethod &signal) |
|
void | ensureConnectionData () |
|
| QObjectData ()=default |
|
virtual | ~QObjectData ()=0 |
|
QMetaObject * | dynamicMetaObject () const |
|
|
static const QTextBlockData * | block (const QTextBlock &it) |
|
static const QTextDocumentPrivate * | get (const QTextDocument *document) |
|
static QTextDocumentPrivate * | get (QTextDocument *document) |
|
static QTextDocumentPrivate * | get (QTextBlock &block) |
|
static const QTextDocumentPrivate * | get (const QTextBlock &block) |
|
static QTextDocumentPrivate * | get (QTextObject *object) |
|
static const QTextDocumentPrivate * | get (const QTextObject *object) |
|
static QObjectPrivate * | get (QObject *o) |
|
static const QObjectPrivate * | get (const QObject *o) |
|
template<typename Func1 , typename Func2 > |
static QMetaObject::Connection | connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection) |
|
template<typename Func1 , typename Func2 > |
static bool | disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot) |
|
static QMetaObject::Connection | connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int type, const int *types, const QMetaObject *senderMetaObject) |
|
static QMetaObject::Connection | connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
|
static QMetaObject::Connection | connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
|
static bool | disconnect (const QObject *sender, int signal_index, void **slot) |
|
static bool | disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot) |
|
static bool | disconnect (Connection *c) |
|
Definition at line 163 of file qtextdocument_p.h.