David Faure
7b42d2d6cb
Fix RMB/paste on a subfolder (konq calls pasteTo(KUrl), as documented in BrowserExtension)
...
svn path=/trunk/KDE/kdebase/apps/; revision=1047090
2009-11-10 13:15:08 +00:00
David Faure
46e1d85f96
While reading this code, I noted that it didn't use KFileItemListProperties and was broken in the tree-view case -> fixed and simplified.
...
svn path=/trunk/KDE/kdebase/apps/; revision=1046935
2009-11-10 00:07:36 +00:00
David Faure
3a07a3e378
The redirection from zip to file wasn't appearing in konqueror because zip:/tmp/ != zip:/tmp
...
-> do comparison without trailing slash.
BUG: 207572
svn path=/trunk/KDE/kdebase/apps/; revision=1026289
2009-09-21 11:09:24 +00:00
Peter Penz
41c14c5f8e
I wanted to this for KDE 4.1 already, but well...
...
Columview refactoring: Get rid of "isColumnView()" special cases in DolphinView and the interface code duplications due to delegating non-QAbstractItemView interfaces to the column view. This reduces the code size + complexity a lot and will make future maintainance of the columnview and DolphinView a lot easier.
Currently there are some regressions in the column view, but this will be fixed during the next 14 days.
svn path=/trunk/KDE/kdebase/apps/; revision=1016776
2009-08-28 21:04:15 +00:00
Peter Penz
a70be712fd
Allow the revision control plugins to indicate information-, error- and operation-completed messages.
...
svn path=/trunk/KDE/kdebase/apps/; revision=1004346
2009-07-29 21:56:37 +00:00
David Faure
2df2d4ea7e
Same change as in r995015, but for usage in konq: Don't connect to KDirLister::itemDeleted(const KFileItem&), but KDirLister::itemsDeleted(const KFileItemList&).
...
svn path=/trunk/KDE/kdebase/apps/; revision=995123
2009-07-12 01:00:14 +00:00
David Faure
9b80bddc7b
We don't know the mimetype here, so better not set it at all, konq will determine it.
...
Better than setting inode/directory for everything due to the wrong S_IFDIR.
Fixes "foo is a file but a dir was expected" error when doing MMB on a file.
svn path=/trunk/KDE/kdebase/apps/; revision=950518
2009-04-07 12:45:02 +00:00
David Faure
402a17bf1f
KonqFileItemCapabilities -> KFileItemListProperties
...
svn path=/trunk/KDE/kdebase/apps/; revision=948007
2009-04-01 23:34:33 +00:00
Peter Penz
66ef40ec88
Use KNewMenu::createDirectory() instead of KonqOperations::newDir() when F10 has been pressed, so that the directory gets automatically selected afterwards.
...
CCMAIL: rahman.duran@gmail.com
svn path=/trunk/KDE/kdebase/apps/; revision=945037
2009-03-26 18:44:36 +00:00
Rahman Duran
bd2f7179de
BUG: 175658
...
GUI:
The remote encoding code adapted from Konqueror to Dolphin. Now user can change
encoding for remote urls like ftp. Konqueror doesn't use
KRemoteEncodingPlugin anymore. Instead, this feature is supplied to
Konqueror via DolphinPart.
svn path=/trunk/KDE/kdebase/apps/; revision=944659
2009-03-25 22:00:50 +00:00
Peter Penz
18f99bf84e
- Write the settings to the disk as soon as "Apply" or "OK" has been pressed inside a settings dialog.
...
- Assure that the settings are saved in the DolphinPart destructor for settings that are changed outside the settings dialog (e. g. by using Ctrl + mouse wheel for adjusting the icon size).
Thanks to Frank Reininghaus and David Faure for the analyses.
CCBUG: 175085
svn path=/trunk/KDE/kdebase/apps/; revision=942194
2009-03-21 11:49:10 +00:00
Peter Penz
396cb90a73
Assure that KNewMenu from DolphinPart attachs itself to the DolphinNewMenuObserver, so that newly created items get selected (DolphinNewMenu - which attachs itself automatically - cannot be used in DolphinPart).
...
CCMAIL: rahman.duran@gmail.com
svn path=/trunk/KDE/kdebase/apps/; revision=940628
2009-03-17 20:55:26 +00:00
Christian Ehrlicher
af49caa18e
a lot of more KUrl::path() -> KUrl::toLocalFile() changes (mostly after a check for KUrl::isLocalFile())
...
svn path=/trunk/KDE/kdebase/apps/; revision=939835
2009-03-15 20:20:33 +00:00
Frank Reininghaus
e8db076135
Call updatePasteAction() in DolphinPart::openUrl(). Fixes the problem that the paste action is disabled in Konqueror on startup.
...
BUG: 186482
svn path=/trunk/KDE/kdebase/apps/; revision=937598
2009-03-10 00:56:38 +00:00
David Faure
e989c0e239
Implement TODO - show the action "expandable folders" in the RMB popup over detailed listview.
...
svn path=/trunk/KDE/kdebase/apps/; revision=927297
2009-02-17 10:57:23 +00:00
Peter Penz
2f47863c68
- allow the view implementations to attach custom actions to the context menu
...
- let the "details view" show the "[x] Expandable Folders" action in the context menu
CCMAIL: faure@kde.org
svn path=/trunk/KDE/kdebase/apps/; revision=924867
2009-02-11 20:45:12 +00:00
David Faure
591fde8f4a
Don't crash if parentWidget is 0 (even though I don't recommend setting it to 0, the dirlister mainwindow won't be set if you reparent the widget later on)
...
BUG: 161681
svn path=/trunk/KDE/kdebase/apps/; revision=916972
2009-01-26 15:45:39 +00:00
Simon Paul St James
9aa43f8bae
Update the KPart host's status bar info when selection changes.
...
svn path=/trunk/KDE/kdebase/apps/; revision=913713
2009-01-19 19:11:38 +00:00
David Faure
9e6b85cd6e
Remove useless code, replaced with slotRedirection.
...
svn path=/trunk/KDE/kdebase/apps/; revision=912124
2009-01-16 18:47:40 +00:00
David Faure
f56446a61a
Repair redirections in DolphinPart, it used to notify of redirections by connecting to urlChanged,
...
but iirc there were recent changes which make dolphinview emit redirection instead of urlChanged in that case
Makes me wonder if urlChanged is still useful for anything?
CCMAIL: peter.penz@gmx.at
svn path=/trunk/KDE/kdebase/apps/; revision=911974
2009-01-16 13:21:33 +00:00
David Faure
76fa5aec6b
Konq popupmenu fix: we don't show the "Create new" submenu over subdirs in an iconview because you wouldn't see the just-created file/dir,
...
but let's show it in the case of the hiearchical details view ("folders expandable" option), since you can indeed see the new file/dir in that case. Peter: problem solved with itemsExpandable().
CCMAIL: peter.penz@gmx.at
svn path=/trunk/KDE/kdebase/apps/; revision=871109
2008-10-13 21:54:03 +00:00
Peter Penz
224f471a9f
update the statusbar and provide a progress information within the Dolphin KPart, so that Konqueror shows the same information as Dolphin (thanks to Simon St James for the patch!)
...
CCMAIL: faure@kde.org
svn path=/trunk/KDE/kdebase/apps/; revision=868210
2008-10-05 18:11:46 +00:00
Peter Penz
17dca27e61
use the global setting for the "Show Delete" command
...
CCMAIL: kde@randomguy3.me.uk
svn path=/trunk/KDE/kdebase/apps/; revision=843787
2008-08-07 21:44:35 +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
b5de4d8ffb
Don't disable the "Properties" action when no file is selected, just use the current folder as source. TODO: the code in DolphinPart::slotProperties() and DolphinMainWindow::properties() is quite similar -> move to DolphinViewActionHandler?
...
CCMAIL: faure@kde.org
BUG: 165311
svn path=/trunk/KDE/kdebase/apps/; revision=825846
2008-06-29 13:54:52 +00:00
Peter Penz
5b541d04e5
SVN_SILENT: removed unnecessary includes
...
svn path=/trunk/KDE/kdebase/apps/; revision=821923
2008-06-18 19:52:15 +00:00
David Faure
162436801d
Argh my last patch broke plugins. So revert 818988 and do it properly, for real this time :)
...
KPluginFactory can take the catalog name as second argument, this is the best fix.
CCMAIL: Chusslove Illich <caslav.ilic@gmx.net>
svn path=/trunk/KDE/kdebase/apps/; revision=818989
2008-06-10 09:15:19 +00:00
Chusslove Illich
e5840f23f9
Revert 818910 and do it properly (patch by dfaure).
...
svn path=/trunk/KDE/kdebase/apps/; revision=818988
2008-06-10 09:07:59 +00:00
David Faure
11bf9d8dbb
Another fix for redirections: "Create New" was missing from the konqpopupmenu when doing RMB on ftp://user@host, because after the redirection, part->url() was still the old url (so it didn't look like a popup opened for the current directory, in the konqpopupemenu code)
...
svn path=/trunk/KDE/kdebase/apps/; revision=818721
2008-06-09 11:59:15 +00:00
Peter Penz
3b8f32042f
fix crash when e. g. right clicking on a file using SMB inside Konqueror
...
BUG: 163358
svn path=/trunk/KDE/kdebase/apps/; revision=817974
2008-06-07 09:49:24 +00:00
David Faure
3d28c53564
When "move_to_trash" is disabled and "delete" is enabled (e.g. non-local files),
...
enable a hidden action with Key_Del as shortcut, so that the user can press Del to delete the file.
BUG: 76016
svn path=/trunk/KDE/kdebase/apps/; revision=817389
2008-06-05 22:25:07 +00:00
David Faure
008f524498
Move the "Create New" action (for the Edit menu, not for the context menu) to dolphinpart, so that
...
it doesn't appear while browsing the web [with a filemanagement profile initially]. The point is to
make the GUI sensible whatever initial profile was selected and hopefully get rid of konq-filemanagement.rc/konq-webbrowsing.rc.
svn path=/trunk/KDE/kdebase/apps/; revision=817326
2008-06-05 19:19:14 +00:00
David Faure
38beff1a4b
Continue cleaning up the menus of "konqueror as a webbrowser" : moved "Tools / Open Terminal" action to DolphinPart.
...
Thanks to Kevin for reminding me of this one.
svn path=/trunk/KDE/kdebase/apps/; revision=816632
2008-06-04 11:51:54 +00:00
George Goldberg
0a3a481ee2
Fix the edit-menu action disabling/enabling bug in dolphinpart finally! Also, move FileItemCapabilities from dolphin to KonqFileItemCapabilities at dfaure's request (making it implicitly shared along the way).
...
BUGS:161594
svn path=/trunk/KDE/kdebase/apps/; revision=815584
2008-06-02 10:07:13 +00:00
George Goldberg
6c24907d28
dolphin part context menu now displays delete and not send to trash for remote files. (Makes behaviour same is in dolphin itself).
...
CCBUGS: 161594
svn path=/trunk/KDE/kdebase/apps/; revision=815519
2008-06-02 02:57:22 +00:00
George Goldberg
df7c2385ec
Fix dolphinpart context menu so that the delete/rename/send to trash options are disabled when the directory containing the selected files/dirs is not writable.
...
CCBUGS: 161594
Issues remaining: Send to trash should be disabled on remote files (and replaced with delete) and edit menu of konqueror still has the actions like cut/delete/rename always enabled.
svn path=/trunk/KDE/kdebase/apps/; revision=815517
2008-06-02 02:50:36 +00:00
David Faure
707f9a9409
Handle redirections (e.g. from fish://localhost) without breaking the column view -- thanks Peter for the advice on how to separate the two cleanly.
...
svn path=/trunk/KDE/kdebase/apps/; revision=813954
2008-05-28 23:07:09 +00:00
Peter Penz
d4287eb8e3
allow Konqueror to open also files inside a new tab, not only directories
...
CCMAIL: faure@kde.org
svn path=/trunk/KDE/kdebase/apps/; revision=805184
2008-05-07 20:02:37 +00:00
David Faure
ba509a3be3
Re-enable name filtering (e.g. /home/dfaure/*.txt) in konqueror
...
svn path=/trunk/KDE/kdebase/apps/; revision=804094
2008-05-05 00:42:33 +00:00
David Faure
5ad129ac78
Ooops, fix name of componentdata so that the dolphinpart GUI is found again.
...
svn path=/trunk/KDE/kdebase/apps/; revision=804036
2008-05-04 21:15:14 +00:00
David Faure
439fa3c474
don't allow to trash files which are inside trash:/ already
...
svn path=/trunk/KDE/kdebase/apps/; revision=801853
2008-04-27 22:35:49 +00:00
Peter Penz
2a4f4c4b9c
provide middle-mouse-button support for Konqueror (= create new window or tab)
...
CCMAIL: faure@kde.org
svn path=/trunk/KDE/kdebase/apps/; revision=800298
2008-04-23 20:57:58 +00:00
David Faure
fcafd387f7
Ported dolphinpart to K_PLUGIN_FACTORY
...
Ported konqueror's part loading to KPluginLoader. Factorized some code into a tryLoadingService.
If you miss some khtml actions, update kdelibs/kdecore/util.
svn path=/trunk/KDE/kdebase/apps/; revision=798291
2008-04-17 21:49:53 +00:00
David Faure
71b626b358
Load plugins at the end of the ctor, so that everything is set up already. Will improve the Part API to make this easier.
...
svn path=/trunk/KDE/kdebase/apps/; revision=795466
2008-04-10 11:51:30 +00:00
Laurent Montel
60f40aaa4d
Readd as in libkonq "part" this signal ""aboutToOpenURL""
...
used to signal to plugins kdirfilter that url changed
svn path=/trunk/KDE/kdebase/apps/; revision=795079
2008-04-09 07:02:55 +00:00
Peter Penz
03f4481bdf
assure that the Dolphin KPart inside Konqueror gets updated when the settings are changed
...
svn path=/trunk/KDE/kdebase/apps/; revision=792496
2008-04-01 11:00:27 +00:00
Rafael Fernández López
7244399154
Fix a crash when right clicking on the viewport and no items selected.
...
CCMAIL: edulix@gmail.com
svn path=/trunk/KDE/kdebase/apps/; revision=782768
2008-03-05 22:25:01 +00:00
Norbert Frese
7a1992e86b
Make Konqueror and Dolphin use the new KFileItem::targetUrl() method.
...
svn path=/trunk/KDE/kdebase/apps/; revision=782396
2008-03-05 00:17:53 +00:00
Eduardo Robles Elvira
488ab56d0a
Bugfix for konqueror for in dolphin: open in new tab/window opens one of the selected files
...
(See email sent to kfm-devel for details)
CCMAIL:kfm-devel@kde.org
svn path=/trunk/KDE/kdebase/apps/; revision=782282
2008-03-04 19:14:15 +00:00
Bill Egert
ff32f4c1c4
No longer use Obsolete Member for QWidget:
...
topLevelWidget() => window()
svn path=/trunk/KDE/kdebase/apps/; revision=776408
2008-02-18 01:06:50 +00:00