Core: filepathify FileIconProvider

Change-Id: Id6fcc05317f3f5144c662fb4826438407f8d9d21
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
David Schulz
2021-06-08 12:54:22 +02:00
parent 093f3479ce
commit 43b6ada0db
16 changed files with 41 additions and 41 deletions

View File

@@ -30,6 +30,8 @@
#include <QStyle>
#include <QFileIconProvider>
namespace Utils { class FilePath; }
namespace Core {
namespace FileIconProvider {
@@ -38,7 +40,7 @@ namespace FileIconProvider {
CORE_EXPORT QFileIconProvider *iconProvider();
// Access to individual items
CORE_EXPORT QIcon icon(const QFileInfo &info);
CORE_EXPORT QIcon icon(const Utils::FilePath &filePath);
CORE_EXPORT QIcon icon(QFileIconProvider::IconType type);
// Register additional overlay icons