before ADeditor correct
This commit is contained in:
@@ -8,16 +8,16 @@ class AlienModel : public QAbstractListModel
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit AlienModel(QList<tbAlien> aliens, QObject *parent = 0);
|
||||
explicit AlienModel(QList <tbHeader*> *data, 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<tbAlien> aliens;
|
||||
QList <tbHeader*> *data;
|
||||
};
|
||||
|
||||
#endif // ALIENMODEL_H
|
||||
|
||||
Reference in New Issue
Block a user