#ifndef LISTVIEW_H
#define LISTVIEW_H
+#include <QHash>
#include <QListWidget>
class GeoCoordinate;
ListItem *listItemAt(int index);
/**
+ * @brief Prepends item to view and item list.
+ *
+ * @param key user ID
+ * @param item item to prepend to view and list
+ */
+ void prependListItem(const QString &key, ListItem *item);
+
+ /**
+ * @brief Removes last ListItem in list.
+ */
+ void removeLastItem();
+
+ /**
* @brief Returns selected ListItem.
*
* @return ListItem if there is selected, 0 otherwise