mirror of
https://github.com/Indy970/QtHPConnect
synced 2024-11-15 19:48:02 +01:00
17 lines
429 B
C++
17 lines
429 B
C++
#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
|