From 8b240249dbc3ea965cbcb4d311aeba5c30e85127 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sun, 17 Dec 2006 13:47:45 +0000 Subject: Use KonqMimeData for the cut- and copy-operation instead of using bool property inside DolphinMainWindow. This assures that cut- and copy-operations also work within multiple Dolphin main windows. svn path=/trunk/playground/utils/dolphin/; revision=614351 --- src/dolphinmainwindow.h | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'src/dolphinmainwindow.h') diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h index e61e1775e..b9a9db3d8 100644 --- a/src/dolphinmainwindow.h +++ b/src/dolphinmainwindow.h @@ -93,20 +93,12 @@ public: void dropUrls(const KUrl::List& urls, const KUrl& destination); - /** - * Returns 'true', if the clipboard contains data - * which has been cutted by the Cut action (Ctrl + X). - */ - bool clipboardContainsCutData() const { return m_clipboardContainsCutData; } - /** * Returns the list of actions which are part of the file group * of the 'Create New...' sub menu. Usually the list contains actions * for creating folders, text files, HTML files etc. */ QLinkedList fileGroupActions() const { return m_fileGroupActions; } - //QLinkedList& linkGroupActions() const { return m_linkGroupActions; } - //QLinkedList& linkToDeviceActions() const { return m_linkToDeviceActions; } /** * Refreshs the views of the main window by recreating them dependent from @@ -411,9 +403,6 @@ private: }; DolphinView* m_view[SecondaryIdx + 1]; - /// If set to true, the clipboard contains data which should be cutted after pasting. - bool m_clipboardContainsCutData; - /** * Asynchronous operations like 'Move' and 'Copy' may only be added as undo * operation after they have been finished successfully. When an asynchronous @@ -442,11 +431,6 @@ private: QLinkedList m_fileGroupActions; KSortableList m_createFileTemplates; - - // TODO: not used yet. See documentation of DolphinMainWindow::linkGroupActions() - // and DolphinMainWindow::linkToDeviceActions() in for details. - //QLinkedList m_linkGroupActions; - //QLinkedList m_linkToDeviceActions; }; #endif // _DOLPHIN_H_ -- cgit v1.3