Commit graph

17 commits

Author SHA1 Message Date
Akseli Lahtinen
ee5f80dfd0
SolidActions: Use absolute path for getting the template file
Due to changes in KDesktopFile, namely
https://invent.kde.org/frameworks/kconfig/-/merge_requests/430 ,
we can end up in situation where we can't locate the
template file, since we're searching for it from user files.

Instead, locate the absolute filepath for the template
in addAction and use it directly.

BUG: 518317
2026-03-30 17:02:31 +03:00
Laurent Montel
edc07e1374 Add missing include moc 2024-12-11 06:20:21 +00:00
Nicolas Fella
ed571ad354 [kcms/solidactions] Fix double delete on close
These things have a parent, don't manually delete them

BUG: 474254
2023-09-07 14:32:01 +00:00
Alexander Lohnau
0f46cffdf0 Remove unneeded QVariantList from KCM constructor args
The args are not needed and will be removed later in KF6
2023-06-09 15:43:37 +02:00
Alexander Lohnau
0cbce3bb4d Make it compile against imported KCMUtils classes 2023-03-16 11:55:05 +00:00
Alexander Lohnau
d0095e1d72 Port to KCM desktop file generation method from kcmutils
This de-duplicates the translations needed for the KCMs.

Task: https://phabricator.kde.org/T15609
2022-07-30 10:08:33 +02:00
Alexander Lohnau
c175c2c8d7 Install KCMs in new namespaces
This is where systemsettings will look for plugins when not going thourgh KServiceTypeTarder.

This also embeds json metadata in plugins that don't embed it already.

Task: https://phabricator.kde.org/T14517
2021-12-09 23:16:58 +00:00
Alexander Lohnau
8e7cc6290b Remove obsolete copying texts 2021-06-25 10:36:06 +00:00
Alexander Lohnau
e1d89da146 Convert licsense headers to SPDX 2021-06-25 10:36:06 +00:00
Alexander Lohnau
bd3c925dc9 Run clang-format
If you want git blame to ignore formatting revisions run:
git config blame.ignoreRevsFile .git-blame-ignore-revs
2021-01-21 07:15:46 +00:00
Alexander Lohnau
b21c8e0b8d Fix build 2020-10-24 14:22:16 +02:00
Laurent Montel
bed9b1cb8a If include is define in .h remove it if it's defined in .cpp too (scripted) 2020-10-23 21:41:42 +02:00
Méven Car
5bb3ebc94d KCM/solid-actions convert foreach
Reviewers: ervin, #plasma, davidedmundson

Reviewed By: #plasma, davidedmundson

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D27154
2020-02-04 15:59:01 +01:00
Kai Uwe Broulik
acae3816b7 [Solid Device Actions KCM] Encode action file name
Allows to put slashes in there.

BUG: 344534
FIXED-IN: 5.8.6

Differential Revision: https://phabricator.kde.org/D4474
2017-02-07 12:22:53 +01:00
Aleix Pol
60c1466483 Drop usage of Qt4Support
On non-kdelibs4support depending modules.

REVIEW: 126996
2016-02-11 17:49:17 +01:00
Montel Laurent
77946ab8d9 Use QStringLiteral + use new connect api 2015-11-01 09:17:23 +01:00
David Edmundson
781f7809b8 Move the solid actions KCMs to where all the other KCMs are 2015-04-05 05:08:22 +02:00
Renamed from solid-actions-kcm/SolidActions.cpp (Browse further)