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
QTextDocumentFragmentPrivate Class Reference

#include <qtextdocumentfragment_p.h>

+ Collaboration diagram for QTextDocumentFragmentPrivate:

Public Member Functions

 QTextDocumentFragmentPrivate (const QTextCursor &cursor=QTextCursor())
 
 ~QTextDocumentFragmentPrivate ()
 
void insert (QTextCursor &cursor) const
 

Public Attributes

QAtomicInt ref
 
QTextDocumentdoc
 
uint importedFromPlainText: 1
 

Detailed Description

Definition at line 63 of file qtextdocumentfragment_p.h.

Constructor & Destructor Documentation

◆ QTextDocumentFragmentPrivate()

QTextDocumentFragmentPrivate::QTextDocumentFragmentPrivate ( const QTextCursor & cursor = QTextCursor())

Definition at line 191 of file qtextdocumentfragment.cpp.

References QTextCopyHelper::copy(), doc, QTextDocumentPrivate::get(), and QTextDocument::setUndoRedoEnabled().

+ Here is the call graph for this function:

◆ ~QTextDocumentFragmentPrivate()

QTextDocumentFragmentPrivate::~QTextDocumentFragmentPrivate ( )
inline

Definition at line 67 of file qtextdocumentfragment_p.h.

References doc.

Member Function Documentation

◆ insert()

void QTextDocumentFragmentPrivate::insert ( QTextCursor & cursor) const

Definition at line 209 of file qtextdocumentfragment.cpp.

References QTextDocumentPrivate::beginEditBlock(), QTextCopyHelper::copy(), doc, QTextCursor::End, importedFromPlainText, and QTextCursor::KeepAnchor.

Referenced by QTextCursor::insertFragment().

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

Member Data Documentation

◆ doc

◆ importedFromPlainText

uint QTextDocumentFragmentPrivate::importedFromPlainText

Definition at line 74 of file qtextdocumentfragment_p.h.

Referenced by QTextDocumentFragment::fromPlainText(), and insert().

◆ ref


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