Skip to content
Permalink
Browse files

More docstring fixes

  • Loading branch information
m-kuhn committed May 17, 2018
1 parent 74dec50 commit b76acbe46a0e89df237e2626fdb48893d645503b
@@ -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;
@@ -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 );

0 comments on commit b76acbe

Please sign in to comment.
You can’t perform that action at this time.