From be1298d9aabbcc18c8a2b1c697d2bca5e7c0a9f3 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Mon, 19 Jan 2009 13:17:33 +0000 Subject: Provide a search box for the nepomuksearch:/ KIO slave. This is just an initial prototype to get some feedback, the search box and the URL navigator still need some love for this usecase... CCMAIL: sebastian@trueg.de svn path=/trunk/KDE/kdebase/apps/; revision=913451 --- src/dolphinmainwindow.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/dolphinmainwindow.h') diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h index 336b16363..9939117b7 100644 --- a/src/dolphinmainwindow.h +++ b/src/dolphinmainwindow.h @@ -41,6 +41,7 @@ class DolphinViewActionHandler; class DolphinApplication; class DolphinSettingsDialog; class DolphinViewContainer; +class KLineEdit; class KNewMenu; class KTabBar; class KUrl; @@ -360,6 +361,11 @@ private slots: */ void slotTestCanDecode(const QDragMoveEvent* event, bool& accept); + /** + * Searchs items that match to the text entered in the search bar. + */ + void searchItems(); + private: DolphinMainWindow(int id); void init(); @@ -420,6 +426,7 @@ private: KTabBar* m_tabBar; DolphinViewContainer* m_activeViewContainer; QVBoxLayout* m_centralWidgetLayout; + KLineEdit* m_searchBar; int m_id; struct ViewTab -- cgit v1.3