Adding PageStack support in qml
[feedingit] / psa_harmattan / feedingit / qml / Categories.qml
index 6af2f1e..6f95bfe 100644 (file)
@@ -5,6 +5,7 @@ Item {
     width: parent.width; height: parent.height;
     //anchors.top: parent.top; anchors.bottom: parent.bottom
     property bool inEditMode: true
+    signal categoryClicked(string cat)
 
     function reload() {
         categories.reload();
@@ -66,7 +67,7 @@ Item {
                     visible: inEditMode
                 }
             }
-            MouseArea { enabled: !inEditMode; anchors.fill: wrapper; onClicked: { container.categoryClicked(catid); } }
+            MouseArea { enabled: !inEditMode; anchors.fill: wrapper; onClicked: { categoryClicked(catid); } }
         }
     }
 }