typedef KIO::FileUndoManager::CommandType CommandType;
class DolphinViewActionHandler;
-class DolphinApplication;
class DolphinSettingsDialog;
class DolphinViewContainer;
class DolphinRemoteEncoding;
Q_OBJECT
Q_CLASSINFO("D-Bus Interface", "org.kde.dolphin.MainWindow")
Q_PROPERTY(int id READ getId SCRIPTABLE true)
- friend class DolphinApplication;
public:
DolphinMainWindow();
/** Stores all settings and quits Dolphin. */
void quit();
+ /**
+ * Opens a new tab showing the URL \a url and activates the tab.
+ */
+ void openNewActivatedTab(const QUrl& url);
+
signals:
/**
* Is sent if the selection of the currently active view has
*/
void slotSelectionChanged(const KFileItemList& selection);
- /** Emits the signal requestItemInfo(). */
- void slotRequestItemInfo(const KFileItem&);
-
/**
* Updates the state of the 'Back' and 'Forward' menu
* actions corresponding to the current history.
*/
void openNewTab(const QUrl& url);
- /**
- * Opens a new tab showing the URL \a url and activates the tab.
- */
- void openNewActivatedTab(const QUrl& url);
-
/**
* Opens the selected folder in a new tab.
*/
void updateToolBar();
void slotControlButtonDeleted();
- /**
- * Is called if a panel emits an error-message and shows
- * the error-message in the active view-container.
- */
- void slotPanelErrorMessage(const QString& error);
-
/**
* Is called if the user clicked an item in the Places Panel.
* Reloads the view if \a url is the current URL already, and changes the