X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/f37ecd6ecfab9bc1d2929504b4f6e4363f8137b9..b1c9b5126d:/src/dolphinmainwindow.h diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h index 336b16363..2e49cc67a 100644 --- a/src/dolphinmainwindow.h +++ b/src/dolphinmainwindow.h @@ -39,6 +39,7 @@ typedef KIO::FileUndoManager::CommandType CommandType; class KAction; class DolphinViewActionHandler; class DolphinApplication; +class DolphinSearchBox; class DolphinSettingsDialog; class DolphinViewContainer; class KNewMenu; @@ -281,6 +282,9 @@ private slots: */ void slotSelectionChanged(const KFileItemList& selection); + /** Enables changing of tabs via mouse wheel. */ + void slotWheelMoved(int wheelDelta); + /** Emits the signal requestItemInfo(). */ void slotRequestItemInfo(const KFileItem&); @@ -341,6 +345,7 @@ private slots: */ void closeTab(int index); + /** * Opens a context menu for the tab with the index \a index * on the position \a pos. @@ -360,6 +365,12 @@ private slots: */ void slotTestCanDecode(const QDragMoveEvent* event, bool& accept); + /** + * Is connected with the Dolphin search box and searchs items that + * match to the text entered in the search bar. + */ + void searchItems(const KUrl& url); + private: DolphinMainWindow(int id); void init(); @@ -420,6 +431,7 @@ private: KTabBar* m_tabBar; DolphinViewContainer* m_activeViewContainer; QVBoxLayout* m_centralWidgetLayout; + DolphinSearchBox* m_searchBox; int m_id; struct ViewTab