#ifndef _TREEMODEL_H_
#define _TREEMODEL_H_
-#include <QtCore>
+#include <QList>
+#include <QVariant>
+#include <QAbstractItemModel>
/*****************************************
* general item used in the Tree Model
int rowCount(const QModelIndex &parent = QModelIndex()) const;
int columnCount(const QModelIndex &parent = QModelIndex()) const;
+ void clear();
+
protected:
bool removeRow(int row, const QModelIndex &parent = QModelIndex());
-
+ bool removeRows(int row, int count, const QModelIndex &parent = QModelIndex());
+
TreeItem *rootItem;
};