Skip to content
Permalink
Browse files

Add missing SIP and docs

  • Loading branch information
NathanW2 committed Dec 11, 2015
1 parent ffd7c94 commit bc67c082ade24df7a73ec806904b8384d643f3b7
Showing with 6 additions and 0 deletions.
  1. +1 −0 python/core/qgsbrowsermodel.sip
  2. +3 −0 python/core/qgsdataitem.sip
  3. +1 −0 src/core/qgsbrowsermodel.h
  4. +1 −0 src/core/qgsdataitem.h
@@ -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:
@@ -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 );
};

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

0 comments on commit bc67c08

Please sign in to comment.
You can’t perform that action at this time.