summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@digia.com>2013-01-16 14:07:50 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-01-27 10:23:46 +0100
commit8a0a09f6d1cbeba0a88402c4318b1caaefa90d06 (patch)
treea486d1d83583559b4cc261b8e1e7f16f80ccb569
parent9ccd00703dabd9cc34052aab23ee95a0d805c00c (diff)
Doc: Add a note for QDesktopServices about deprecated functions
Add a note in QDesktopServices class reference about storageLocation() and displayName() functions being deprecated since Qt 5. Task-number: QTBUG-27869 Change-Id: I739771fef15534823071beabd62aa7b4e7b34cc0 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com> Reviewed-by: David Faure (KDE) <faure@kde.org>
-rw-r--r--src/gui/util/qdesktopservices.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/util/qdesktopservices.cpp b/src/gui/util/qdesktopservices.cpp
index 61f9393dfb..97847af8ea 100644
--- a/src/gui/util/qdesktopservices.cpp
+++ b/src/gui/util/qdesktopservices.cpp
@@ -143,7 +143,10 @@ void QOpenUrlHandlerRegistry::handlerDestroyed(QObject *handler)
same argument, and it will try to open the URL using the
appropriate mechanism for the user's desktop environment.
- \sa QSystemTrayIcon, QProcess
+ \note Since Qt 5, storageLocation() and displayName() are replaced by functionality
+ provided by the QStandardPaths class.
+
+ \sa QSystemTrayIcon, QProcess, QStandardPaths
*/
/*!