IconProvider.hpp
1 #pragma once
2 #include <QFileIconProvider>
3 
4 #include <score_lib_base_export.h>
5 
6 namespace score
7 {
8 
9 class SCORE_LIB_BASE_EXPORT IconProvider : public QFileIconProvider
10 {
11 public:
12  ~IconProvider() override;
13 
14  static IconProvider& instance() noexcept;
15  static const QIcon& folderIcon() noexcept;
16 
17  QIcon icon(IconType type) const override;
18  QIcon icon(const QFileInfo& info) const override;
19  QString type(const QFileInfo&) const override;
20 };
21 
22 }
Definition: IconProvider.hpp:10
Base toolkit upon which the software is built.
Definition: Application.cpp:90