From 869ab57c9929c07e7465de72a609b26335da14ea Mon Sep 17 00:00:00 2001 From: Volker Hilsheimer Date: Tue, 25 Aug 2020 15:09:45 +0200 Subject: [PATCH] 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 --- src/gui/image/qabstractfileiconprovider.cpp | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/gui/image/qabstractfileiconprovider.cpp b/src/gui/image/qabstractfileiconprovider.cpp index 2c2a694b60a..aa9f5bd0f0b 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 */ /*!