started work on displaying map
[toast/confclerk.git] / src / mvc / treeview.h
index fe8e0e2..8851ca5 100644 (file)
@@ -3,15 +3,17 @@
 
 #include <QTreeView>
 
-
 class TreeView : public QTreeView
 {
+    Q_OBJECT
 public:
     TreeView(QWidget *aParent = NULL);
     ~TreeView() {}
 private:
     void mouseReleaseEvent(QMouseEvent *aEvent);
     void testForControlClicked(const QModelIndex &aIndex, const QPoint &aPoint);
+signals:
+    void requestForMap(const QModelIndex &aIndex);
 };
 
 #endif /* TREEVIEW_H */