summaryrefslogtreecommitdiffstats
path: root/src/gui/image
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2020-08-25 15:09:45 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2020-08-25 17:59:10 +0200
commit869ab57c9929c07e7465de72a609b26335da14ea (patch)
treebf91c7dfe7cbdfb1bd637a19c5cba455e33d8452 /src/gui/image
parentb77a3f47c9d6f4fd68a687e3bdb38e550d2810ad (diff)
Document the QAbstractFileIconProvider::IconType enum
Follow language from the icon naming specification on freedesktop.org at https://specifications.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html Change-Id: I740842a39a9cd56152a799698a648ad6a6e274e5 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src/gui/image')
-rw-r--r--src/gui/image/qabstractfileiconprovider.cpp15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/gui/image/qabstractfileiconprovider.cpp b/src/gui/image/qabstractfileiconprovider.cpp
index 2c2a694b60..aa9f5bd0f0 100644
--- a/src/gui/image/qabstractfileiconprovider.cpp
+++ b/src/gui/image/qabstractfileiconprovider.cpp
@@ -63,13 +63,14 @@ QAbstractFileIconProviderPrivate::~QAbstractFileIconProviderPrivate() = default;
/*!
\enum QAbstractFileIconProvider::IconType
- \value Computer
- \value Desktop
- \value Trashcan
- \value Network
- \value Drive
- \value Folder
- \value File
+ \value Computer The icon used for the computing device as a whole
+ \value Desktop The icon for the special "Desktop" directory of the user
+ \value Trashcan The icon for the user's "Trash" place in the desktop's file manager
+ \value Network The icon for the “Network Servers” place in the desktop's file manager,
+ and workgroups within the network
+ \value Drive The icon used for disk drives
+ \value Folder The standard folder icon used to represent directories on local filesystems
+ \value File The icon used for generic text file types
*/
/*!