class DolphinViewActionHandler;
class DolphinApplication;
class DolphinSearchBox;
+class DolphinSearchOptionsConfigurator;
class DolphinSettingsDialog;
class DolphinViewContainer;
class DolphinRemoteEncoding;
class KNewMenu;
class KTabBar;
class KUrl;
-class QDropEvent;
class QSplitter;
/**
/**
* Copies all selected items to the clipboard and marks
- * the items as cutted.
+ * the items as cut.
*/
void cut();
/** Goes up one hierarchy of the current URL. */
void goUp();
+ /**
+ * Open the previous URL in the URL history in a new tab
+ * if the middle mouse button is clicked.
+ */
+ void goBack(Qt::MouseButtons buttons);
+
+ /**
+ * Open the next URL in the URL history in a new tab
+ * if the middle mouse button is clicked.
+ */
+ void goForward(Qt::MouseButtons buttons);
+
+ /**
+ * Open the URL one hierarchy above the current URL in a new tab
+ * if the middle mouse button is clicked.
+ */
+ void goUp(Qt::MouseButtons buttons);
+
/** Goes to the home URL. */
void goHome();
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.
+ * Is connected with the Dolphin search box and the search configurator
+ * and triggers a Nepomuk search.
*/
- void searchItems(const KUrl& url);
+ void searchItems();
/**
* Is connected to the QTabBar signal tabMoved(int from, int to).
*/
void slotTabMoved(int from, int to);
+ /**
+ * Is connected to the searchbox signal 'requestSearchOptions' and
+ * takes care to show the search options.
+ */
+ void showSearchOptions();
+
private:
DolphinMainWindow(int id);
void init();
DolphinViewContainer* m_activeViewContainer;
QVBoxLayout* m_centralWidgetLayout;
DolphinSearchBox* m_searchBox;
+ DolphinSearchOptionsConfigurator* m_searchOptionsConfigurator;
int m_id;
struct ViewTab