mirror of
https://github.com/Indy970/QtHPConnect
synced 2025-02-01 07:57:13 +01:00
18 lines
429 B
C
18 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
|