Add missing SIP and docs

This commit is contained in:
Nathan Woodrow 2015-12-11 14:11:02 +10:00
parent ffd7c9436f
commit bc67c082ad
4 changed files with 6 additions and 0 deletions

View File

@ -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:

View File

@ -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 );
};
/**

View File

@ -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:

View File

@ -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: