Commit graph

212 commits

Author SHA1 Message Date
Emmanuel Pescosta
8d7c1a6678 Port KInputDialog to QInputDialog 2014-12-14 19:05:53 +01:00
Emmanuel Pescosta
6202dbcf4a Remove K_EXPORT_PLUGIN 2014-12-14 18:58:57 +01:00
Emmanuel Pescosta
a07d63d419 port away from deprecated KFileItem(mode_t mode, mode_t permissions, const QUrl &url, bool delayedMimeTypes = false); 2014-12-14 17:46:58 +01:00
Emmanuel Pescosta
d0f0f1f2e2 make use of initializer lists 2014-11-10 08:45:38 +01:00
Lukáš Tinkl
037d5db85b Q_DECL_OVERRIDE 2014-11-03 23:52:18 +01:00
David Faure
3e14a97a0f Many cleanups in KonqOperations 2014-11-02 17:03:18 +01:00
Lukáš Tinkl
1b4572dac9 port Dolphin from KUrl to QUrl
REVIEW: 120688
2014-10-21 21:19:14 +02:00
David Faure
403f8e7133 Port from KonqOperations::editMimeType to KMimeTypeEditor::editMimeType (from kwidgetsaddons) 2014-10-21 00:38:39 +02:00
Lukáš Tinkl
d9d7926c49 port Konqueror from KUrl to QUrl
REVIEW: 120650
2014-10-21 00:28:58 +02:00
Montel Laurent
0a6257bce3 Fix includes 2014-10-18 15:00:17 +02:00
Montel Laurent
31a0c4fbd5 Fix includes 2014-10-18 14:42:41 +02:00
Montel Laurent
6f6b1bbb69 Clean includes + port to QMenu 2014-10-10 23:36:36 +02:00
Montel Laurent
5c1420fec9 kdelibs4support-- 2014-10-07 07:38:16 +02:00
Christoph Cullmann
e02e55fd71 simple setShortcuts => setDefaultShortcuts porting 2014-09-14 22:49:25 +02:00
Hrvoje Senjan
ee92e7a8b9 Adjust to changes in KAboutData 2014-05-14 18:04:38 +02:00
Alex Richardson
00ee5d6727 dolphin: convert the remaining code to Qt5 signal/slot syntax
Middle clicking on Forward/Backward/Home/etc. will no longer open a new
tab since the QAction triggered signal no longer tell us which mouse
button was pressed
2014-05-05 23:05:34 +02:00
Alex Richardson
693bf89f2e KParts::ReadOnlyPart::openUrl() changed from KUrl parameter to QUrl 2014-05-05 23:05:33 +02:00
Alex Richardson
2f045c6010 Allow compiling Dolphin with KF5
This does not work properly yet, there are probably quite a few bad signal/
slot connections due to KUrl -> QUrl. However dolphin starts without
crashing.

Accessibility is not ported since that changed quite a lot from Qt4 -> Qt5
and I have no idea how it is supposed to be used.

This is the first commit for review 117395
2014-05-05 23:05:13 +02:00
Dawit Alemayehu
e3b840e4aa Moved all the extension code into dolphinpart_ext.*
REVIEW: 113132
2013-10-12 13:33:42 -04:00
Emmanuel Pescosta
a4ef4bbfde Replaced all KNewFileMenu usages in DolphinPart by DolphinNewFileMenu.
Removed all signal-slot-connections related to DolphinNewFileMenu->errorMessage(QString)
in DolphinMainWindow and DolphinContextMenu and replaced it by a better solution.

Now we make use of the already existing DolphinNewFileMenuObserver singleton class to achieve a better
error handling, because every newly created DolphinContextMenu instance registers himself by DolphinNewFileMenuObserver
and we use this to connect the errorMessage(QString) signal of every DolphinContextMenu instance to the errorMessage(QString)
signal of the DolphinNewFileMenuObserver singleton class.

So we need only one connection from DolphinNewFileMenuObserver to DolphinMainWindow (or to DolphinPart) to
collect all error messages thrown by every DolphinNewFileMenu instance.

REVIEW: 112178
2013-08-28 18:46:45 +02:00
Fabio D'Urso
bfb10355c9 dolphin: Show full file info in statusbar when only one file is selected
The purpose of this change is to give the user a chance to see hover
file information if it doesn't fit in the status bar, by allowing to
click on the file and hover on the status bar.

