mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Resync included header with upstream
Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
9e55b64631
commit
7954437665
1 changed files with 7 additions and 3 deletions
|
@ -13,7 +13,9 @@
|
||||||
|
|
||||||
// -> does not appear to be needed #include "marble_export.h"
|
// -> does not appear to be needed #include "marble_export.h"
|
||||||
|
|
||||||
#include <QtCore/QAbstractItemModel>
|
#include <QAbstractItemModel>
|
||||||
|
|
||||||
|
class QItemSelectionModel;
|
||||||
|
|
||||||
namespace Marble
|
namespace Marble
|
||||||
{
|
{
|
||||||
|
@ -72,6 +74,8 @@ class MARBLE_EXPORT GeoDataTreeModel : public QAbstractItemModel
|
||||||
|
|
||||||
void reset();
|
void reset();
|
||||||
|
|
||||||
|
QItemSelectionModel *selectionModel();
|
||||||
|
|
||||||
public Q_SLOTS:
|
public Q_SLOTS:
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -82,11 +86,11 @@ public Q_SLOTS:
|
||||||
void setRootDocument( GeoDataDocument *document );
|
void setRootDocument( GeoDataDocument *document );
|
||||||
GeoDataDocument* rootDocument();
|
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( GeoDataContainer *parent, int index );
|
||||||
|
|
||||||
bool removeFeature( GeoDataFeature *feature );
|
int removeFeature( const GeoDataFeature *feature );
|
||||||
|
|
||||||
void updateFeature( GeoDataFeature *feature );
|
void updateFeature( GeoDataFeature *feature );
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue