Commit graph

103 commits

Author SHA1 Message Date
Peter Penz 3b4e44d6da if "split view" is used as startup setting, also open new tabs in the split view mode
BUG: 176980

svn path=/trunk/KDE/kdebase/apps/; revision=896206
2008-12-12 20:30:23 +00:00
Peter Penz 85aec92f81 SVN_SILENT: removed trailing spaces
svn path=/trunk/KDE/kdebase/apps/; revision=895978
2008-12-12 06:55:26 +00:00
Peter Penz c0fd7f2a19 * show an error message instead of an information message when an invalid dragging is done
* show an error message if a folder is dropped on to itself

svn path=/trunk/KDE/kdebase/apps/; revision=883836
2008-11-13 17:22:35 +00:00
Peter Penz a7838db28e * implement the DragAndDropHelper as singleton derived from QObject, so that emitting of signals is possible
* show an information message in the statusbar, if items are dragged into the same directory

TODO: although the signal seems to get connected correctly, the slot DolphinMainWindow::showInformationMessage() is not invoked when the signal is emitted -> will debug this later, it is important that the new string is added before the message freeze

svn path=/trunk/KDE/kdebase/apps/; revision=881627
2008-11-08 16:22:30 +00:00
Peter Penz b1aadb8cce If the context menu is opened above a directory, add the actions "Open in New Window" and "Open in New Tab" to the context menu.
Thanks to Mathias Soeken for the patch!

CCMAIL: msoeken@tzi.de

svn path=/trunk/KDE/kdebase/apps/; revision=875711
2008-10-25 10:32:55 +00:00
Peter Penz 5d69f066db * renamed "[x] Show Full Location" to "[x] Editable Location"
* renamed "Edit Location" to "Replace Location"

svn path=/trunk/KDE/kdebase/apps/; revision=875699
2008-10-25 09:41:39 +00:00
Mathias Soeken 75bf8edaeb You can now switch the tabs in dolphin via keyboard shortcuts like in konqueror
svn path=/trunk/KDE/kdebase/apps/; revision=875689
2008-10-25 09:00:28 +00:00
Peter Penz aa0b09dac4 * 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
2008-10-01 21:39:35 +00:00
Peter Penz 0382f24544 Use KonqOperations::doDrop() instead of a custom dropping code. Still some minor issues are open (Dolphin currently gets no feedback anymore when the operations have been finished), but they will be solved during the next week.
BUG: 168154

svn path=/trunk/KDE/kdebase/apps/; revision=865708
2008-09-28 18:38:00 +00:00
Frederik Schwarzer d3f278419c let me introduce: typo of the year "the the"
mostly seen as
"the the" -> "the"
"the the" -> "to the"
and in its best case
"a the the" -> "" :)

svn path=/trunk/KDE/kdebase/apps/; revision=864814
2008-09-25 15:05:22 +00:00
Peter Penz 00afeea5f5 Activate the tab when an item is dragged above an inactive tab. Thanks to Dmitry Khlystov for the patch!
BUG: 164312

svn path=/trunk/KDE/kdebase/apps/; revision=846009
2008-08-12 19:22:38 +00:00
Peter Penz a07ea82381 Provide a "Quick View" in the Tools menu, which uses the Previewer plasmoid.
TODO 1: use the D-Bus interface directly instead of using KRun::runCommand() as workaround.

TODO 2: a new icon would be necessary

CCMAIL: alediaferia@gmail.com

svn path=/trunk/KDE/kdebase/apps/; revision=838039
2008-07-26 13:49:50 +00:00
David Faure b5e97174d0 Code factorization: move "properties" action and slot to DolphinViewActionHandler.
svn path=/trunk/KDE/kdebase/apps/; revision=831148
2008-07-11 23:06:07 +00:00
Peter Penz 3bc3ca1458 Move the "Find File..." action from DolphinMainWindow to DolphinViewActionHandler, so that is used in DolphinPart and hence also in Konqueror. Thanks to Bram for the patch!
CCMAIL: bramschoenmakers@kde.nl
CCMAIL: faure@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=826383
2008-06-30 16:37:08 +00:00
Peter Penz c446e29bc3 Don't check for "kompare" each time 2 items are selected (thanks to Andreas Scherf). As Albert Astals Cid pointed out it might be nicer to use a menu plugin instead of hardcoding "kompare" (> KDE 4.1).
CCMAIL: scherfa@arcor.de

svn path=/trunk/KDE/kdebase/apps/; revision=825587
2008-06-28 18:42:51 +00:00
Peter Penz 57e3503e2f If the middle mouse button is pressed above an item of the places panel, open the URL inside a new tab.
svn path=/trunk/KDE/kdebase/apps/; revision=806606
2008-05-11 20:14:50 +00:00
David Faure fd98230020 Move "Adjust view properties" to dolphinviewactionhandler so that it's available in dolphinpart (konqueror) too.
Bug reported by kde-bug-hunter "lemma".

svn path=/trunk/KDE/kdebase/apps/; revision=804037
2008-05-04 21:16:30 +00:00
David Faure 06e9ece821 KonqFileUndoManager moved to kdelibs, as KIO::FileUndoManager. Ported the code in libkonq+dolphin+konqueror.
svn path=/trunk/KDE/kdebase/apps/; revision=802881
2008-04-30 23:32:33 +00:00
David Faure d1aaeab617 Fix bug with the UndoUiInterface usage: if more than one mainwindow was used, the statusbar of the wrong window could be used for displaying error messages from the undo manager.
svn path=/trunk/KDE/kdebase/apps/; revision=799250
2008-04-20 22:07:44 +00:00
Peter Penz 12c1feb0c5 * provide context menu for tabs
* assure that the tab name is set to "/" for the root URL instead of using an empty string

svn path=/trunk/KDE/kdebase/apps/; revision=797725
2008-04-16 20:03:05 +00:00
Peter Penz ac9e01f789 implemented functionality for closing tabs
svn path=/trunk/KDE/kdebase/apps/; revision=796587
2008-04-13 20:20:30 +00:00
Peter Penz 9d1a8d98dd fixes for tabs:
* remember active view when having a split view inside a tab
* prevent a possible recursion when returning into a tab having a split view

svn path=/trunk/KDE/kdebase/apps/; revision=796563
2008-04-13 19:12:52 +00:00
Peter Penz 030a5d5433 when clicking with the middle mouse button on a directory, a new tab should be opened
svn path=/trunk/KDE/kdebase/apps/; revision=796116
2008-04-12 16:12:57 +00:00
Peter Penz 3b06c2120d "New Tab" menu + some related code ;-)
BUG: 143995

svn path=/trunk/KDE/kdebase/apps/; revision=796101
2008-04-12 15:09:46 +00:00
Peter Penz c33b01efb2 Move the pasteIntoFolder() method from the contextmenu into DolphinView. This allows to show the information inside the statusbar, that the paste operation has been completed (also some code duplication can be prevented by the way).
svn path=/trunk/KDE/kdebase/apps/; revision=791436
2008-03-29 14:54:56 +00:00
Peter Penz e83c309781 remove unused signal
svn path=/trunk/KDE/kdebase/apps/; revision=784855
2008-03-12 17:07:42 +00:00
Peter Penz eb7294fa10 minor cleanup: no need to create a slot which just invokes another method, just use the other method as slot
svn path=/trunk/KDE/kdebase/apps/; revision=778423
2008-02-23 15:48:56 +00:00
David Faure a8a050952d Provide the "sort by" actions in dolphinpart (konqueror); share and simplify the code by connecting to the actiongroup's signal.
svn path=/trunk/KDE/kdebase/apps/; revision=774699
2008-02-13 20:52:21 +00:00
David Faure 804a196700 Provide the dolphinpart view modes (Icons, Details, Columns) in konqueror's View Modes menu.
(this is done using a Q_PROPERTY in the dolphin part and a signal; the available view modes for creating the menu in the first place are listed in dolphinpart.desktop)
Konqueror: cleaned up the old (complex) handling of view modes as N toolbar buttons from M services grouped by library (240 lines less!).
Dolphin: moved view mode handling to DolphinViewActionHandler, removes duplication between part and mainwindow.

svn path=/trunk/KDE/kdebase/apps/; revision=774646
2008-02-13 18:45:20 +00:00
David Faure 846b21edf5 Forwardport 773570:
Factorize all the view-related action handling to DolphinViewActionHandler, to remove code duplication between mainwindow and part, and to remove my code-splitting with the static createFooAction methods in the view.

svn path=/trunk/KDE/kdebase/apps/; revision=773572
2008-02-11 12:44:46 +00:00
David Faure 45a1074b0a Factorize all the view-related action handling to DolphinViewActionHandler, to remove code duplication between mainwindow and part, and to remove my code-splitting with the static createFooAction methods in the view.
svn path=/branches/KDE/4.0/kdebase/apps/; revision=773570
2008-02-11 12:34:48 +00:00
Peter Penz 368e7d615a Fixed issue that the "Show Full Location" action is not synchronized with the editable state of the URL navigator (thanks to David Benjamin for the patch).
BUG: 156891

svn path=/trunk/KDE/kdebase/apps/; revision=771918
2008-02-07 07:27:06 +00:00
David Faure a6f5c499ef keep in sync with 4.0 branch (767566)
svn path=/trunk/KDE/kdebase/apps/; revision=767567
2008-01-28 11:37:08 +00:00
David Faure cdc40d4398 Centralize three more actions so that they are available in DolphinPart: 'Show preview' 'Show hidden files' 'Categorized sorting'
Found a way of sharing the actions with even less code duplication, discussed it with Peter, but this will be for after 4.0.1

