From aa0b09dac43ec2a58bd32a1e08d59acd35bd86aa Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Wed, 1 Oct 2008 21:39:35 +0000 Subject: * adjusted Dolphin to use KonqOperations::doDrop() instead of using a custom implementation * used new signals jobRecordingStarted() and jobRecordingFinished from FileUndoManager to inform the user in the statusbar when a recorded command has been finished svn path=/trunk/KDE/kdebase/apps/; revision=866777 --- src/dolphinmainwindow.h | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) (limited to 'src/dolphinmainwindow.h') diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h index 2b7b247b5..a9db9a3e2 100644 --- a/src/dolphinmainwindow.h +++ b/src/dolphinmainwindow.h @@ -34,6 +34,8 @@ #include +typedef KIO::FileUndoManager::CommandType CommandType; + class KAction; class DolphinViewActionHandler; class DolphinApplication; @@ -104,14 +106,6 @@ public: KAction* showMenuBarAction() const; public slots: - /** - * Handles the dropping of URLs to the given - * destination. This is only called by the TreeViewSidebarPage. - */ - void dropUrls(const KFileItem& destItem, - const KUrl& destPath, - QDropEvent* event); - /** * Pastes the clipboard data into the currently selected folder * of the active view. If not exactly one folder is selected, @@ -314,8 +308,11 @@ private slots: /** Toggles the active view if two views are shown within the main window. */ void toggleActiveView(); - /** Called when the view is doing a file operation, like renaming, copying, moving etc. */ - void slotDoingOperation(KIO::FileUndoManager::CommandType type); + /** + * Indicates in the statusbar that the execution of the command \a command + * has been finished. + */ + void showCommand(CommandType command); /** * Activates the tab with the index \a index, which means that the current view @@ -423,9 +420,6 @@ private: QList m_viewTab; DolphinViewActionHandler* m_actionHandler; - - /// remember pending undo operations until they are finished - QList m_undoCommandTypes; }; inline DolphinViewContainer* DolphinMainWindow::activeViewContainer() const -- cgit v1.3