Skip to content

Commit

Permalink
More docstring fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed May 17, 2018
1 parent 74dec50 commit b76acbe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -193,12 +193,10 @@ Specify -1 as column to invalidate the cache

void prefetchSortData( const QString &expression, unsigned long cacheIndex = 0 );
%Docstring
Prefetches the entire data for one expression. Based on this cached information
Prefetches the entire data for an ``expression``. Based on this cached information
the sorting can later be done in a performant way. A ``cacheIndex`` can be specified
if multiple caches should be filled. In this case, the caches will be available
as ``QgsAttributeTableModel.SortRole + cacheIndex``.

:param expression: The expression to cache
%End

QString sortCacheExpression( unsigned long cacheIndex = 0 ) const;
Expand Down
4 changes: 1 addition & 3 deletions src/gui/attributetable/qgsattributetablemodel.h
Original file line number Diff line number Diff line change
Expand Up @@ -199,12 +199,10 @@ class GUI_EXPORT QgsAttributeTableModel: public QAbstractTableModel
void prefetchColumnData( int column );

/**
* Prefetches the entire data for one expression. Based on this cached information
* Prefetches the entire data for an \a expression. Based on this cached information
* the sorting can later be done in a performant way. A \a cacheIndex can be specified
* if multiple caches should be filled. In this case, the caches will be available
* as ``QgsAttributeTableModel::SortRole + cacheIndex``.
*
* \param expression The expression to cache
*/
void prefetchSortData( const QString &expression, unsigned long cacheIndex = 0 );

Expand Down

0 comments on commit b76acbe

Please sign in to comment.