2 // filelistmodel.h: Class definition
5 // (C) 2010 Underground Software
8 #ifndef __FILELISTMODEL_H__
9 #define __FILELISTMODEL_H__
14 class FileListModel: public QAbstractListModel
17 FileListModel(QObject * parent = 0);
19 int rowCount(const QModelIndex & parent = QModelIndex()) const;
20 QVariant data(const QModelIndex & index, int role) const;
21 QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const;
23 void AddData(QIcon pix);
26 std::vector<QIcon> pixList;
29 #endif // __FILELISTMODEL_H__