1 #ifndef DIRECTORYMODEL_H_
2 #define DIRECTORYMODEL_H_
4 #include <QAbstractListModel>
7 class DirectoryModel: public QAbstractListModel
27 bool operator<(const Entry &) const;
34 void add_entry(const QString &, EntryType);
36 virtual QHash<int, QByteArray> roleNames() const;
37 virtual int rowCount(const QModelIndex &) const;
38 virtual QVariant data(const QModelIndex &, int) const;