diff options
| author | Peter Penz <[email protected]> | 2007-01-06 19:51:48 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-01-06 19:51:48 +0000 |
| commit | 86ad5d0a630654f81f4649f997dd6451f371f5f6 (patch) | |
| tree | 24a88713cefcbd3c38096829aa79249b1bf5198e /src/dolphinmainwindow.h | |
| parent | ddc11d9a26176e4f7409bcb297f88cee9439513a (diff) | |
Reanimate drag and drop support for the URL navigator.
svn path=/trunk/playground/utils/dolphin/; revision=620633
Diffstat (limited to 'src/dolphinmainwindow.h')
| -rw-r--r-- | src/dolphinmainwindow.h | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h index b9a9db3d8..fcfab60f0 100644 --- a/src/dolphinmainwindow.h +++ b/src/dolphinmainwindow.h @@ -358,6 +358,24 @@ private slots: /** Open a new main window. */ void openNewMainWindow(); + /** + * Moves the items indicated by m_droppedUrls to the URL + * m_destination. + */ + void moveDroppedItems(); + + /** + * Copies the items indicated by m_droppedUrls to the URL + * m_destination. + */ + void copyDroppedItems(); + + /** + * Links the items indicated by m_droppedUrls to the URL + * m_destination. + */ + void linkDroppedItems(); + private: DolphinMainWindow(); void init(); @@ -371,7 +389,6 @@ private: void updateEditActions(); void updateViewActions(); void updateGoActions(); - void updateViewProperties(const KUrl::List& urls); void copyUrls(const KUrl::List& source, const KUrl& dest); void moveUrls(const KUrl::List& source, const KUrl& dest); void addPendingUndoJob(KIO::Job* job, @@ -392,6 +409,9 @@ private: QSplitter* m_splitter; DolphinView* m_activeView; + KUrl m_dropDestination; + KUrl::List m_droppedUrls; + /** * DolphinMainWindowsupports only one or two views, which * are handled internally as primary and secondary view. |
