From 795443766597e512504b4d4599d26131c83bff1d Mon Sep 17 00:00:00 2001 From: Anton Lundin Date: Wed, 15 Jan 2014 09:30:41 +0100 Subject: Resync included header with upstream Signed-off-by: Anton Lundin Signed-off-by: Dirk Hohndel --- qt-ui/marble/GeoDataTreeModel.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'qt-ui/marble') diff --git a/qt-ui/marble/GeoDataTreeModel.h b/qt-ui/marble/GeoDataTreeModel.h index 2889b65ae..39eff8388 100644 --- a/qt-ui/marble/GeoDataTreeModel.h +++ b/qt-ui/marble/GeoDataTreeModel.h @@ -13,7 +13,9 @@ // -> does not appear to be needed #include "marble_export.h" -#include +#include + +class QItemSelectionModel; namespace Marble { @@ -72,6 +74,8 @@ class MARBLE_EXPORT GeoDataTreeModel : public QAbstractItemModel void reset(); + QItemSelectionModel *selectionModel(); + public Q_SLOTS: /** @@ -82,11 +86,11 @@ public Q_SLOTS: void setRootDocument( GeoDataDocument *document ); GeoDataDocument* rootDocument(); - int addFeature( GeoDataContainer *parent, GeoDataFeature *feature ); + int addFeature( GeoDataContainer *parent, GeoDataFeature *feature, int row = -1 ); bool removeFeature( GeoDataContainer *parent, int index ); - bool removeFeature( GeoDataFeature *feature ); + int removeFeature( const GeoDataFeature *feature ); void updateFeature( GeoDataFeature *feature ); -- cgit v1.2.3-70-g09d2