git-svn-id: file:///svnroot/family-shop-mgr@22 26eb2498-383b-47a6-be48-5d6f36779e85
[family-shop-mgr] / code / family-shop-mgr / FamilyShoppingManagerMainWindow.h
index dbcae1a..63f8e87 100644 (file)
@@ -23,6 +23,7 @@
 #define FAMILYSHOPPINGMANAGERMAINWINDOW_H
 
 #include <QMainWindow>
+#include <QModelIndex>
 
 class FamilyShoppingManagerMainWindow : public QMainWindow
 {
@@ -37,6 +38,12 @@ private slots:
     void showGoShopping();
     void showAbout();
 
+    void insertChild();
+//    bool insertColumn(const QModelIndex &parent = QModelIndex());
+    void insertRow();
+//    bool removeColumn(const QModelIndex &parent = QModelIndex());
+    void removeRow();
+
 private:
     QWidget *activityView;
 
@@ -45,6 +52,11 @@ private:
     QAction *goShoppingAction;
     QAction *endShoppingAction;
     QAction *aboutAction;
+
+    QAction *addCategoryAction;
+    QAction *removeCategoryAction;
+    QAction *addItemAction;
+    QAction *removeItemAction;
 };
 
 #endif // FAMILYSHOPPINGMANAGERMAINWINDOW_H