Header-review: add Q_DECL_DEPRECATED_X macro to deprecated method

Change-Id: I486d479b2e07042b397869aab117f44e65539f1e
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
This commit is contained in:
Volker Hilsheimer 2020-03-17 14:34:24 +01:00
parent 8337684b04
commit 943cb0999d

View File

@ -129,7 +129,7 @@ public:
QWizardPage *page(int id) const;
bool hasVisitedPage(int id) const;
#if QT_DEPRECATED_SINCE(5, 15)
QList<int> visitedPages() const;
Q_DECL_DEPRECATED_X("Use visitedIds() instead") QList<int> visitedPages() const;
#endif
QList<int> visitedIds() const;
QList<int> pageIds() const;