From f7284293359663f52d52e79f51ed2e1fe9e6f307 Mon Sep 17 00:00:00 2001 From: Volker Hilsheimer Date: Wed, 15 Apr 2020 16:21:45 +0200 Subject: [PATCH] Remove deprecated QWizard member MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: If6a0125ab9eba5f1b5040adb2e087003b45f5b3d Reviewed-by: Tor Arne Vestbø --- src/widgets/dialogs/qwizard.cpp | 10 ---------- src/widgets/dialogs/qwizard.h | 3 --- 2 files changed, 13 deletions(-) diff --git a/src/widgets/dialogs/qwizard.cpp b/src/widgets/dialogs/qwizard.cpp index 17ea634efb..4b35c9d8ba 100644 --- a/src/widgets/dialogs/qwizard.cpp +++ b/src/widgets/dialogs/qwizard.cpp @@ -2390,16 +2390,6 @@ QList QWizard::visitedIds() const return d->history; } -/*! - \obsolete Use visitedIds() instead -*/ -#if QT_DEPRECATED_SINCE(5, 15) -QList QWizard::visitedPages() const -{ - return visitedIds(); -} -#endif - /*! Returns the list of page IDs. \since 4.5 diff --git a/src/widgets/dialogs/qwizard.h b/src/widgets/dialogs/qwizard.h index 13b584035c..6acf1c5566 100644 --- a/src/widgets/dialogs/qwizard.h +++ b/src/widgets/dialogs/qwizard.h @@ -128,9 +128,6 @@ public: void removePage(int id); QWizardPage *page(int id) const; bool hasVisitedPage(int id) const; -#if QT_DEPRECATED_SINCE(5, 15) - QT_DEPRECATED_VERSION_X_5_15("Use visitedIds() instead") QList visitedPages() const; -#endif QList visitedIds() const; QList pageIds() const; void setStartId(int id);