Skip to content
Permalink
Browse files
FetchMore API Override
  • Loading branch information
elpaso committed Jul 6, 2021
1 parent 01e428d commit 24a9c1a17a2747b426bd9b3ad55564fbb824ef82
Showing with 6 additions and 4 deletions.
  1. +4 −2 python/core/auto_generated/qgsqueryresultmodel.sip.in
  2. +2 −2 src/core/qgsqueryresultmodel.h
@@ -44,8 +44,10 @@ Constructs a QgsQueryResultModel from a ``queryResult`` with optional ``parent``
virtual QVariant headerData( int section, Qt::Orientation orientation, int role ) const;


void fetchMore( const QModelIndex &parent );
bool canFetchMore( const QModelIndex &parent ) const;
virtual void fetchMore( const QModelIndex &parent );

virtual bool canFetchMore( const QModelIndex &parent ) const;


QStringList columns() const;
%Docstring
@@ -97,8 +97,8 @@ class CORE_EXPORT QgsQueryResultModel : public QAbstractTableModel
QVariant data( const QModelIndex &index, int role ) const override;
QVariant headerData( int section, Qt::Orientation orientation, int role ) const override;

void fetchMore( const QModelIndex &parent );
bool canFetchMore( const QModelIndex &parent ) const;
void fetchMore( const QModelIndex &parent ) override;
bool canFetchMore( const QModelIndex &parent ) const override;

//! Returns the column names
QStringList columns() const;

0 comments on commit 24a9c1a

Please sign in to comment.