X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=UI%2Fstringlistmodel.h;fp=UI%2Fstringlistmodel.h;h=0000000000000000000000000000000000000000;hb=b7e5e4f21ee31476d5b9d3ceb3b7070b7f6e7101;hp=5aee6c2c7db9662098951b1e005354a6f349619e;hpb=b71570cc3d374a4af2007cdc8c453c421b04af5f;p=speedfreak diff --git a/UI/stringlistmodel.h b/UI/stringlistmodel.h deleted file mode 100644 index 5aee6c2..0000000 --- a/UI/stringlistmodel.h +++ /dev/null @@ -1,20 +0,0 @@ -#ifndef STRINGLISTMODEL_H -#define STRINGLISTMODEL_H -#include -#include -#include - -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; -}; - -#endif // STRINGLISTMODEL_H