Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
AFS feature source doesn't need to be a QObject
  • Loading branch information
nyalldawson committed Apr 23, 2017
1 parent b819bc2 commit 8c1584f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion src/providers/arcgisrest/CMakeLists.txt
Expand Up @@ -25,7 +25,6 @@ SET (AFS_SRCS
SET (AFS_MOC_HDRS
qgsarcgisrestutils.h
qgsafsdataitems.h
qgsafsfeatureiterator.h
qgsafsprovider.h
qgsafssourceselect.h
)
Expand Down
6 changes: 1 addition & 5 deletions src/providers/arcgisrest/qgsafsfeatureiterator.h
Expand Up @@ -21,18 +21,14 @@ class QgsAfsProvider;
class QgsSpatialIndex;


class QgsAfsFeatureSource : public QObject, public QgsAbstractFeatureSource
class QgsAfsFeatureSource : public QgsAbstractFeatureSource
{
Q_OBJECT

public:
QgsAfsFeatureSource( const QgsAfsProvider *provider );
QgsFeatureIterator getFeatures( const QgsFeatureRequest &request ) override;
QgsAfsProvider *provider() const;

signals:
void extentRequested( const QgsRectangle & );

protected:
QgsAfsProvider *mProvider = nullptr;

Expand Down

0 comments on commit 8c1584f

Please sign in to comment.