diff options
Diffstat (limited to 'src/dolphincolumnview.h')
| -rw-r--r-- | src/dolphincolumnview.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/dolphincolumnview.h b/src/dolphincolumnview.h index 80228a84c..95a16a80d 100644 --- a/src/dolphincolumnview.h +++ b/src/dolphincolumnview.h @@ -24,6 +24,7 @@ #include <QAbstractItemView> #include <QList> +#include <QString> #include <QStyleOption> class DolphinColumnWidget; @@ -69,6 +70,18 @@ public: /** Returns the URL of the first column. */ KUrl rootUrl() const; + /** + * 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; + public slots: /** * Shows the column which represents the URL \a url. If the column |
