Use correct deprecation macro, and add \since to new member function
Change-Id: Ib9e88855c708f1fe2402d78c55ff08812d86e035 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
This commit is contained in:
parent
f515ca5dcd
commit
1de427bd4e
@ -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
|
||||
|
@ -129,7 +129,7 @@ public:
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user