┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphincontextmenu.cpp
AgeCommit message (Collapse)Author
2016-10-02Popupmenu: use KIO 5.27's new addPluginActionsTo methodDavid Faure
REVIEW: 129085
2016-09-10Don't load twice kfileitemaction plugins with json metadataElvis Angelaccio
2016-09-10Fix logic for loading kfileitemaction pluginsElvis Angelaccio
Since dolphin is now loading also plugins with json metadata, it is wrong to return here, as those plugins could be missed.
2016-08-23Filter json-only KFileItemAction plugins by mimetypeElvis Angelaccio
Commit d48b733 introduced support for kfileitemaction plugins with json metadata, but forgot to filter them by the commonMimeType (like KMimeTypeTrader::query() does with old-style plugins). So we need to load a plugin only when commonMimeType is equal to (or child of) one of the mimetypes supported by the plugin.
2016-06-18Look for kfileitemaction plugins in the expected subfolderElvis Angelaccio
For a rationale, see https://git.reviewboard.kde.org/r/128225/
2016-06-08Load KFileItemAction plugins with json metadataElvis Angelaccio
REVIEW: 128088
2016-03-16[CLAZY] Fixed all level 1 and level 2 warnings with small exceptionsArtur Puzio
REVIEW: 126771
2016-02-10DolphinContextMenu: Do not check if the clicked folder is in the PlacesFrank Reininghaus
This prevents that the setup of the PlacesItemModel queries Solid for the available devices, which can take some time. Places can be added multiple times now using the context menu, but this has always been possible with drag and drop anyway. See https://forum.kde.org/viewtopic.php?f=223&t=130617 for a dicsussion on this topic. REVIEW: 126904
2015-03-21Save bookmarks when adding them via the context menu.Emmanuel Pescosta
CCBUG: 345347 REVIEW: 123080
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