Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qtextdocument_p.cpp File Reference

(8a725084396da5872fa020212b3cb09ee40a91df)

#include <private/qtools_p.h>
#include <qdebug.h>
#include <qscopedvaluerollback.h>
#include "qtextdocument_p.h"
#include "qtextdocument.h"
#include <qtextformat.h>
#include "qtextformat_p.h"
#include "qtextobject_p.h"
#include "qtextcursor.h"
#include "qtextimagehandler_p.h"
#include "qtextcursor_p.h"
#include "qtextdocumentlayout_p.h"
#include "qtexttable.h"
#include "qtextengine_p.h"
#include <stdlib.h>
+ Include dependency graph for qtextdocument_p.cpp:

Go to the source code of this file.

Macros

#define PMDEBUG   if(0) qDebug
 
#define QT_INIT_TEXTUNDOCOMMAND(c, a1, a2, a3, a4, a5, a6, a7, a8)    QTextUndoCommand c = { a1, a2, 0, 0, quint8(a3), a4, quint32(a5), quint32(a6), { int(a7) }, quint32(a8) }
 

Functions

static bool isValidBlockSeparator (QChar ch)
 
static bool noBlockInString (QStringView str)
 
static bool isAncestorFrame (QTextFrame *possibleAncestor, QTextFrame *child)
 
static QTextFramefindChildFrame (QTextFrame *f, int pos)
 

Macro Definition Documentation

◆ PMDEBUG

#define PMDEBUG   if(0) qDebug

Definition at line 24 of file qtextdocument_p.cpp.

Referenced by QTextDocumentPrivate::undoRedo().

◆ QT_INIT_TEXTUNDOCOMMAND

Function Documentation

◆ findChildFrame()

static QTextFrame * findChildFrame ( QTextFrame * f,
int pos )
static

Definition at line 1395 of file qtextdocument_p.cpp.

References pos.

Referenced by QTextDocumentPrivate::frameAt().

+ Here is the caller graph for this function:

◆ isAncestorFrame()

static bool isAncestorFrame ( QTextFrame * possibleAncestor,
QTextFrame * child )
static

Definition at line 539 of file qtextdocument_p.cpp.

References child.

Referenced by QTextDocumentPrivate::move().

+ Here is the caller graph for this function:

◆ isValidBlockSeparator()

static bool isValidBlockSeparator ( QChar ch)
static

Definition at line 92 of file qtextdocument_p.cpp.

References ch, QTextBeginningOfFrame, and QTextEndOfFrame.

Referenced by QTextDocumentPrivate::insertBlock(), and QTextDocumentPrivate::move().

+ Here is the caller graph for this function:

◆ noBlockInString()

static bool noBlockInString ( QStringView str)
static

Definition at line 99 of file qtextdocument_p.cpp.

References QString::contains(), QTextBeginningOfFrame, QTextEndOfFrame, and str.

Referenced by QTextDocumentPrivate::insert(), and QTextDocumentPrivate::move().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: