┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
AgeCommit message (Collapse)Author
2023-11-30Fix building with activities after the kactivities -> plasma-activities renameAntonio Rojas
2023-11-23Port to KF6 rename of KUserFeedbackJonathan Esk-Riddell
2023-11-21views: Use scene devicePixelRatio rather than qAppKai Uwe Broulik
When possible, use the devicePixelRatio from the scene which on Wayland unlike the QApplication will properly support fractional scaling. A KItemViewsUtils class is introduced that can be reused elsewhere.
2023-11-08Port away from KMoreToolsNicolas Fella
The idea behind KMoreTools was to point the user at external tools for a given job. It provides a rather complex framework for that, including suggesting not-yet-installed tools. The UX behind that isn't great though, which somewhat deep menu hierarchies and a somewhat arbitrary list of tools. Most KDE apps have moved away from it, with only Dolphin remaining. Instead provide direct integration with relevant KDE tools (Filelight, KDiskFree, KFind)
2023-11-08Master is qt6 only. Not necessary to use ${QT_MAJOR_VERSION} now.Laurent Montel
Remove qt5 specific cmake code too
2023-10-07Adapt to new KBookmarksWidgets libraryNicolas Fella
2023-08-23Merge branch 'master' into kf6Méven Car
2023-08-23Re-Allow to set settings in Settings-> View-> General pageMéven Car
Regressed in 489b56b68bb29e81337e115c490eea4403001b71 Simplify implementation by sharing making class ViewSettingsPage implement SettingsPageBase sharing implementation with other tabs in viewsettingspage
2023-08-18Dolphin settings revampDimosthenis Krallis
It includes a move of the settings in the Navigation and Startup sections to the Interface (formerly Behavior) section. It also includes a new tab in the View (formerly View Mode) section, called General where some settings regarding Display style, Browsing and Miscellaneous settings The Interface section has new tabs named Folders & Tabs and Status & Location bars respectively where most of the Startup and Navigation settings moved. The `dolphin/kcms/kcm_dolphinnavigation` kcm is removed.
2023-08-11Fix musl build by using fts_* from external libraryBart Ribbers
musl does not support fts. There is however a standalone package that can be used, but it must be linked against. This commit adds a check that makes sure to link to the external library if it is required.
2023-07-09Replace ServiceItemDelegate with standard Qt item delegateNicolas Fella
We don't need a custom delegate here Using the standard one from Qt also slightly improves margins
2023-06-28Merge branch 'master' into kf6Méven Car
2023-06-13Settings Add ViewModes > Content displayMéven Car
This does not move the settings location in files though. baby step for https://invent.kde.org/system/dolphin/-/issues/36
2023-05-09Fix dolphinvcs_export.h export pathMéven Car
2023-05-09Ensure good export of dolphinvcs headersMéven Car
2023-05-08Revert "partially Improve kuserfeedback import"Méven Car
This reverts commit 047bf33d9050b89243479adb22aaa354b10878a4.
2023-05-08Improve kuserfeedback importMéven Car
2023-05-07Port to Qt6Méven Car
2023-03-04Use separate KMoreTools libraryAlexander Lohnau
2023-03-04Remove deprecated ConfigurePreviewPluginDialogDāvis Mosāns
2023-03-04Rename KF5 to KF6Dāvis Mosāns
2023-02-14Revert "Remove deprecated ConfigurePreviewPluginDialog"Méven Car
This reverts commit d8de1c37e525580143c60bcd16aee3e7640890f1.
2023-02-10Remove deprecated ConfigurePreviewPluginDialogDāvis Mosāns
2023-01-15Add missing KCodecs linkNicolas Fella
2022-12-30Properly use X11 startup idsNicolas Fella
When one instance of Dolphin activates another it passes a startupId (X11) / activation token (wayland) along. On X11 this is passed using the DESKTOP_STARTUP_ID environment variable. The code tries to read that through KStartupInfo::startupId(). That doesn't work though, since Qt at startup reads the environment variable afterwards. However, it is nice enough to allow us to access it through QX11Info::nextStartupId(). Use that to read the token in the first instance and pass it to the second instance like we do on Wayland The user-facing impact of this is minimal since KStartupInfo::setNewStartupId internally falls back to KWindowSystem::forceActiveWindow when no startupId is passed.
2022-10-11Show all includes in qtc6Laurent Montel
2022-08-14Better separation of classesFelix Ernst
Make obvious when actions trigger selection mode.
2022-08-14Add Selection ModeFelix Ernst
The selection mode action is a checkable toggle action named "Select Files and Folders" which has "Space" as the default shortcut. In selection mode a bottom bar with contextual actions is shown. These should mostly mirror the actions which are available through the right-click context menu aka DolphinContextMenu. Resizing of the window might make a overflow button appear in the bottom selection mode bar. This commit makes press and hold in the view activate selection mode. This behaviour is not triggered if the press and hold is used to either start a rubberband selection or a drag operation within a short time. The length of the short timeframe is defined by a QStyleHint. This is currently not implemented in touch because I can't test it. Mix the selection mode bars' background colors using a nice combination of colors from the current color scheme BUG: 427202
2022-08-01Install dolphinpart actions as standalone fileAlexander Lohnau
This will allow Konqueror to use it without relying on the KPart being loaded using KService
2022-07-30Remove service type file for vcs pluginsNicolas Fella
We don't support old-style plugins any more, so no need to install this
2022-06-15Use one config-dolphin.h.cmake configuration fileAhmad Samir
2022-06-11Fix install/load plugins from kf<version>Laurent Montel
2022-05-31Port away from deprecated KNewStuff APIAhmad Samir
2022-05-26Change wording "Leading Column Padding" to "Side Padding"Jin Liu
Since it actually adds padding on both left and right sides, "Side Padding" might be more accurate. This change is also propagated to variable and method names. BUG: 453172
2022-04-24Define MODULE type for KCM librariesAlexander Lohnau
Otherwise, they will have the "lib" prefix
2022-04-24Convert desktop files of plugins to jsonAlexander Lohnau
Task: https://phabricator.kde.org/T14564
2022-03-23Using the gesture recognizer from KWidgetsAddonsSteffen Hartleib
Using the gesture recognizer from KWidgetsAddons, so that the source code for the gestures is only in one place
2022-03-23Allow for more explicit button labelsFelix Ernst
This commit allows us to very explicitly refer to any set of items in text. This way buttons don't need to be labeled generically like "Permanently Delete" but can be enriched to be labeled "Permanently Delete "FileName"" or "Copy 7 Selected Folders" or "Copy 6 Files" or "Rename "file1", "file2", "file3", "file4" and "folder5"". This commit tries to save translators a lot of work by using a translation puzzle. This might be problematic for some languages. The alternative on the other hand would mean that any label which wants to be explicit would need to have over 10 translations just for one label which seems quite bad as well. A fallback is to be implemented for languages that can't really accommodate for any specific word puzzle. This is explained in the documentation.
2022-03-20Port to target-based ecm_add_app_iconNicolas Fella
2022-03-15Fix some compile error against qt6Laurent Montel
2022-01-14Adapt build system for building against qt6Laurent Montel
2022-01-11Remove KStandardItem and KStandardItemModelKai Uwe Broulik
They were used by the custom places panel and are now unused.
2022-01-09Port back to KFilePlacesViewKai Uwe Broulik
This removes the custom-view engine version of the places panel and replaces it with the upstream `KFilePlacesView` from KIO.
2022-01-04Add Flatpak patches to Dolphin depending on CMake definitionClaudio Cambra
When Dolphin gets packaged as a flatpak, this patch gets applied: https://invent.kde.org/packaging/flatpak-kde-applications/-/blob/master/dolphinpatch.patch That's not really an ideal solution, so this is probably a better idea -- to upstream the patches and apply them depending on a CMake definition
2021-10-09Install KCMs in dolphin/kcms namespaceAlexander Lohnau
This will allow consumers to load the plugin from this namespace without KServiceTypeTrader being involved.
2021-07-19Use KDirLister directly now that it emits a jobError() signalAhmad Samir
Since KIO 5.82, KCoreDirLister (the base class of KDirLister) emits a jobError() signal when the ListJob used internally emits an error. Drop KFileItemModelDirLister class, now redundant. This also bump the KF version to 5.82.
2021-05-31Use more target-centric cmake codeFriedrich W. H. Kossebau
GIT_SILENT
2021-05-19Use directly autorccLaurent Montel
2021-05-03Port away from ECMSetupVersion's deprecated *_VERSION_STRING CMake variableFriedrich W. H. Kossebau
GIT_SILENT
2021-04-25kconfig_add_kcfg_files: Fix warnings about including empty moc fileAlexander Lohnau