Robert Knight
12c6facfce
Fix flicker when resizing the central view area in Dolphin. Only applicable with Qt 4.4 with alien widgets enabled. Any widgets passed to KDirLister::setMainWindow() become native widgets because of a call to QWidget::winId() inside KIO. This fix passes the top level Dolphin window to setMainWindow() (which is already a native window) instead of the item view widget.
...
svn path=/trunk/KDE/kdebase/apps/; revision=775396
2008-02-15 18:18:21 +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
8ba61eb0c7
Make it configurable whether a browsing through archives should be done. The default setting is 'off'. TODO: cleanup the "General Settings" dialog and split it as "General" and "Startup".
...
svn path=/trunk/KDE/kdebase/apps/; revision=764378
2008-01-21 16:07:45 +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
d361e8b9b4
do a case insensitive filtering of filenames
...
CCMAIL: riccardo@kde.org
svn path=/trunk/KDE/kdebase/apps/; revision=756066
2008-01-02 17:40:15 +00:00
Peter Penz
7122f99d75
Only browse through zip and tar files if they are local (otherwise a cryptic error message will occur). We really must make this behavior configurable in KDE 4.1 - I'd suggest that per default no browsing through zip and tar is done (with an option turning this on again)
...
BUG: 153985
CCMAIL: faure@kde.org
svn path=/trunk/KDE/kdebase/apps/; revision=749059
2007-12-16 12:23:49 +00:00
Peter Penz
1a7cf5427f
the signal urlsDropped is not available anymore in the DolphinView
...
svn path=/trunk/KDE/kdebase/apps/; revision=749047
2007-12-16 11:49:39 +00:00
Peter Penz
e91a20c9b8
simplified code for assuring that Open Office files won't get browsed + added comment (thanks to David for the hint)
...
svn path=/trunk/KDE/kdebase/apps/; revision=748799
2007-12-15 15:20:45 +00:00
Peter Penz
c436a142e8
Fixed issue that when clicking on Open Office files that Dolphin handles the files as zip-folder. I'm not sure whether there might be a nicer way doing this, but at least for KDE 4.0 this should be sufficient.
...
BUG: 153981
svn path=/trunk/KDE/kdebase/apps/; revision=748399
2007-12-14 11:45:11 +00:00
Peter Penz
26a15eb88e
Follow David's advice and use 'delete' instead of 'deleteLater()'. Disconnecting the signals from KDirLister solves a previous crash.
...
CCMAIL: faure@kde.org
svn path=/trunk/KDE/kdebase/apps/; revision=746428
2007-12-08 23:05:32 +00:00
Peter Penz
3a2a6011e8
don't forget to delete the proxy model
...
svn path=/trunk/KDE/kdebase/apps/; revision=746418
2007-12-08 22:42:13 +00:00
Peter Penz
54dfdc930a
fixed memory leaks (thanks to David for fixing this in KDirOperator)
...
svn path=/trunk/KDE/kdebase/apps/; revision=746294
2007-12-08 16:16:45 +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
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
Craig Drummond
ad74c99bbc
Fix parentless dialogs
...
svn path=/trunk/KDE/kdebase/apps/; revision=734288
2007-11-08 13:29:44 +00:00
Peter Penz
3b8c3c1b1e
Allow filtering of items also for the column view. A filtering of directories is not done yet, but with the latest updates of the column view this could be added now (but it's more a question whether we really want this...).
...
svn path=/trunk/KDE/kdebase/apps/; revision=723536
2007-10-09 22:32:54 +00:00
Peter Penz
29402a79bc
Refactored DolphinColumnWidget so that it does not need a hierarchical KDirLister. This simplifies the code a lot and also bypasses the current problems with the KDirLister cache when working on hierarchical directories in parallel. There are some minor regressions which will be fixed, but all in all some improvements are visible already:
...
- the loading of columns is a lot faster
- preview in columns is working
- no side effects in combination with the treeview-panel because of caching
svn path=/trunk/KDE/kdebase/apps/; revision=721678
2007-10-05 21:00:44 +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
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
1db9b6c3c4
fix filtering issues for views that show a directory hierarchy like a tree view or a column view: the directories should not get filtered
...
svn path=/trunk/KDE/kdebase/apps/; revision=716873
2007-09-25 13:16:17 +00:00
Peter Penz
3bf8fa5901
further root URL handling cleanups
...
svn path=/trunk/KDE/kdebase/apps/; revision=716789
2007-09-25 09:02:29 +00:00
Peter Penz
6fd52b51ac
assure that the restoring the column view cannot fail and replace the temporary 'if (...)-fix' by a Q_ASSERT again
...
svn path=/trunk/KDE/kdebase/apps/; revision=716711
2007-09-25 05:59:27 +00:00
Peter Penz
772a55aafc
Restore the root URL when navigating through the history (this is important for views like the column view where the root URL might differ from the current URL).
...
svn path=/trunk/KDE/kdebase/apps/; revision=716310
2007-09-24 13:50:31 +00:00
Rafael Fernández López
c8072005fa
Create the new architecture for KCategorizedView. Now DolphinModel is created, inheriting KDirModel for returning valid data for the role of the category of
...
an item. DolphinSortFilterProxyModel implements now methods lessThanCategoryMethod and lessThanGeneralMethod from KCategorizedSortFilterProxyModel.
The only thing that needs to be adapted is the keyboard navigation on the KCategorizedView.
CCMAIL: peter.penz@gmx.at
svn path=/trunk/KDE/kdebase/apps/; revision=713319
2007-09-17 04:02:17 +00:00
Robert Knight
578123d72a
Remove reference to a slot which does not exist. Almost identical code can be found in the DolphinView constructor, which does have an updateCutItems() slot.
...
svn path=/trunk/KDE/kdebase/apps/; revision=708828
2007-09-05 19:33:08 +00:00
David Faure
9c7ccd477a
Clicking on items in dolphin part finally implemented.
...
Fixed connect() error in dolphinstatusbar [unrelated].
svn path=/trunk/KDE/kdebase/apps/; revision=705835
2007-08-28 17:50:54 +00:00
Jeff Mitchell
7cd37f4747
Remove unnecessary parameter.
...
svn path=/trunk/KDE/kdebase/apps/; revision=700798
2007-08-16 13:22:18 +00:00
Jeff Mitchell
f8fa4e8df1
When renaming, use the actual name of the item (from the KFileItem) in the dialog.
...
svn path=/trunk/KDE/kdebase/apps/; revision=700054
2007-08-14 16:46:06 +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
7eef5ebec2
KUIT adaptions (applied i18ncheckarg - everything should be OK now)
...
CCMAIL: caslav.ilic@gmx.net
svn path=/trunk/KDE/kdebase/apps/; revision=686787
2007-07-12 06:10:54 +00:00
Peter Penz
ea3e000501
KUIT adaptions
...
svn path=/trunk/KDE/kdebase/apps/; revision=685432
2007-07-08 21:09:48 +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
5926d0fddd
* fixed issue that some view properties like "show in groups" are ignored when a new DolphinViewContainer has been created (happens on startup or when a view is split)
...
* get rid of redundant parameter in constructors of DolphinView and DolphinViewContainer
svn path=/trunk/KDE/kdebase/apps/; revision=677654
2007-06-19 16:35:52 +00:00
Peter Penz
65e8bdc4bc
take care for const-correctness
...
svn path=/trunk/KDE/kdebase/apps/; revision=675680
2007-06-14 17:46:12 +00:00
Peter Penz
862ceee323
fixed some activation issues in combination with split views
...
svn path=/trunk/KDE/kdebase/apps/; revision=674980
2007-06-13 17:08:39 +00:00
Peter Penz
293e65797a
Remember and restore position of viewport when reloading or going back in history (worked already before the DolphinView/DolphinViewContainer split). Minor open issue: the x-position of the Column View is reset to 0...
...
svn path=/trunk/KDE/kdebase/apps/; revision=673498
2007-06-10 11:46:41 +00:00
Peter Penz
3e66730d28
don't connect to slots which are not available anymore
...
svn path=/trunk/KDE/kdebase/apps/; revision=673397
2007-06-10 06:36:31 +00:00
Peter Penz
1e31a38af9
allow to drop items to the URL navigator again (this was accidentally disabled because of the DolphinView/DolphinViewContainer split)
...
svn path=/trunk/KDE/kdebase/apps/; revision=673254
2007-06-09 16:01:46 +00:00
Peter Penz
6dddb2e81c
added signals errorMessage(const QString&) and infoMessage(const QString&) for the DolphinView
...
svn path=/trunk/KDE/kdebase/apps/; revision=672944
2007-06-08 14:14:34 +00:00
Peter Penz
3a053415f9
enable progress information in statusbar again (has been disabled temporary because of the DolphinView/DolphinViewContainer split)
...
svn path=/trunk/KDE/kdebase/apps/; revision=672937
2007-06-08 14:02:34 +00:00
Peter Penz
dd70012499
enable hovering information in the status bar again (has been disabled temporary because of the DolphinView/DolphinViewContainer split)
...
svn path=/trunk/KDE/kdebase/apps/; revision=672931
2007-06-08 13:44:59 +00:00
Peter Penz
c6ab90e776
removed obsolete renaming code, which is not needed anymore due to the DolphinView/DolphinViewWidget split
...
svn path=/trunk/KDE/kdebase/apps/; revision=672696
2007-06-07 21:30:02 +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