svn path=/branches/KDE/4.0/kdebase/apps/; revision=767566
2008-01-28 11:33:49 +00:00
David Faure 494f522b91 svn merge -r764536:HEAD from 4.0 branch: refactor "additional info" actions and provide them in the part
svn path=/trunk/KDE/kdebase/apps/; revision=764550
2008-01-22 01:38:45 +00:00
David Faure 13706a2952 Move the code handling the additional-info-actions to DolphinView; simplify signal from DolphinView (it has the info anyway).
The fact that the last additional-info doesn't show up in the icon view is in fact a KFileItemDelegate bug, not a bug in this code :)

svn path=/branches/KDE/4.0/kdebase/apps/; revision=764544
2008-01-22 01:22:56 +00:00
David Faure d34f1d1b46 Use a QActionGroup and save 6 slots (and the duplication of the action names in the code).
svn path=/branches/KDE/4.0/kdebase/apps/; revision=764537
2008-01-22 00:39:52 +00:00
David Faure e3da86af95 forwardport 764429:
Revert the moving of the action to the DolphinView instance, this doesn't work with splitted views.
(Each view would need its own action collection, but then DolphinView would have to become
a KXMLGUIClient, and the GUI would flicker when switching views).

Instead, use the same solution as the other shared actions: static method in DolphinView (for now),
slot in the mainwindow (and for the more complex actions than this one, shared code in DolphinView)

svn path=/trunk/KDE/kdebase/apps/; revision=764436
2008-01-21 19:31:07 +00:00
David Faure c00478bbc1 Revert the moving of the action to the DolphinView instance, this doesn't work with splitted views.
(Each view would need its own action collection, but then DolphinView would have to become
a KXMLGUIClient, and the GUI would flicker when switching views).

Instead, use the same solution as the other shared actions: static method in DolphinView (for now),
slot in the mainwindow (and for the more complex actions than this one, shared code in DolphinView)

svn path=/branches/KDE/4.0/kdebase/apps/; revision=764429
2008-01-21 19:08:52 +00:00
Peter Penz 1daef0dc52 Cleanup: let the DolphinView be aware about the used action collection. This will allow us cleaning up some code in DolphinMainWindow and will make it easier sharing code with DolphinPart.
CCMAIL: faure@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=764347
2008-01-21 14:16:31 +00:00
Peter Penz aeec659530 stay consistent with Konqueror: F10 creates a new directory
svn path=/trunk/KDE/kdebase/apps/; revision=763500
2008-01-19 16:59:10 +00:00
David Faure 609ce09292 Moving code around in dolphin fixes DnD support in konqueror :)
svn path=/trunk/KDE/kdebase/apps/; revision=748476
2007-12-14 15:53:40 +00:00
Peter Penz 0e6e4bf391 enable session management
CCMAIL: faure@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=743357
2007-11-30 18:42:17 +00:00
Peter Penz a26eda8d38 there's no need having 2-liners inside their own method when this method is only invoked once...
svn path=/trunk/KDE/kdebase/apps/; revision=741371
2007-11-25 14:51:41 +00:00
Peter Penz 1ce2fb199d allow to show/hide the menubar
BUG: 152463

svn path=/trunk/KDE/kdebase/apps/; revision=738282
2007-11-18 14:37:57 +00:00
David Faure 8578ad1e75 Fix "delete" and "move to trash" actions in dolphinpart; moved all logic for those out of konqueror.
Inside dolphin, the usual: moving code to DolphinView.
Pressing shift while clicking on "Move to Trash" in konq (dolphinpart) offers to delete, as in kde3 (this bit of logic might be good for dolphin itself too? see DolphinPart::slotTrashActivated)
CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=737682
2007-11-17 00:08:54 +00:00
David Faure f8302197da Implement cut/copy/paste in dolphinpart.
Had to move more code to DolphinView, to use it from the part.

svn path=/trunk/KDE/kdebase/apps/; revision=737203
2007-11-15 20:04:05 +00:00
David Faure 53d65e6392 Implement renaming in dolphinpart.
No more rename action provided by konqueror, the part provides it now.
Had to move a bit of code around in dolphin, as discussed with Peter.

svn path=/trunk/KDE/kdebase/apps/; revision=737121
2007-11-15 14:59:02 +00:00
David Faure 205bf2035d KonqUndoManager -> KonqFileUndoManager, to prepare for a KonqUndoManager in konqueror,
Taking this opportunity for filename==classname and a .cpp extension, as well.

svn path=/trunk/KDE/kdebase/apps/; revision=737032
2007-11-15 10:10:42 +00:00
Peter Penz f11c699fa2 due to the recent tagging freeze this commit contains several fixes in one:
* the filterbar now also filters directories (works also in the column-view :-))

* The "Additional Information" menu entry now also works for showing/hiding the columns of the details view. This also implies that the columns for the details view can now be adjusted per directory -> we have now a consistent behavior between the icons view and details view. Still open: the view properties dialog must be fixed

* Don't show a "Nepomuk not available" error message when starting Dolphin and Nepomuk is not available.

* Fix issue that the information panel blocked the application because of parsing the full meta data of a huge file.

svn path=/trunk/KDE/kdebase/apps/; revision=729704
2007-10-26 17:36:16 +00:00