Commit graph

183 commits

Author SHA1 Message Date
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
3c1efcb738 Make sort/descending available in dolphinpart
svn path=/trunk/KDE/kdebase/apps/; revision=764445
2008-01-21 19:44:36 +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
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
Peter Penz
09c62f7c6a use F3 for "Split View" instead of F10, as F10 is used for "new directory" since KDE 3... (thanks to Aaron for the hint)
svn path=/trunk/KDE/kdebase/apps/; revision=759633
2008-01-10 23:42:34 +00:00
Peter Penz
e3ed05b372 Remember the additional-info property (size, date, type, ...) for each view mode (icons view, details view, column view) individually.
BUG: 154434
CCMAIL: hein@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=757791
2008-01-05 22:09:07 +00:00
Jakob Petsovits
05c8b55c73 Icon renaming (code changes - KDE/):
consolidate the fileview-* icons to view-*

svn path=/trunk/KDE/kdebase/apps/; revision=755384
2008-01-01 12:25:48 +00:00
Rafael Fernández López
73fbb1a3d1 Now the konsole part is autodestructed when no tabs do exist. This makes the desired effect on dolphin when typing "exit" on the terminal, the dock will be hidden.
BUG: 153648

svn path=/trunk/KDE/kdebase/apps/; revision=750276
2007-12-19 01:35:09 +00:00
David Faure
bdb91e85ec Disable the action that launches kompare if kompare is not installed.
svn path=/trunk/KDE/kdebase/apps/; revision=750038
2007-12-18 15:08:59 +00:00
Peter Penz
ae44181e5e If the URL navigator is editable and has the focus, Ctrl+A should select the URL and not all items (thanks to Morton O. Hansen for the patch!)
BUG: 153697

svn path=/trunk/KDE/kdebase/apps/; revision=749188
2007-12-16 19:25:59 +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
5690330220 Allow turning off the feature that additional information might be shown in the icons view. Per default the setting is still on, but for people who prefer browsing with the details view and only temporary switch to the icons view (e. g. for having a larger preview), this feature gets a showstopper (discussed with Eike Hein).
Got the OK from the translator team for adding the new string.

CCMAIL: hein@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=744901
2007-12-04 20:56:42 +00:00
John Tapsell
a818e555cb Make file properties dialog box non-modal
svn path=/trunk/KDE/kdebase/apps/; revision=743617
2007-12-01 14:06:07 +00:00
Peter Penz
d6488887ec Hide the "Sort by Rating" and "Sort by Tags" menu entries for KDE 4.0, as currently the performance is too slow. Nepomuk will support caching in future versions, so hopefully we can provide those entries again in KDE 4.1.
svn path=/trunk/KDE/kdebase/apps/; revision=743363
2007-11-30 19:19:38 +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
Peter Penz
36c5344dbd Check whether the shift key is pressed when the "Move to Trash" action is executed. If this is the case, perform the "Delete" action instead (-> works like in Konqi now, thanks to David for the hint)
CCMAIL: faure@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=738259
2007-11-18 13:33:16 +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
Fathi Boudra
4c3dbbb628 Replace file-find icon by edit-find
svn path=/trunk/KDE/kdebase/apps/; revision=732843
2007-11-04 21:54:49 +00:00
Peter Penz
7f94bd6520 KrushDays-fix: fixed issue that F6 does not apply the focus to the URL navigator when the navigator is already in the editable mode
svn path=/trunk/KDE/kdebase/apps/; revision=732773
2007-11-04 18:50:22 +00:00
Andreas Pakulat
87ba6b6e04 Fix the conflict between cut and delete shortcuts
BUG:151601

