From ffe0b7556907bc4c6dfaed87a98e7fe68378cfa2 Mon Sep 17 00:00:00 2001 From: Arno Date: Sun, 17 Mar 2013 09:30:45 +0100 Subject: Icons for SmDirModel Made Icons for SmDirModel configurable. For now it's folders, movies, pictures and others. --- smdirmodel.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'smdirmodel.h') diff --git a/smdirmodel.h b/smdirmodel.h index 690efac..d087558 100644 --- a/smdirmodel.h +++ b/smdirmodel.h @@ -13,6 +13,8 @@ #include #include #include +#include +#include #include #include @@ -37,6 +39,8 @@ class SmDirModel : public SmTreeModel { public slots: void setDir(const QString &dir); void dirEvent(const QString &file, int e); + void readSettings(); + void refresh(); private slots: void populate(); @@ -47,6 +51,7 @@ class SmDirModel : public SmTreeModel { QStringList mHeaders; QString mCur; QTimer *mRunTimer; + QMap mIcons; }; #endif // SMDIRMODEL_H -- cgit v1.2.3-70-g09d2