+++ /dev/null
-/*\r
- * This file is part of family-shop-mgr.\r
- *\r
- * family-shop-mgr is free software: you can redistribute it and/or modify\r
- * it under the terms of the GNU General Public License as published by\r
- * the Free Software Foundation, either version 3 of the License, or\r
- * (at your option) any later version.\r
- *\r
- * family-shop-mgr is distributed in the hope that it will be useful,\r
- * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r
- * GNU General Public License for more details.\r
- *\r
- * You should have received a copy of the GNU General Public License\r
- * along with family-shop-mgr. If not, see <http://www.gnu.org/licenses/>.\r
- *\r
- * Author: Unai IRIGOYEN\r
- * Date: 12/07/2009\r
- *\r
- */\r
-\r
-#ifndef SHOPPINGTREEITEM_H\r
-#define SHOPPINGTREEITEM_H\r
-\r
-#include <QDomNode>\r
-#include <QHash>\r
-\r
-class ShoppingTreeItem\r
-{\r
-public:\r
- ShoppingTreeItem(QDomNode &node, int row, ShoppingTreeItem *parent = 0);\r
- ~ShoppingTreeItem();\r
- ShoppingTreeItem *child(int i);\r
- ShoppingTreeItem *parent();\r
- QDomNode node() const;\r
- int row();\r
-\r
-private:\r
- QDomNode domNode;\r
- QHash<int,ShoppingTreeItem*> childItems;\r
- ShoppingTreeItem *parentItem;\r
- int rowNumber;\r
-};\r
-\r
-#endif // SHOPPINGTREEITEM_H\r