Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
More docstring fixes
- Loading branch information
|
@@ -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 ); |
|
|
|
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.