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
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
Peter Penz
f37aaf7948
use inline keyword as suggested at http://www.parashift.com/c%2B%2B-faq-lite/inline-functions.html#faq-9.9
...
svn path=/trunk/KDE/kdebase/apps/; revision=717738
2007-09-27 12:44:14 +00:00
Arto Hytönen
f057d8115b
SVN_SILENT typos--
...
svn path=/trunk/KDE/kdebase/apps/; revision=707204
2007-09-01 08:00:48 +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
David Faure
d89f43f66b
Change signature of requestItemInfo signal, to avoid fileitem -> url -> index -> fileitem roundtrip in dolphin,
...
and to match the BrowserExtension mouseOverInfo() signal.
Started to implement more of the part (e.g. spinning wheel in konq).
svn path=/trunk/KDE/kdebase/apps/; revision=682440
2007-07-02 17:24:54 +00:00
Peter Penz
4062c4cf2d
Allow to sort by rating, which can be quite useful in combination with the "Show in Groups" feature. Although still slow, it basically works. All the code is based on Rafael Fernández López patch available at http://media.ereslibre.es/2007/06/dolphin-21062007.diff .
...
svn path=/trunk/KDE/kdebase/apps/; revision=678801
2007-06-22 10:18:46 +00:00
Peter Penz
9f81672476
split view on startup if it is defined by the settings
...
svn path=/trunk/KDE/kdebase/apps/; revision=678063
2007-06-20 15:46:57 +00:00
Kevin Ottens
2b8e67d7f2
Make use of the error messages coming from the places model.
...
svn path=/trunk/KDE/kdebase/apps/; revision=675760
2007-06-15 00:52:25 +00:00
Peter Penz
6f5f07d391
* allow to toggle the content of split views by the context menu
...
* minor cleanups in DolphinMainWindow
svn path=/trunk/KDE/kdebase/apps/; revision=674713
2007-06-12 21:45:22 +00:00
Peter Penz
be9746e87b
First big step to make it possible that the DolphinView can be embedded as KPart into Konqueror (discussed with David Faure). A lot of refactoring of the DolphinView has been done:
...
- The DolphinView does not contain the URL navigator, the filterbar and the statusbar anymore. Those widgets have been moved to DolphinViewContainer.
- The DolphinView does not contain any reference to the main window anymore.
Currently there are some minor regressions (the statusbar shows less informations, renaming has been deactivated), but they will get fixed during the next days. Also still a lot of interface cleanups must be done, but let's just do it step by step...
svn path=/trunk/KDE/kdebase/apps/; revision=672692
2007-06-07 21:10:48 +00:00
Peter Penz
19dadee2cf
also toggle the text between "Split" and "Join" for the split action
...
svn path=/trunk/KDE/kdebase/apps/; revision=671018
2007-06-03 14:07:45 +00:00
Peter Penz
2ed4d8dcc4
information sidebar fixes:
...
- provide meta information when hovering items
- don't increase the sidebar width, if the item name is longer than the available width
svn path=/trunk/KDE/kdebase/apps/; revision=665646
2007-05-17 14:51:54 +00:00
Dirk Mueller
a333c0d744
include cleanup
...
svn path=/trunk/KDE/kdebase/apps/; revision=663054
2007-05-09 22:23:52 +00:00
Thorsten Roeder
d49c258910
SVN_SILENT: some krazy spelling fixes mainly in comments
...
svn path=/trunk/KDE/kdebase/apps/; revision=662694
2007-05-08 22:05:30 +00:00
Peter Penz
35ee348c45
Initial step for showing the terminal embedded inside Dolphin instead of opening a separate window. This allows to synchronize the current directory of the terminal with the shown directory in Dolphin.
...
svn path=/trunk/KDE/kdebase/apps/; revision=661890
2007-05-06 21:50:24 +00:00
Peter Penz
11c836057b
don't connect each sidebar page with all available signals per default
...
svn path=/trunk/KDE/kdebase/apps/; revision=660258
2007-05-02 05:15:03 +00:00
Peter Penz
a195131147
allow sorting by type
...
svn path=/trunk/KDE/kdebase/apps/; revision=656971
2007-04-22 21:04:46 +00:00
Simon Hausmann
931d9cc75a
Merging branches/work/kmainwindow-decoupling-branch from Kevin and me which
...
separates the xmlgui stuff from KMainWindow
svn path=/trunk/KDE/kdebase/apps/; revision=654728
2007-04-16 20:44:36 +00:00
Peter Penz
6422ae393e
allow to enable the categorization feature for sorting
...
svn path=/trunk/KDE/kdebase/apps/; revision=652200
2007-04-10 11:22:56 +00:00
Peter Penz
c8a4f1fd8d
adapt Dolphin to kdelibs coding style ( http://techbase.kde.org/Policies/Kdelibs_Coding_Style ) by using:
...
astyle --indent=spaces=4 --brackets=linux \
--indent-labels --pad=oper --unpad=paren \
--one-line=keep-statements --convert-tabs \
--indent-preprocessor \
`find -type f -name '*.cpp'` `find -type f -name '*.h'`
svn path=/trunk/KDE/kdebase/apps/; revision=651981
2007-04-09 19:12:54 +00:00
Peter Penz
fd060ce7f6
Initial version for a column view support (thanks a lot to Benjamin Meyer for QColumnView in Qt4.3!). Currently there is a problem when using the DolphinSortFilterProxyModel: some items get duplicated, but I doubt it's an issue in QColumnView (the same issue occurs when using QTreeView) -> further investigations necessary...
...
svn path=/trunk/KDE/kdebase/apps/; revision=647234
2007-03-27 19:08:44 +00:00
Peter Penz
8f9baef848
Patch by Luca Gugelmann: get rid of any mainwindow dependency from the sidebars.
...
svn path=/trunk/KDE/kdebase/apps/; revision=646256
2007-03-25 06:44:28 +00:00
Peter Penz
9b9c12ec69
fixed typo
...
svn path=/trunk/KDE/kdebase/apps/; revision=643569
2007-03-17 20:39:15 +00:00
Peter Penz
b4790ea4c0
cleanup of unused forward declarations
...
svn path=/trunk/KDE/kdebase/apps/; revision=642904
2007-03-15 19:51:48 +00:00
David Faure
1e9dfcc78c
SVN_SILENT unused (showed up in lxr)
...
svn path=/trunk/KDE/kdebase/apps/; revision=642879
2007-03-15 18:15:24 +00:00
Peter Penz
d9ac44e08f
Allow renaming of items (note that currently the "rename multiple files" dialog is temporary used for this until KFileItemDelegate offers editing functionality).
...
svn path=/trunk/KDE/kdebase/apps/; revision=642219
2007-03-13 17:31:54 +00:00
Peter Penz
25349096ae
Allow to set the 'AdditionalInformation' property from KFileItemDelegate for each folder. Use case:
...
- Icons view for images: set 'Size' as additional property
- Icons view for media: show 'MIME type' as additional property
- Default Icons view: don't show any addtional property for a clean layout.
TODO: KFileItemDelagate::AdditionalInformation intersects with KDirModel::Columns when used in combination with the details view. Assure that the user does not get confronted with such implementation details in the user interface.
svn path=/trunk/KDE/kdebase/apps/; revision=641525
2007-03-11 16:47:12 +00:00
Peter Penz
a0cf8456fe
Allow zooming in and zooming out in the icons view.
...
svn path=/trunk/KDE/kdebase/apps/; revision=638386
2007-03-01 19:36:37 +00:00
Peter Penz
a46551d63e
Jippie: file previews are generated again! Thanks to Fredrik for giving me a hint how to do it (if I would have known that it is so easy, I'd have implemented it already some weeks ago...). It's very nice that the details view now also is able to show previews (Kudos to Interview & KDirModel).
...
svn path=/trunk/KDE/kdebase/apps/; revision=638081
2007-02-28 19:17:26 +00:00
Peter Penz
abf17941f7
Dolphin is now a KUniqueApplication. A lot of thanks go to Oscar Blumberg, who submitted this patch.
...
svn path=/trunk/KDE/kdebase/apps/; revision=634862
2007-02-18 17:01:36 +00:00
Peter Penz
abf8f1917d
Additionally to sorting by name, size and date it is now possible to sort by permissions, owner and group.
...
svn path=/trunk/playground/utils/dolphin/; revision=631058
2007-02-07 06:19:06 +00:00
Peter Penz
c8b837a47b
clear the status bar when doing an undo operation
...
svn path=/trunk/playground/utils/dolphin/; revision=628910
2007-01-31 22:14:46 +00:00
Peter Penz
5840fcede7
Do a custom error handling in for the 'Create New...' submenu. Thanks to David for adjusting KNewMenu :-)
...
svn path=/trunk/playground/utils/dolphin/; revision=627220
2007-01-26 00:55:49 +00:00
Peter Penz
5e22e4efba
David's patches come in faster than light: removed code duplication, as a proper default implementation is now available in KonqUndoManager::UiInterface::copiedFileWasModified().
...
svn path=/trunk/playground/utils/dolphin/; revision=627164
2007-01-25 21:06:59 +00:00
Peter Penz
fb0b2a777b
Use custom implementation of KonqUndoManager::UiInterface for Dolphin. This allows that error messages are shown inside the status bar of Dolphin (otherwise a modal error dialog containing an "OK" button would be opened).
...
svn path=/trunk/playground/utils/dolphin/; revision=627130
2007-01-25 19:37:19 +00:00
Peter Penz
33fab30e57
Cleanup of URL drop handling (simplified code, modifier keys work again). After further minor cleanups it looks like KonqOperations::doDrop() can be used later on :-)
...
svn path=/trunk/playground/utils/dolphin/; revision=627105
2007-01-25 17:56:29 +00:00
Peter Penz
214ee5de3f
Use KNewMenu instead of custom implementation of Dolphin. TODO: currently errors are indicated automatically in a message box KNewMenu. In Dolphin modal dialogs having only an "OK" button are not used -> it would be nice if Dolphin could handle the errors in a custom way.
...
svn path=/trunk/playground/utils/dolphin/; revision=627085
2007-01-25 16:56:52 +00:00
Peter Penz
76866f783c
Replaced Dolphins UndoManager and DolphinCommand by KonqUndoManager and KonqOperations. There are still some minor open issues left (renaming of multiple selected files, no undo support for KonqOperations::mkdir(), redo, ...), but all in all it absolutely makes sense to use a shared code for those operations.
...
svn path=/trunk/playground/utils/dolphin/; revision=624760
2007-01-18 06:32:21 +00:00
David Faure
b8572433e2
Doesn't need a config.h
...
Reduce kapplication.h usage to the minimum
svn path=/trunk/playground/utils/dolphin/; revision=622088
2007-01-10 17:31:00 +00:00
Peter Penz
86ad5d0a63
Reanimate drag and drop support for the URL navigator.
...
svn path=/trunk/playground/utils/dolphin/; revision=620633
2007-01-06 19:51:48 +00:00
Peter Penz
8b240249db
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
2006-12-17 13:47:45 +00:00