class KAction;
class DolphinViewActionHandler;
class DolphinApplication;
+class DolphinSearchBox;
class DolphinSettingsDialog;
class DolphinViewContainer;
-class KLineEdit;
class KNewMenu;
class KTabBar;
class KUrl;
*/
void slotSelectionChanged(const KFileItemList& selection);
+ /** Enables changing of tabs via mouse wheel. */
+ void slotWheelMoved(int wheelDelta);
+
/** Emits the signal requestItemInfo(). */
void slotRequestItemInfo(const KFileItem&);
*/
void closeTab(int index);
+
/**
* Opens a context menu for the tab with the index \a index
* on the position \a pos.
void slotTestCanDecode(const QDragMoveEvent* event, bool& accept);
/**
- * Searchs items that match to the text entered in the search bar.
+ * Is connected with the Dolphin search box and searchs items that
+ * match to the text entered in the search bar.
*/
- void searchItems();
+ void searchItems(const KUrl& url);
private:
DolphinMainWindow(int id);
KTabBar* m_tabBar;
DolphinViewContainer* m_activeViewContainer;
QVBoxLayout* m_centralWidgetLayout;
- KLineEdit* m_searchBar;
+ DolphinSearchBox* m_searchBox;
int m_id;
struct ViewTab