From 90f43fd25ec4de4d18da40c214ddb366da5c798a Mon Sep 17 00:00:00 2001 From: Shawn Rutledge Date: Sun, 24 Apr 2022 10:54:05 +0200 Subject: Rename QPdfNavigationStack to QPdfPageNavigator; QML type too This might reduce some confusion about the fact that the back/forward "stack" isn't strictly a stack in the data structure sense: it's more like QUndoStack. It causes a QML source incompatibility relative to Qt 5, but keeps the C++ class name the same as it has been in QtPdf for a long time. Amends 3ad445f9f24a9d3f259ed1781460a63346a728e4 [ChangeLog][QtPDF] The PdfNavigationStack QML type has been renamed to PdfPageNavigator, matching the C++ type QPdfPageNavigator. These remember navigation history within a document, and are helpful to implement back/forward buttons similar to those on a web browser in both Qt Quick and widget-based viewer applications. Change-Id: Id8dc17aa416bb7064b1f0f300a47c07c83b7f47e Reviewed-by: Richard Moe Gustavsen --- tests/auto/pdf/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/auto') diff --git a/tests/auto/pdf/CMakeLists.txt b/tests/auto/pdf/CMakeLists.txt index c35d8055b..e2ba73c6e 100644 --- a/tests/auto/pdf/CMakeLists.txt +++ b/tests/auto/pdf/CMakeLists.txt @@ -1,5 +1,5 @@ add_subdirectory(qpdfbookmarkmodel) -#add_subdirectory(qpdfpagenavigation) +#add_subdirectory(qpdfpagenavigator) add_subdirectory(qpdfpagerenderer) if(TARGET Qt::PrintSupport) add_subdirectory(qpdfdocument) -- cgit v1.2.3