Skip to content

Commit

Permalink
Const getter and api break docs
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Sep 12, 2017
1 parent 151cd08 commit 850fed5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions doc/api_break.dox
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,15 @@ QgsBrowserModel {#qgis_api_break_3_0_QgsBrowserModel}

- addFavouriteDirectory has been renamed to addFavoriteDirectory
- removeFavourite has been renamed to removeFavorite
- initialize has been added
- initialized has been added


QgsBrowserDockWidget {#qgis_api_break_3_0_QgsBrowserDockWidget}
--------------------

- The constructor for QgsBrowserDockWidget has changed: a QgsBrowserModel instance is now an argument.


QgsCachedFeatureIterator {#qgis_api_break_3_0_QgsQgsCachedFeatureIterator}
------------------------
Expand Down
2 changes: 1 addition & 1 deletion python/core/qgsbrowsermodel.sip
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ Reload the whole model
Hide the given path in the browser model
%End

bool initialized( );
bool initialized( ) const;
%Docstring
Returns true if the model has been initialized
:rtype: bool
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsbrowsermodel.h
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ class CORE_EXPORT QgsBrowserModel : public QAbstractItemModel
void hidePath( QgsDataItem *item );

//! Returns true if the model has been initialized
bool initialized( ) { return mInitialized; }
bool initialized( ) const { return mInitialized; }

//! Delayed initialization, needed because the provider registry must be already populated
void initialize();
Expand Down

0 comments on commit 850fed5

Please sign in to comment.