diff options
Diffstat (limited to 'src/filterbar/filterbar.h')
| -rw-r--r-- | src/filterbar/filterbar.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/filterbar/filterbar.h b/src/filterbar/filterbar.h index bf1bce684..cc26ebe67 100644 --- a/src/filterbar/filterbar.h +++ b/src/filterbar/filterbar.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2006 by Peter Penz <[email protected]> * + * Copyright (C) 2006-2010 by Peter Penz <[email protected]> * * Copyright (C) 2006 by Gregor Kališnik <[email protected]> * * * * This program is free software; you can redistribute it and/or modify * @@ -17,6 +17,7 @@ * Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * ***************************************************************************/ + #ifndef FILTERBAR_H #define FILTERBAR_H @@ -28,7 +29,6 @@ class KLineEdit; * @brief Provides an input field for filtering the currently shown items. * * @author Gregor Kališnik <[email protected]> - * @author Peter Penz <[email protected]> */ class FilterBar : public QWidget { @@ -38,6 +38,11 @@ public: FilterBar(QWidget* parent = 0); virtual ~FilterBar(); + /** + * Selects the whole text of the filter bar. + */ + void selectAll(); + public slots: /** Clears the input field. */ void clear(); |
