Skip to content

Commit bc67c08

Browse files
committed
Add missing SIP and docs
1 parent ffd7c94 commit bc67c08

File tree

4 files changed

+6
-0
lines changed

4 files changed

+6
-0
lines changed

python/core/qgsbrowsermodel.sip

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ class QgsBrowserModel : QAbstractItemModel
9696
void removeFavourite( const QModelIndex &index );
9797
void updateProjectHome();
9898

99+
/** Hide the given path in the browser model */
99100
void hidePath( QgsDataItem *item );
100101

101102
protected:

python/core/qgsdataitem.sip

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,9 @@ class QgsDirectoryItem : QgsDataCollectionItem
324324
/* static QVector<QgsDataProvider*> mProviders; */
325325
//! @note not available via python bindings
326326
// static QVector<QLibrary*> mLibraries;
327+
328+
/** Check if the given path is hidden from the browser model */
329+
static bool hiddenPath( QString path );
327330
};
328331

329332
/**

src/core/qgsbrowsermodel.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ class CORE_EXPORT QgsBrowserModel : public QAbstractItemModel
138138
void removeFavourite( const QModelIndex &index );
139139
void updateProjectHome();
140140

141+
/** Hide the given path in the browser model */
141142
void hidePath( QgsDataItem *item );
142143

143144
protected:

src/core/qgsdataitem.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,7 @@ class CORE_EXPORT QgsDirectoryItem : public QgsDataCollectionItem
410410
//! @note deprecated since 2.10 - use QgsDataItemProviderRegistry
411411
Q_DECL_DEPRECATED static QVector<QLibrary*> mLibraries;
412412

413+
/** Check if the given path is hidden from the browser model */
413414
static bool hiddenPath( QString path );
414415

415416
public slots:

0 commit comments

Comments
 (0)