This commit is contained in:
unknown
2010-08-25 23:49:21 +04:00
parent 8d6a589224
commit 71a6a951e0
10 changed files with 566 additions and 40 deletions

View File

@@ -8,16 +8,16 @@ class AlienModel : public QAbstractListModel
{
Q_OBJECT
public:
explicit AlienModel(QList <tbHeader*> *data, QObject *parent = 0);
explicit AlienModel(QList<tbAlien> aliens, QObject *parent = 0);
int rowCount(const QModelIndex &parent = QModelIndex()) const;
QVariant data(const QModelIndex &index, int role) const;
void refresh(QList <tbAlien> aliens);
void refresh(QList<tbAlien> aliens);
signals:
public slots:
private:
QList <tbHeader*> *data;
QList<tbAlien> aliens;
};
#endif // ALIENMODEL_H