svn path=/trunk/KDE/kdebase/apps/; revision=732119
2007-11-02 20:50:05 +00:00
Hamish Rodda
65c11d72c9 Results of setShortcut() auditing (QAction::setShortcut() gets called without this patch)
svn path=/trunk/KDE/kdebase/apps/; revision=730698
2007-10-29 11:03:37 +00:00
Jakob Petsovits
51f8171071 Icon naming spec compliance (code changes):
bookmark-folder -> folder-bookmarks
goto-page -> go-jump
www -> insert-link (doesn't yet exist in Oxygen)

svn path=/trunk/KDE/kdebase/apps/; revision=730639
2007-10-29 08:35:29 +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
Peter Penz
6c1153092e * don't show a horizontal scrollbar in the places panel
* minor coding style update: replace 'listView' by 'placesView'

svn path=/trunk/KDE/kdebase/apps/; revision=728988
2007-10-24 20:28:28 +00:00
Pino Toscano
d05e966ef4 icon renamings:
- emptytrash -> trash-empty
- edit-trash -> user-trash

svn path=/trunk/KDE/kdebase/apps/; revision=728161
2007-10-22 15:58:52 +00:00
Kevin Ottens
45c3d6e9ac Reverts commit 726516. We have to report the URL changed to the outside
so that panels can react to the change correctly.

svn path=/trunk/KDE/kdebase/apps/; revision=727475
2007-10-20 17:05:16 +00:00
Rafael Fernández López
5c4420b28a This fixes the problem that when you click the first time on a place
bookmarked it is not shown as selected, but if you click the second time 
it is. Now this is fixed.

CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=726516
2007-10-17 21:58:52 +00:00
David Faure
8d4fb36089 DolphinPart: provide a way to switch between view modes in konqueror.
Factorized those actions between dolphinmainwindow and dolphinpart (see new methods in dolphinview), and simplified mainwindow code by using the signal from the action group and the QVariant data of the actions (standard Qt4 solution for a group of actions).

svn path=/trunk/KDE/kdebase/apps/; revision=723871
2007-10-10 23:01:35 +00:00
Peter Penz
3c1c185400 Allow showing additional information like type, size and date in parallel for the icons view (thanks to Fredrik for the extension of KFileItemDelegate!).
svn path=/trunk/KDE/kdebase/apps/; revision=720283
2007-10-02 22:04:36 +00:00
Peter Penz
ba150e5735 replace QList<KFileItem> by KFileItemList, as KFileItemList is not QList<KFileItem*> anymore since todays update of kfileitem.* in kdelibs
svn path=/trunk/KDE/kdebase/apps/; revision=720234
2007-10-02 19:03:03 +00:00
Fredrik Höglund
dbc8874c00 Port dolphin to the KFileItemDelegate API changes.
svn path=/trunk/KDE/kdebase/apps/; revision=719796
2007-10-01 22:06:49 +00:00
Tobias Koenig
29a1b26421 Making KFileItemList value based.
svn path=/trunk/KDE/kdebase/apps/; revision=719514
2007-10-01 08:00:48 +00:00
Peter Penz
d78fe954ab drag and drop fixes for the column view (implied a signal changed which affected other views too)
svn path=/trunk/KDE/kdebase/apps/; revision=713430
2007-09-17 14:36:41 +00:00
Peter Penz
d13a840148 provide backspace as alternative shortcut for "go back"
svn path=/trunk/KDE/kdebase/apps/; revision=710364
2007-09-09 19:02:22 +00:00
Peter Penz
31e0dfb6fe change shortcut from the information sidebar to F11 for having a common setting like in the file dialog
svn path=/trunk/KDE/kdebase/apps/; revision=710257
2007-09-09 12:54:24 +00:00
Peter Penz
f470de267c F9 opens the places panel (-> consistent with file-dialog), F7 the folders panel ("tree-view")
svn path=/trunk/KDE/kdebase/apps/; revision=706369
2007-08-30 06:20:24 +00:00
Peter Penz
33f7cf63cb use new icons for closing the inactive view
svn path=/trunk/KDE/kdebase/apps/; revision=704543
2007-08-25 09:54:31 +00:00
Peter Penz
ce35ec9f3d The inactive view gets closed, no joining is done -> fix text
svn path=/trunk/KDE/kdebase/apps/; revision=700674
2007-08-16 06:59:36 +00:00
David Faure
81fcd720a2 Use KFileItem by value rather than by pointer
- in KDirModel::itemForIndex, as noted there as a TODO
 - in dolphin, everywhere.

svn path=/trunk/KDE/kdebase/apps/; revision=699691
2007-08-13 21:57:20 +00:00
Peter Penz
c349180c08 * fixed issue that when having a split view, that both views get the same color after OK or Apply has been pressed inside the Dolphin settings dialog
* prepare for toggling the view icon depending from the activation state

svn path=/trunk/KDE/kdebase/apps/; revision=699311
2007-08-12 17:48:29 +00:00
Peter Penz
e12944d443 Don't add the terminal to the right docking area, if it may only get aligned on the top and bottom.
svn path=/trunk/KDE/kdebase/apps/; revision=692484
2007-07-25 17:32:37 +00:00
Peter Penz
d5b2e29be3 apply shortcuts for docks
svn path=/trunk/KDE/kdebase/apps/; revision=687484
2007-07-13 18:25:36 +00:00
Peter Penz
09860f7cf4 instead of "Sort" -> "By Name", "By Date", "By Size", ...
use "Sort By" -> "Name", Date", "Size", ...

svn path=/trunk/KDE/kdebase/apps/; revision=687480
2007-07-13 18:14:41 +00:00
Peter Penz
ea3e000501 KUIT adaptions
svn path=/trunk/KDE/kdebase/apps/; revision=685432
2007-07-08 21:09:48 +00:00