#include <kio/fileundomanager.h>
#include <ksortablelist.h>
#include <kxmlguiwindow.h>
+#include <kactionmenu.h>
#include <QtCore/QList>
*/
void slotUndoAvailable(bool available);
+ /** Invoked when an action in the recent tabs menu is clicked. */
+ void restoreClosedTab(QAction* action);
+
/** Sets the text of the 'Undo' menu action to \a text. */
void slotUndoTextChanged(const QString& text);
/** Opens Kompare for 2 selected files. */
void compareFiles();
- /**
- * Initiates a preview of the selected files
- * on the desktop by the Previewer plasmoid.
- */
- void quickView();
-
/**
* Hides the menu bar if it is visible, makes the menu bar
* visible if it is hidden.
*/
void toggleShowMenuBar();
+ /** Opens a terminal window for the current location. */
+ void openTerminal();
+
/** Opens the settings dialog for Dolphin. */
void editSettings();
*/
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 updateViewActions();
void updateGoActions();
+ /**
+ * Adds the tab[\a index] to the closed tab menu's list of actions.
+ */
+ void rememberClosedTab(int index);
+
/**
* Connects the signals from the created DolphinView with
* the DolphinViewContainer \a container with the corresponding slots of
};
KNewMenu* m_newMenu;
+ KActionMenu* m_recentTabsMenu;
KAction* m_showMenuBar;
KTabBar* m_tabBar;
DolphinViewContainer* m_activeViewContainer;