QtHPConnect/cntfilesystemmodel.h

18 lines
429 B
C
Raw Normal View History

2019-02-19 23:10:58 +02:00
#ifndef CONTENTFILESYSTEMMODEL_H
#define CONTENTFILESYSTEMMODEL_H
#include <QObject>
#include <QFileSystemModel>
class contentFileSystemModel : public QFileSystemModel
{
Q_OBJECT
public:
contentFileSystemModel(QObject * parent=nullptr);
virtual QVariant data( const QModelIndex &index, int role = Qt::DisplayRole ) const;
private:
const static QString filetype_list[][2];
};
#endif // CONTENTFILESYSTEMMODEL_H