┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/trash
AgeCommit message (Collapse)Author
2025-09-01DolphinTrash: Only play emptied sound when it was emptied without errorKai Uwe Broulik
Also cancelling the confirmation results in a job finishing with error.
2024-09-17dolphintrash.cpp: Update trash dir on device changesAkseli Lahtinen
Make sure we update the trash directory when storage devices are added/changed. This ensures that whenever a mounted device, for example USB stick is mounted/unmounted, the contents are properly updated in the trash folder as well. Otherwise the trash folder and USB stick trash folder will get out of sync, making the trash folder behavior unpredictable. BUG:493247
2023-11-08Adapt to KConfigGroup name officially being a QString typeFriedrich W. H. Kossebau
GIT_SILENT
2023-08-18Adapt to KNotifcations API changeNicolas Fella
2023-07-05Merge branch 'master' into kf6Nicolas Fella
2023-07-05Add explicit moc includes to sources for moc-covered headersFriedrich W. H. Kossebau
* speeds up incremental builds as changes to a header will not always need the full mocs_compilation.cpp for all the target's headers rebuild, while having a moc file sourced into a source file only adds minor extra costs, due to small own code and the used headers usually already covered by the source file, being for the same class/struct * seems to not slow down clean builds, due to empty mocs_compilation.cpp resulting in those quickly processed, while the minor extra cost of the sourced moc files does not outweigh that in summary. Measured times actually improved by some percent points. (ideally CMake would just skip empty mocs_compilation.cpp & its object file one day) * enables compiler to see all methods of a class in same compilation unit to do some sanity checks * potentially more inlining in general, due to more in the compilation unit * allows to keep using more forward declarations in the header, as with the moc code being sourced into the cpp file there definitions can be ensured and often are already for the needs of the normal class methods
2023-05-12Remove deprecated, ifdef'd code for old KIO versionsJakob Petsovits
2023-02-05Add clang-format and format code as in FrameworksSerg Podtynnyi
2022-10-19Fix build with older KF versionsAhmad Samir
GIT_SILENT
2022-10-16DolphinTrash: port away from deprecated KIO APIAhmad Samir
Also change empty() method to return void, nothing was using the KJob * it was returning.
2022-03-15Fix some compile error against qt6Laurent Montel
2021-12-13Drop now unneeded QOverload statementsAlexander Lohnau
By defining the KF_DISABLE_DEPRECATED_BEFORE_AND_AT and QT_DISABLE_DEPRECATED_BEFOREvalues, the deprecated overloads are hidden. This way we only have the un-deprecated one visible.
2021-10-25GIT_SILENT: add missing override keywordLaurent Montel
2021-07-19Clean up KF API older than 5.82Ahmad Samir
GIT_SILENT
2021-04-06Fix deprecated method calls when using KIO >= 5.82David Faure
2021-02-09Build with QT_NO_KEYWORDSNicolas Fella
2020-10-23Compile with QT_NO_KEYWORDSAlexander Lohnau
2020-08-25Output of licensedigger + manual cleanup afterwards.Elvis Angelaccio
Unfortunately licensedigger does not strip the trailing * characters. While at it, use a common style for all source files.
2019-05-05Get rid of ugly static_cast usages in connect() callsElvis Angelaccio
2018-10-10Add proper labels to Trash Emptied notificationKai Uwe Broulik
It is not shown by default but when the user enables it, it should show something sensible. Differential Revision: https://phabricator.kde.org/D15589
2018-03-21Fix compilation with -DQT_NO_URL_CAST_FROM_STRINGDavid Faure
2018-03-11Update trash icon after restore operationRoman Inflianskas
Summary: After restoring all the files from the trash, the trash icon remain 'full'. This patch fixes this. BUG: 252483 Reviewers: elvisangelaccio Reviewed By: elvisangelaccio Subscribers: elvisangelaccio, #dolphin Differential Revision: https://phabricator.kde.org/D11216
2018-03-11Add missing this parameterElvis Angelaccio
Forgot to mention it while reviewing D11012.
2018-03-11Add Trash (empty, isEmpty, emptinessChanged)Roman Inflianskas
Summary: Add `Trash` class to handle all trash operations. Reviewers: elvisangelaccio, markg, ngraham Reviewed By: elvisangelaccio, markg, ngraham Subscribers: ngraham, markg, rkflx, elvisangelaccio, #dolphin Differential Revision: https://phabricator.kde.org/D11012