From 884b5ad3a91fff896fb3d53e590fe26300b1c957 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sat, 17 Oct 2009 19:24:05 +0000 Subject: add A search options widget, which later on will include Adam Kidder's search prototype from playground svn path=/trunk/KDE/kdebase/apps/; revision=1036776 --- src/dolphinmainwindow.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/dolphinmainwindow.h') diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h index d5bd1c59b..223b0cb3f 100644 --- a/src/dolphinmainwindow.h +++ b/src/dolphinmainwindow.h @@ -41,6 +41,7 @@ class KAction; class DolphinViewActionHandler; class DolphinApplication; class DolphinSearchBox; +class DolphinSearchOptionsConfigurator; class DolphinSettingsDialog; class DolphinViewContainer; class DolphinRemoteEncoding; @@ -381,6 +382,13 @@ private slots: */ void slotTabMoved(int from, int to); + /** + * Is connected to the searchbox signal 'textEdited' and + * takes care to make the search options configurator visible + * if a search text has been entered. + */ + void slotSearchBoxTextChanged(const QString& text); + private: DolphinMainWindow(int id); void init(); @@ -463,6 +471,7 @@ private: DolphinViewContainer* m_activeViewContainer; QVBoxLayout* m_centralWidgetLayout; DolphinSearchBox* m_searchBox; + DolphinSearchOptionsConfigurator* m_searchOptionsConfigurator; int m_id; struct ViewTab -- cgit v1.3