diff options
| author | Ivan Solovev <ivan.solovev@qt.io> | 2025-01-07 16:57:38 +0100 |
|---|---|---|
| committer | Ivan Solovev <ivan.solovev@qt.io> | 2025-01-09 09:48:19 +0100 |
| commit | c14c6db0df256acafd8e1f0dda185f27510f11e6 (patch) | |
| tree | 1ef6904e847a690fce8800a3d182343688797e14 /src/oauth/qoauth2authorizationcodeflow.cpp | |
| parent | 8ed2be54b80613973b9b04720266ff6f353dd95d (diff) | |
QOAuth2AuthorizationCodeFlow: do not remove accessTokenUrl in Qt 7
The property can be kept forever, simply delegating to the property of
the base class.
Amends 90c7e3df75a901420f70389d16a6ebd53d6332be.
Found in Qt 6.9 API review.
Pick-to: 6.9
Change-Id: I75f8b1843158da0af091e290be3d5748351ed7b4
Reviewed-by: Juha Vuolle <juha.vuolle@qt.io>
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'src/oauth/qoauth2authorizationcodeflow.cpp')
| -rw-r--r-- | src/oauth/qoauth2authorizationcodeflow.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/oauth/qoauth2authorizationcodeflow.cpp b/src/oauth/qoauth2authorizationcodeflow.cpp index 733866a..b8cd467 100644 --- a/src/oauth/qoauth2authorizationcodeflow.cpp +++ b/src/oauth/qoauth2authorizationcodeflow.cpp @@ -275,10 +275,9 @@ QOAuth2AuthorizationCodeFlow::QOAuth2AuthorizationCodeFlow(const QString &client QOAuth2AuthorizationCodeFlow::~QOAuth2AuthorizationCodeFlow() {} -#if QT_REMOVAL_QT7_DEPRECATED_SINCE(6, 13) +#if QT_DEPRECATED_SINCE(6, 13) /*! - \deprecated [6.13] Use QAbstractOAuth2::tokenUrl() instead. This method - will be removed in Qt 7.0. + \deprecated [6.13] Use QAbstractOAuth2::tokenUrl() instead. Returns the URL used to request the access token. \sa setAccessTokenUrl() @@ -290,8 +289,7 @@ QUrl QOAuth2AuthorizationCodeFlow::accessTokenUrl() const } /*! - \deprecated [6.13] Use QAbstractOAuth2::setTokenUrl() instead. This method - will be removed in Qt 7.0. + \deprecated [6.13] Use QAbstractOAuth2::setTokenUrl() instead. Sets the URL used to request the access token to \a accessTokenUrl. @@ -305,7 +303,7 @@ void QOAuth2AuthorizationCodeFlow::setAccessTokenUrl(const QUrl &accessTokenUrl) setTokenUrl(accessTokenUrl); QT_IGNORE_DEPRECATIONS(Q_EMIT accessTokenUrlChanged(accessTokenUrl);) } -#endif // QT_REMOVAL_QT7_DEPRECATED_SINCE(6, 13) +#endif // QT_DEPRECATED_SINCE(6, 13) /*! \enum QOAuth2AuthorizationCodeFlow::PkceMethod |
