Add lookup function to get PathType display names

This commit is contained in:
Chocobo1
2016-05-17 03:02:27 +08:00
parent 83b58468d9
commit 6ead0ae9ee
3 changed files with 21 additions and 6 deletions

View File

@@ -73,6 +73,8 @@ public:
static void freeInstance();
static ScanFoldersModel *instance();
static QString pathTypeDisplayName(const PathType type);
int rowCount(const QModelIndex &parent = QModelIndex()) const;
int columnCount(const QModelIndex &parent = QModelIndex()) const;
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const;