As it's now possible to have status bar texts starting with "<qt>",
DolphinPart::updateStatusBar() must escape strings. Otherwise,
filenames such as "<qt>Tes<font color=red>t" would be rendered as HTML
data in konqueror's status bar when selected.

BUG: 260717
FIXED-IN: 4.12.0
REVIEW: 111934
2013-08-18 22:08:28 +02:00
Fabio D'Urso
254ab4b579 DolphinPart: Use Qt::convertFromPlainText instead of Qt::escape for filenames
Unlike escape, convertFromPlainText preserves whitespace sequences

CCBUG: 321778
REVIEW: 111835
2013-08-05 01:47:23 +02:00
Fabio D'Urso
29013ed214 Don't let HTML-like filenames be interpreted as HTML strings
So that filenames that look like HTML don't get fancy-formatted when
we show info about them (i.e. on hover)

This patch fixes the same issue in two places:
 - dolphin, by setting Qt::PlainText on the status bar's label
 - konqueror, by escaping setStatusBarText strings emitted by
   DolphinPart

BUG: 321778
FIXED-IN: 4.11.0
REVIEW: 111746
2013-07-29 11:21:55 +02:00
Dawit Alemayehu
d72f5d2db7 Do not show "Move To Trash" action in context menu for remote URLs.
BUG: 261762
REVIEW: 111206
FIXED-IN: 4.11
2013-06-24 22:41:53 -04:00
Dawit Alemayehu
01761798a9 - Factored out the Delete/Move To Trash action into own class.
- Updated both the Dolphin KPart and context menu to use the new
  DolphinRemoveAction class to manage "Delete/Move to Trash" actions.

See also https://git.reviewboard.kde.org/r/107509/.

REVIEW: 108802
2013-05-14 08:37:21 -04:00
Emmanuel Pescosta
3535a20207 Fix Bug 304299 - Dolphin launches multiple instances of a program when multiple files are selected
BUG: 304299
REVIEW: 107305
2012-12-13 22:54:09 +01:00
Dawit Alemayehu
399c4b22ea Corrected the compile fix commit, rev 965fc6b3.
(cherry picked from commit 1e45cb9019)
2012-09-15 14:41:06 -04:00
Dawit Alemayehu
fa36040a9a Fix compile against the minimum required kdelibs version (v4.7.97)
(cherry picked from commit f0d5e062bf)
2012-09-11 16:57:51 -04:00
Dawit Alemayehu
2da3823b74 Implemented the new KParts extension, KParts::ListingiNotificationExtension.
REVIEW: 106333
(cherry picked from commit acef4b1c28)
2012-09-07 08:54:14 -04:00
Dawit Alemayehu
055ad286aa Implemented the new KParts' listing filter extension, KParts::ListingFilterExtension.
REVIEW: 106289
(cherry picked from commit cb79ee6a88)
2012-09-05 11:31:38 -04:00
Weng Xuetian
864495f661 Make --select can automatically scroll to the selected file.
REVIEW: 106209
2012-08-27 13:58:46 -04:00
Dawit Alemayehu
b80aed4e9f Show the "Find File" and "Open Terminal" actions in the Tools for file URLs only.
BUG: 279283
FIXED-IN: 4.9.0
REVIEW: 105607
(cherry picked from commit 9a622c16d9)
2012-07-22 17:30:18 -04:00
Dawit Alemayehu
47d7cdffdd Fixed the signal connection that emits completed in Dolphin's KPart 2012-04-17 19:57:12 -04:00
Peter Penz
40c71d5ce0 KFileItemModel: interface cleanups
Fix some naming inconsistencies regarding the usage of 'dir' vs.
'directory' vs. 'folder'.
2012-04-11 21:53:45 +02:00
Peter Penz
b28a5a6248 Minor API-cleanups for DolphinView 2012-04-11 16:43:11 +02:00
Peter Penz
6c3d9acbc2 KItemViews: Internal directory restructuration
- Move all private headers from the kitemviews-directory into
the 'private' subdirectory.

- Get rid of DolphinDirLister and just use a directory-lister
  internally in KFileItemModel.

