-void FileListModel::AddData(unsigned long index)
-{
- dbIndex.push_back(index);
- reset();
-}
-
-
-#if 0
-
-class StringListModel : public QAbstractListModel
-{
- Q_OBJECT
-
- public:
- StringListModel(const QStringList &strings, QObject *parent = 0)
- : QAbstractListModel(parent), stringList(strings) {}
-
- int rowCount(const QModelIndex &parent = QModelIndex()) const;
- QVariant data(const QModelIndex &index, int role) const;
- QVariant headerData(int section, Qt::Orientation orientation,
- int role = Qt::DisplayRole) const;
-
- private:
- QStringList stringList;
-};
-
-int StringListModel::rowCount(const QModelIndex &parent) const
+void FileListModel::AddData(unsigned long index, QString str, QImage img, unsigned long size)