┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphincontextmenu.cpp
AgeCommit message (Collapse)Author
2015-02-04Port KonqCopyToMenu to KFileCopyToMenuEmmanuel Pescosta
2015-01-28use addActions instead of doing addAction in a loopEmmanuel Pescosta
2014-12-25Remove unused libkonq includesDavid Faure
2014-12-14get rid of KFileItemActionPluginEmmanuel Pescosta
2014-12-14port away from deprecated KFileItem(mode_t mode, mode_t permissions, const ↵Emmanuel Pescosta
QUrl &url, bool delayedMimeTypes = false);
2014-11-02Many cleanups in KonqOperationsDavid Faure
2014-10-21Dolphin: port to KIO::pasteInfoText().David Faure
DolphinContextMenu::createPasteAction used to be precise about destination ("Paste To Folder"), while now it's precise about the source (what to paste). It was decided that this was more useful and consistent anyway. REVIEW: 120695
2014-10-21port away from KMimeTypeLukáš Tinkl
2014-10-21port Dolphin from KUrl to QUrlLukáš Tinkl
REVIEW: 120688
2014-10-18Fix includesMontel Laurent
2014-10-18Fix includesMontel Laurent
2014-10-10Clean includes + port to QMenuMontel Laurent
2014-10-07kdelibs4support--Montel Laurent
2014-10-01Ported Dolphin away from KStandardDirsEmmanuel Pescosta
removed unused mirroredDirectory method REVIEW: 120194
2014-09-09Add "Open Path" context menu actionKai Uwe Broulik
This adds a third option to the "in new tab" and "in new window" which opens the parent folder in the same view BUG: 298704 FIXED-IN: 4.15 REVIEW: 110133
2014-08-21Remove KonqOperations::emptyTrash() and port to KIO::emptyTrash() instead.David Faure
2014-08-19Port from KonqOperations::restoreTrashedItems to KIO::restoreFromTrash.David Faure
2014-08-13Port from KonqMimeData to KIO::isClipboardDataCut/setClipboardDataCutDavid Faure
2014-06-29Remove the automoc noiseChristophe Giboudeaux
2014-06-12Merge remote-tracking branch 'origin/master' into frameworksFrank Reininghaus
Conflicts: dolphin/src/dolphincontextmenu.cpp dolphin/src/panels/folders/treeviewcontextmenu.cpp
2014-06-12Do not crash if QApplication::clipboard()->mimeData() is a null pointerFrank Reininghaus
This removes the remaining unchecked accesses to the clipboard mime data after commit 7828b057da0491f1b08bfaec681067e195d7b6ca. According to a bug report, it can be a null pointer on Wayland. BUG: 335053 REVIEW: 118649
2014-05-05KIcon -> QIcon and KMimeType::iconNameForUrl() -> KIO::iconNameForUrl()Alex Richardson
2014-05-05dolphin: convert the remaining code to Qt5 signal/slot syntaxAlex Richardson
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-05Allow compiling Dolphin with KF5Alex Richardson
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
2013-11-21Make the "Create New..." menu in the "item context menu" work againFrank Reininghaus
Since https://git.reviewboard.kde.org/r/111989/, the "Create New..." menu in the context menu that appears when right-clicking a folder was not a child of the DolphinMainWindow any more, but of the context menu itself. This is the reason why the dialog that asks for a file name when choosing one of the "Create New..." options disappeared immediately. This patch makes sure that the main window is the parent of the "Create New..." menu again. BUG: 327783 REVIEW: 113930
2013-08-28Replaced all KNewFileMenu usages in DolphinPart by DolphinNewFileMenu.Emmanuel Pescosta
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-16Cut the ropes between DolphinMainWindow and DolphinNewFileMenu. Error ↵Emmanuel Pescosta
handling is now done via signals. REVIEW: 111989
2013-06-24Do not show "Move To Trash" action in context menu for remote URLs.Dawit Alemayehu
BUG: 261762 REVIEW: 111206 FIXED-IN: 4.11
2013-06-21Revert "Hide context menu plugins unless enabled by default or by the user"Sune Vuorela
This reverts commit b1aebb44d6863951841d857b84253a782d4138dc. As agreed with Frank on k-c-d.
2013-06-04Bug 196035 - middle clicking on archive files in dolphin does not open them ↵Emmanuel Pescosta
in a new tab When 'browse through archives' is enabled, open archive files like folders on middle clicking, context menu -> new tab action and context menu -> new window action. BUG: 196035 REVIEW: 110487
2013-05-29Hide context menu plugins unless enabled by default or by the userFrank Reininghaus
REVIEW: 110685
2013-05-22Added the "Open in new Tabs" action to the Dolphin Context menu.Emmanuel Pescosta
BUG: 312296 REVIEW: 110371 FIXED-IN: 4.11.0
2013-05-14- Factored out the Delete/Move To Trash action into own class.Dawit Alemayehu
- 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-05Reimplement handling of Shift while showing menu without KModifierKeyInfoDavid Faure
Finding out whether shift is pressed initially can be done with qApp->keyboardModifiers(), and finding out that the user is pressing or release shift can be done with keyPressEvent/keyReleaseEvent. This required to inherit from KMenu rather than having the KMenu as a member. KModifierKeyInfo is only implemented on X11, so this makes the code more portable. If similar solutions can be found for other users of KModifierKeyInfo, it will be deprecated in KF5. REVIEW: 110303
2012-07-10Use the right name when adding a folder to Places with the context menuFrank Reininghaus
Without this patch, the name of the parent folder was used for the entry in the Places Panel. Will backport to the KDE/4.9 branch when the RC2 freeze is over. Thanks to Daniel Kreuter for the patch! CCBUG: 303157
2012-06-02Provide a default name when adding a search query to the places panelPeter Penz
BUG: 300430 FIXED-IN: 4.9.0
2012-06-02Use PlacesItemModel instead of KFilePlacesModelPeter Penz
This allows inserting items to the corresponding group.
2012-05-29Get rid of obsolete DolphinPlacesModelPeter Penz
2012-05-11Allow moving items to trash also for non-local filesPeter Penz
See bug 188032 for an ongoing discussion. In case if this behavior is really not wanted by users (the feedback on bugs.kde.org will show), the review-request https://git.reviewboard.kde.org/r/104915/ should be merged too (after adjusting some parts of the code).
2012-01-14Fix issue when deleting items with the context menuPeter Penz
Thanks to Jekyll Wu for the analyses of the issue! BUG: 290307 BUG: 269096 BUG: 290954 BUG: 264583 FIXED-IN: 4.8.0
2011-11-06Delete obsolete class DolphinSettingsPeter Penz
2011-10-08Context menu cleanupsPeter Penz
- 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-07-31normalize signals/slotsMontel Laurent
2011-07-30Merged very early alpha-version of Dolphin 2.0Peter Penz
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-04-26Don't ask twice whether the trash should get emptiedPeter Penz
Thanks to Casey Jones for the patch! BUG: 265785 FIXED-IN: 4.7.0
2011-04-10DolphinContextMenu: Set the properties action from actionCollectionPeter Penz
Patch has been provided by Alex Fiestas at https://git.reviewboard.kde.org/r/101076/ CCMAIL: [email protected]
2011-03-27DolphinContextMenu: Show "Show menubar" entry if necessaryPeter Penz
If the user has hidden the menubar and the toolbar there is no way to get back the menu (at least not without knowing the Ctrl+M shortcut). Show an entry in the context-menu to bring back the menubar.
2011-03-26Provide toolbar-menu when the menubar is hiddenPeter Penz
Use a similar default UI like in Rekonq and other browsers: Hide the menubar and add access to all actions by a button in the toolbar. Of course it is still possible to show the menubar so that the same UI is given like before.
2011-02-11DolphinContextMenu: cleanup includesPeter Penz
2011-02-10revert ed4f9d3e11e66dd5ef136c3fac874ac5f53ec91aChristoph Thielecke