path: root/src/gui/text/qtextdocument_p.cpp
diff options
authorVolker Hilsheimer <>2021-03-25 10:20:44 +0100
committerVolker Hilsheimer <>2021-03-29 15:59:40 +0200
commitc8f6f8a2220ce8fd628c969f19dfae6f38d7311c (patch)
treef15d6d21bd491a40a888679b6d008eba6113e2f8 /src/gui/text/qtextdocument_p.cpp
parentdb1c238a66e3b7ae16768a4e01ce46a51a51eba3 (diff)
Rename QUrlResourceProvider to QTextDocumentResourceProvider
While the class name is now a bit more than a mouthful, it's purpose is very narrowly tied to QTextDocument, so don't use a very generic name for it. That resources are provided based on a URL is to some degree an implementation detail, and URLs are resource locators so we don't need that in the class name. Address code review comment for 6.1. Add documentation and links to existing APIs with a similar purpose. Task-number: QTBUG-90211 Task-number: QTBUG-92208 Pick-to: 6.1 Change-Id: I4f09057cc2f53a5595513c1c9422e6ccaad6ca13 Reviewed-by: Kai Koehne <>
Diffstat (limited to 'src/gui/text/qtextdocument_p.cpp')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/text/qtextdocument_p.cpp b/src/gui/text/qtextdocument_p.cpp
index 1f2e8d2da2..eb62168a31 100644
--- a/src/gui/text/qtextdocument_p.cpp
+++ b/src/gui/text/qtextdocument_p.cpp
@@ -52,7 +52,7 @@
#include "qtextdocumentlayout_p.h"
#include "qtexttable.h"
#include "qtextengine_p.h"
-#include "qurlresourceprovider.h"
+#include "qtextdocumentresourceprovider.h"
#include <stdlib.h>