File tree 4 files changed +6
-0
lines changed
4 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -96,6 +96,7 @@ class QgsBrowserModel : QAbstractItemModel
96
96
void removeFavourite( const QModelIndex &index );
97
97
void updateProjectHome();
98
98
99
+ /** Hide the given path in the browser model */
99
100
void hidePath( QgsDataItem *item );
100
101
101
102
protected:
Original file line number Diff line number Diff line change @@ -324,6 +324,9 @@ class QgsDirectoryItem : QgsDataCollectionItem
324
324
/* static QVector<QgsDataProvider*> mProviders; */
325
325
//! @note not available via python bindings
326
326
// static QVector<QLibrary*> mLibraries;
327
+
328
+ /** Check if the given path is hidden from the browser model */
329
+ static bool hiddenPath( QString path );
327
330
};
328
331
329
332
/**
Original file line number Diff line number Diff line change @@ -138,6 +138,7 @@ class CORE_EXPORT QgsBrowserModel : public QAbstractItemModel
138
138
void removeFavourite ( const QModelIndex &index );
139
139
void updateProjectHome ();
140
140
141
+ /* * Hide the given path in the browser model */
141
142
void hidePath ( QgsDataItem *item );
142
143
143
144
protected:
Original file line number Diff line number Diff line change @@ -410,6 +410,7 @@ class CORE_EXPORT QgsDirectoryItem : public QgsDataCollectionItem
410
410
// ! @note deprecated since 2.10 - use QgsDataItemProviderRegistry
411
411
Q_DECL_DEPRECATED static QVector<QLibrary*> mLibraries ;
412
412
413
+ /* * Check if the given path is hidden from the browser model */
413
414
static bool hiddenPath ( QString path );
414
415
415
416
public slots:
You can’t perform that action at this time.
0 commit comments