diff options
Diffstat (limited to 'src/dolphincolumnwidget.h')
| -rw-r--r-- | src/dolphincolumnwidget.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/dolphincolumnwidget.h b/src/dolphincolumnwidget.h index 03e082658..7636655a9 100644 --- a/src/dolphincolumnwidget.h +++ b/src/dolphincolumnwidget.h @@ -84,6 +84,19 @@ public: */ void updateBackground(); + /** + * Filters the currently shown items by \a nameFilter. All items + * which contain the given filter string will be shown. + */ + void setNameFilter(const QString& nameFilter); + + /** + * Returns the currently used name filter. All items + * which contain the name filter will be shown. + */ + QString nameFilter() const; + + protected: virtual QStyleOptionViewItem viewOptions() const; virtual void dragEnterEvent(QDragEnterEvent* event); |
