Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add missing SIP and docs
  • Loading branch information
NathanW2 committed Dec 11, 2015
1 parent ffd7c94 commit bc67c08
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions python/core/qgsbrowsermodel.sip
Expand Up @@ -96,6 +96,7 @@ class QgsBrowserModel : QAbstractItemModel
void removeFavourite( const QModelIndex &index );
void updateProjectHome();

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

protected:
Expand Down
3 changes: 3 additions & 0 deletions python/core/qgsdataitem.sip
Expand Up @@ -324,6 +324,9 @@ class QgsDirectoryItem : QgsDataCollectionItem
/* static QVector<QgsDataProvider*> mProviders; */
//! @note not available via python bindings
// static QVector<QLibrary*> mLibraries;

/** Check if the given path is hidden from the browser model */
static bool hiddenPath( QString path );
};

/**
Expand Down
1 change: 1 addition & 0 deletions src/core/qgsbrowsermodel.h
Expand Up @@ -138,6 +138,7 @@ class CORE_EXPORT QgsBrowserModel : public QAbstractItemModel
void removeFavourite( const QModelIndex &index );
void updateProjectHome();

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

protected:
Expand Down
1 change: 1 addition & 0 deletions src/core/qgsdataitem.h
Expand Up @@ -410,6 +410,7 @@ class CORE_EXPORT QgsDirectoryItem : public QgsDataCollectionItem
//! @note deprecated since 2.10 - use QgsDataItemProviderRegistry
Q_DECL_DEPRECATED static QVector<QLibrary*> mLibraries;

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

public slots:
Expand Down

0 comments on commit bc67c08

Please sign in to comment.