Skip to content

Commit

Permalink
Use correct deprecation macro, and add \since to new member function
Browse files Browse the repository at this point in the history
Change-Id: Ib9e88855c708f1fe2402d78c55ff08812d86e035
Reviewed-by: Paul Wicking <[email protected]>
  • Loading branch information
vohi committed Apr 2, 2020
1 parent f515ca5 commit 1de427b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/widgets/dialogs/qwizard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2377,11 +2377,11 @@ bool QWizard::hasVisitedPage(int theid) const
}

/*!
\since 5.15
Returns the list of IDs of visited pages, in the order in which the pages
were visited.
Pressing \uicontrol Back marks the current page as "unvisited" again.
\sa hasVisitedPage()
*/
QList<int> QWizard::visitedIds() const
Expand Down
2 changes: 1 addition & 1 deletion src/widgets/dialogs/qwizard.h
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ class Q_WIDGETS_EXPORT QWizard : public QDialog
QWizardPage *page(int id) const;
bool hasVisitedPage(int id) const;
#if QT_DEPRECATED_SINCE(5, 15)
Q_DECL_DEPRECATED_X("Use visitedIds() instead") QList<int> visitedPages() const;
QT_DEPRECATED_VERSION_X_5_15("Use visitedIds() instead") QList<int> visitedPages() const;
#endif
QList<int> visitedIds() const;
QList<int> pageIds() const;
Expand Down

0 comments on commit 1de427b

Please sign in to comment.