- Minor interface-cleanups for signals
2012-04-11 16:08:32 +02:00
Peter Penz
e283a9f7d9 Synchronize view-mode settings before the settings dialog gets opened
BUG: 292698
FIXED-IN: 4.8.1
2012-01-30 16:38:24 +01:00
Peter Penz
3c77ffe832 Delete obsolete class DolphinSettings 2011-11-06 11:59:26 +01:00
Peter Penz
6551c000fc Context menu cleanups
- Open the context menu on the mouse-press event, not on the
  mouse-release event.
- Provide an explicit position-information and don't use
  QCursor::pos(). This fixes the issue that opening a context-menu
  by the keyboard opens below the cursor.
- Provide different signals in the KItemListController for
  the different context-menu types (item vs. view vs. header).
- Implement turning on/off roles by the header-context-menu.
2011-10-08 21:43:55 +02:00
Peter Penz
1b88652b85 Renamed some signals for consistency with KItemViews classes 2011-08-29 20:14:33 +02:00
Montel Laurent
08d655c2bc normalize signals/slots 2011-07-31 13:33:56 +02:00
Peter Penz
f23e9496f3 Merged very early alpha-version of Dolphin 2.0
Dolphin 2.0 will get a new view-engine with the
following improvements:
- Better performance
- Animated transitions
- No clipped filenames due to dynamic item-sizes
- Grouping support for all view-modes
- Non-rectangular selection areas
- Simplified code for better maintenance

More details will be provided in a blog-entry during
the next days.

Please note that the code is in a very
early alpha-stage and although the most tricky parts
have been implemented already very basic things like
drag and drop or selections have not been pushed yet.
Those things are rather trivial to implement but this
still will take some time.
2011-07-30 20:13:41 +02:00
Peter Penz
426aac2eab Readd KFind shortcut for the Dolphin KPart
When the searching has been integrated into Dolphin the "Find File..."
entry had been removed from the Tools menu. Readd it into the Dolphin
KPart so that it is still available for Konqueror.

BUG: 270072
FIXED-IN: 4.7.0
2011-04-10 18:36:24 +02:00
Christoph Thielecke
12324da326 revert ed4f9d3e11 2011-02-10 10:59:35 +01:00
Christoph Thielecke
ee0f3435b2 compile fix: includes does only exist with old names, please fix kde headers too 2011-02-10 08:58:24 +01:00
Peter Penz
ceba0f6f6a Use capitalized includes of recently committed kdelibs headers 2011-02-09 18:42:04 +01:00
Peter Penz
8eb9b508ca Use capitalized KDE includes 2011-02-04 15:43:21 +01:00
Peter Penz
fae8ba471b Encapsulate the creation and handling of the directory lister, the model and proxy model to DolphinView. By this it will be easier later to replace the traditional QAbstractItemViews by any kind of other implementation (e.g. based on QGraphicsView/QML).
svn path=/trunk/KDE/kdebase/apps/; revision=1213189
2011-01-09 13:58:35 +00:00
Peter Penz
7e311509a4 Interface cleanup: The DolphinView should not expose QAbstractItemView-specific things like QItemSelectionModel. Just providing interfaces for KFileItem and KUrl will make it easier in future to change the view-implementations internally to QML-specific itemviews or whatever.
svn path=/trunk/KDE/kdebase/apps/; revision=1193113
2010-11-04 17:27:11 +00:00
Dawit Alemayehu
0ad893ae2b Added implementation of the FileInfoExtension to allow KPart plugins to obtain such information
svn path=/trunk/KDE/kdebase/apps/; revision=1191993
2010-11-01 16:56:47 +00:00
Peter Penz
55739979a8 KDirModel takes ownership of the directory lister, so don't delete the directory lister manually.
BUG: 196681

svn path=/trunk/KDE/kdebase/apps/; revision=1176325
2010-09-17 11:24:06 +00:00
David Faure
12f15322b3 Move dolphin's statusbar message-label (the one with support for errors and a close button) to libkonq
so that it can be used in konqueror as well. Fix its sizeHint. Reviewed by Peter Penz.

svn path=/trunk/KDE/kdebase/apps/; revision=1169901
2010-08-30 08:56:19 +00:00
Peter Penz
09e1cc4d77 Context-menu cleanups:
- KNewMenu has been deprecated by KNewFileMenu. Reflect this in the names of related Dolphin classes.
- Provide context-sensitive actions also when a context-menu is opened on the viewport

