qt5base-lts/tests/auto/gui/text
Shawn Rutledge 801b8304fb Add QTextDocument* constructor argument to QTextMarkdownImporter
QTextMarkdownImporter::import() took a QTD* as if it would be ok to
reuse one instance of QTextMarkdownImporter for repeated importing into
different documents; but in practice, we never do that: in fact it's
usually a short-lived, stack-allocated object, as in
 QTextMarkdownImporter(&doc, QTMI::DialectGitHub).import(input);
So it's less clumsy internally to require the document be provided to
the constructor: that way a QTextCursor can be constructed immediately
too, as part of the importer object rather than separately on the heap.

This is private API, unused outside qtbase.

Change-Id: I8041ceb33cb7e7608df55dc5a963292c585afb90
Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
2023-09-01 08:17:29 +02:00
..
qabstracttextdocumentlayout CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qcssparser tests/auto/*: port Q_FOREACH to ranged-for 2023-08-19 16:29:09 +03:00
qfont Mark all of Qt as free of Q_FOREACH, except where it isn't 2023-08-19 05:19:42 +00:00
qfontcache CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qfontdatabase tests: port assorted trivial uses of Q_FOREACH to ranged for loops 2023-08-14 23:11:54 +03:00
qfontmetrics CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qglyphrun tests/auto/: port Q_FOREACH to ranged-for, local const containers 2023-08-19 16:29:25 +03:00
qinputcontrol CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qrawfont tests: port assorted trivial uses of Q_FOREACH to ranged for loops 2023-08-14 23:11:54 +03:00
qstatictext tst_qstatictext: Fix CMake condition 2023-08-31 22:11:51 +00:00
qsyntaxhighlighter CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qtextblock CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qtextcursor CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qtextdocument CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qtextdocumentfragment CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qtextdocumentlayout CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qtextformat CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qtextimagehandler CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qtextlayout Mark all of Qt as free of Q_FOREACH, except where it isn't 2023-08-19 05:19:42 +00:00
qtextlist CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qtextmarkdownimporter Add QTextDocument* constructor argument to QTextMarkdownImporter 2023-09-01 08:17:29 +02:00
qtextmarkdownwriter CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qtextobject CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qtextodfwriter CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qtextpiecetable CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qtextscriptengine tst_QTextScriptEngine: replace QList with const array 2023-08-08 16:03:28 +02:00
qtexttable CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
CMakeLists.txt Move QZipReader/Writer from QtGui to QtCore 2023-04-26 12:01:05 +02:00