Merge branch 'master' into contact_dialog
[situare] / src / ui / listview.h
index eaf32fb..5697c37 100644 (file)
@@ -155,6 +155,14 @@ public:
     ListItem *listItemAt(int index);
 
     /**
+    * @brief Returns all list items.
+    *
+    * Item ID is key.
+    * @return list of ListItems
+    */
+    QHash<QString, ListItem *> listItems() const;
+
+    /**
     * @brief Prepends item to view and item list.
     *
     * @param key user ID