+ ShoppingTreeModel(const QString &xmlFileName, QObject *parent = 0);\r
+ ~ShoppingTreeModel();\r
+\r
+ QVariant data(const QModelIndex &index, int role) const;\r
+ QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const;\r
+ QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const;\r
+ QModelIndex parent(const QModelIndex &index) const;\r
+\r
+ int rowCount(const QModelIndex &parent = QModelIndex()) const;\r
+ int columnCount(const QModelIndex &parent = QModelIndex()) const;\r
+\r
+ Qt::ItemFlags flags(const QModelIndex &index) const;\r
+ bool setData(const QModelIndex &index, const QVariant &value, int role = Qt::EditRole);\r
+ bool setHeaderData(int section, Qt::Orientation orientation, const QVariant &value, int role = Qt::EditRole);\r
+\r
+ bool insertColumns(int position, int columns, const QModelIndex &parent = QModelIndex());\r
+ bool removeColumns(int position, int columns, const QModelIndex &parent = QModelIndex());\r
+ bool insertRows(int position, int rows, const QModelIndex &parent = QModelIndex());\r
+ bool removeRows(int position, int rows, const QModelIndex &parent = QModelIndex());\r