┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinmainwindow.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2008-10-01 21:39:35 +0000
committerPeter Penz <[email protected]>2008-10-01 21:39:35 +0000
commitaa0b09dac43ec2a58bd32a1e08d59acd35bd86aa (patch)
tree53613eaf7ae13768286a20f3ee77edde191ce1c3 /src/dolphinmainwindow.h
parentdb2013a2fd518fa7b8c37f26840b6c0d36f56fe7 (diff)
* 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
Diffstat (limited to 'src/dolphinmainwindow.h')
-rw-r--r--src/dolphinmainwindow.h20
1 files changed, 7 insertions, 13 deletions
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 <QtCore/QList>
+typedef KIO::FileUndoManager::CommandType CommandType;
+
class KAction;
class DolphinViewActionHandler;
class DolphinApplication;
@@ -105,14 +107,6 @@ public:
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,
* no pasting is done at all.
@@ -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<ViewTab> m_viewTab;
DolphinViewActionHandler* m_actionHandler;
-
- /// remember pending undo operations until they are finished
- QList<KIO::FileUndoManager::CommandType> m_undoCommandTypes;
};
inline DolphinViewContainer* DolphinMainWindow::activeViewContainer() const