BUG: 191938
FIXED-IN: 4.6.0

svn path=/trunk/KDE/kdebase/apps/; revision=1168586
2010-08-27 05:26:27 +00:00
Peter Penz
a5cf21ff06 Sourcecode hierarchy cleanup: Move further files from src to src/views
svn path=/trunk/KDE/kdebase/apps/; revision=1154150
2010-07-24 22:08:30 +00:00
Peter Penz
652d08c924 Sourcecode hierarchy cleanup: Create folder "views" and move view related sources to it
svn path=/trunk/KDE/kdebase/apps/; revision=1154146
2010-07-24 21:45:49 +00:00
David Faure
d8bdb736da Fix another problem with the network:/ ioslave: don't keep the mimetype when clicking on an item with a target_url
svn path=/trunk/KDE/kdebase/apps/; revision=1147967
2010-07-09 13:15:02 +00:00
Peter Penz
ea3eb39160 Fix compilation on OpenSolaris with Sun Studio
Thanks to Tropikhajma for the patch!

BUG: 230251

svn path=/trunk/KDE/kdebase/apps/; revision=1103145
2010-03-14 13:18:09 +00:00
Frank Reininghaus
af46cf7666 Remove all code that is related to DolphinController's
requestUrlChange signal. This signal was removed in r1080351, so the
code isn't needed any more.

svn path=/trunk/KDE/kdebase/apps/; revision=1095213
2010-02-23 20:34:33 +00:00
David Faure
0837da2d42 Separate the parent object (for the knewfilemenu instance) and the parent widget
(for dialogs it might pop up) so that we can use a non-widget parent.
BUG: 218743

svn path=/trunk/KDE/kdebase/apps/; revision=1087087
2010-02-08 14:27:58 +00:00
David Faure
c3584e3101 Implement the --select option in konqueror again, using Peter's nice work in Dolphin.
While at it, I reworked the handling of command-line options in main completely,
to factorize code and make --select do the right thing even in case of multiple args
(wasn't supported in kde3).

svn path=/trunk/KDE/kdebase/apps/; revision=1081246
2010-01-27 23:55:55 +00:00
David Faure
ad85be955b Deprecated KNewMenu and make it derive from KNewFileMenu (BIC, but SC; the only way to avoid duplicating code until kde5)
Port all of kdebase' use of KNewMenu to KNewFileMenu.
Also port from KonqNameAndUrlInputDialog to KNameAndUrlInputDialog,
and from KonqMenuActions to KFileItemActions in dolphincontextmenu.cpp

svn path=/trunk/KDE/kdebase/apps/; revision=1080547
2010-01-26 12:04:56 +00:00
Peter Penz
bf14f1f47d add version control actions to konqueror context menu if availableolActions()
svn path=/trunk/KDE/kdebase/apps/; revision=1065348
2009-12-23 08:51:33 +00:00
Frank Reininghaus
ab39a59520 Restore the "Edit->Selection" menu from Konqueror 3 for file
management. It includes the actions "Select All" and "Select Items
Matching a Pattern".

This feature will be in KDE 4.4.

FEATURE: 197536

svn path=/trunk/KDE/kdebase/apps/; revision=1053976
2009-11-25 08:46:04 +00:00
David Faure
f2c315a147 Warn when the unsuspecting user is about to create a directory that starts with a dot,
like Sabine's ".csv test files" folder, which did not appear in the directory view
after being created.


svn path=/trunk/KDE/kdebase/apps/; revision=1051124
2009-11-18 22:27:31 +00:00
Frank Reininghaus
487215f0c4 When navigating back/forward in the DolphinPart inside Konqueror, remember
1. the current item,
2. the scroll position of the view, and
3. the expansion state of the details view.

Before 3. can be implemented in Dolphin itself, some changes in
KUrlNavigator are required.

This fix will be in KDE 4.4.

BUG: 193549
BUG: 198073
BUG: 213137

svn path=/trunk/KDE/kdebase/apps/; revision=1049164
2009-11-14 15:51:47 +00:00
David Faure
5c4b82b8da Cheat a bit with the root item: give it the view URL, rather than the dirlister url
(e.g. because KDirLister now resolves symlinks)
CCBUG: 213799

svn path=/trunk/KDE/kdebase/apps/; revision=1048853
2009-11-14 01:51:08 +00:00
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