equal
deleted
inserted
replaced
18 #ifndef FMFILEICONPROVIDER_H |
18 #ifndef FMFILEICONPROVIDER_H |
19 #define FMFILEICONPROVIDER_H |
19 #define FMFILEICONPROVIDER_H |
20 |
20 |
21 #include <QFileIconProvider> |
21 #include <QFileIconProvider> |
22 |
22 |
|
23 class FmFileTypeRecognizer; |
|
24 |
23 class FmFileIconProvider : public QFileIconProvider |
25 class FmFileIconProvider : public QFileIconProvider |
24 { |
26 { |
25 public: |
27 public: |
26 FmFileIconProvider(); |
28 FmFileIconProvider(); |
27 virtual ~FmFileIconProvider(); |
29 virtual ~FmFileIconProvider(); |
28 |
30 |
|
31 // from QFileIconProvider |
29 virtual QIcon icon(const QFileInfo &info) const; |
32 virtual QIcon icon(const QFileInfo &info) const; |
30 |
33 |
31 private: |
34 private: |
32 |
35 |
|
36 FmFileTypeRecognizer *mFileTypeRecognizer; |
|
37 |
33 }; |
38 }; |
34 |
39 |
35 #endif |
40 #endif |