Alexander Lohnau
b5e90f194c
killrunner: Define X-KDE-ConfigModule keyword for loading KCM
...
This utilizes the logic of https://invent.kde.org/frameworks/kcmutils/-/merge_requests/67
4 years ago
Alexander Lohnau
ce6088868b
Port to enum values for KAuthorized::authorize
...
Task: https://phabricator.kde.org/T11948
4 years ago
l10n daemon script
20131b5e68
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
5 years ago
l10n daemon script
b9a1e98742
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
5 years ago
Alexander Lohnau
677141d136
Port WebshortcutRunner::configurePrivateBrowsingActions away from deprecated KRunner API
...
The clearing was defunct anyways and did not delete the QAction pointer
5 years ago
l10n daemon script
c7b5c13700
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
5 years ago
Alexander Lohnau
bbb8343a2d
Remove unneeded parts of servies runner test
...
The logic that is tested does not exist in this runner anymore, but it imported in systemsettings.
5 years ago
Alexander Lohnau
c97dddf20d
Manually adjustments for SPDX license statements
5 years ago
Alexander Lohnau
3d4df5e61e
Merge duplicate copyright texts for Glenn Ergeerts
5 years ago
Alexander Lohnau
3720912f99
GIT_SILENT Misc SPDX fixes
5 years ago
Alexander Lohnau
4df78f841c
Remove unneeded comments in license headers
5 years ago
Alexander Lohnau
fefe12dff6
Manual SPDX fixes & cleanup
5 years ago
Alexander Lohnau
c4cfc9749e
Remove unneeded newlines in license headers
5 years ago
Alexander Lohnau
c11051955d
Convert license headers to SPDX
5 years ago
Nicolas Fella
07c5365e11
Remove unneeded KCM plugin keyword stuff
5 years ago
Alexander Lohnau
5844df73ad
Remove KCM query logic from services runner
...
It gets moved to systemsettings, see https://invent.kde.org/plasma/systemsettings/-/merge_requests/73 for the rationale
This way the runner only shows applications, like it's name in the plugin selector suggests.
5 years ago
Adrien Faveraux
42515d22cb
Move include guard to Pragma Once
5 years ago
Nicolas Fella
144235e281
Port from KPluginLoader::pluginsById to KPluginMetaData::pluginById
...
The latter gives us only a single plugin which makes the code a bit more concise
5 years ago
Ahmad Samir
104fea4ec3
kfontinst: less macros; use logging categories
...
And comment out the qDebug() calls (the ones without a logging category),
useful for debugging but they spam the terminal output if you e.g. start
systemsettings from terminal.
Also don't print time with debug statements, useful for benchmarking, but
too much output in terminal otherwise.
GIT_SILENT
5 years ago
l10n daemon script
f4456d4f1f
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
5 years ago
Alexander Lohnau
41d383a8fc
baloo runner: Remove custom handling of possible duplicates
...
This is now done on the frameworks side using the X-Plasma-Runner-Unique-Results
property and the id of the matches. Consequently we can drop this workaround.
5 years ago
Alexander Lohnau
f7efe4ea24
baloo runner: Clean up unneeded usage of QTimer and QDBusContext
...
The min letter count property is set to 3, which means that shorter queries will not be
sent to the runner. Consequently we can remove all of the code which has worked around
the issue of short queries taking much CPU power and delaying the runner.
5 years ago
l10n daemon script
9cffc2cf0a
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
5 years ago
l10n daemon script
faad339db5
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
5 years ago
l10n daemon script
96355cd03a
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
5 years ago
Alexander Lohnau
2f0eb07038
runners: Use K_PLUGIN_CLASS_WITH_JSON directly
...
Task: https://phabricator.kde.org/T14542
5 years ago
Alexander Lohnau
f82e4f1dcf
shellrunner: Simplify handling of invalid result using std::optional
...
See also https://phabricator.kde.org/T14311 .
5 years ago
Alexander Lohnau
3d03606302
Use kcoreaddons_add_plugin to allow loading plugins from build dir
...
Task: https://phabricator.kde.org/T14528
5 years ago
Nicolas Fella
178a4f8756
Use version-less qt DBus macros
...
They work with both Qt5 and Qt6
5 years ago
Alexander Lohnau
d20d25357a
runners: Take arguments into account when setting match id
5 years ago
Felipe Kinoshita
c52df1e792
Use ellipses instead of triple period
...
A real ellipsis character is better for accessibility, as screen readers
will describe it appropriately.
5 years ago
Alexander Lohnau
9baeb9f51f
Recent Documents: Fix missing actions for results
...
BUG: 437462
FIXED-IN: 5.22
5 years ago
Alexander Lohnau
0e4405622c
GIT_SILENT Add missing copyright statements
5 years ago
David Redondo
9dc1307997
PowerDevilRunner: Set screen brightness values
...
powerdevil expects the brightness to be in absolute values not
percentages.
I know this is a blocking call, but we use QDBusInterfaces and
other blocking calls in here so it's not great but is a reasonable
fix for now.
BUG: 437408
5 years ago
Alexander Lohnau
512135a650
runners: Prevent duplicate results among bookmarks and locations runner
...
CCBUG: 406292
5 years ago
Alexander Lohnau
0305762301
GIT_SILENT Remove obsolete KRunner property
5 years ago
Alexander Lohnau
bf9003b0c6
powerdevil runner: Remove unneeded DBus signal listener
...
The capabilities come from upower, the powerdevil config reloaded event does
not change these capabilities.
5 years ago
Alexander Lohnau
f7b556dddf
GIT_SILENT Re-run clang-format
5 years ago
Alexander Lohnau
fd9c790b8e
GIT_SILENT Make small adjustment before running clang-format
5 years ago
Alexander Lohnau
989d9b17c5
Set new KRunner property to reduce duplicates and make IDs comparable
...
CCBUG: 406292
5 years ago
Alexander Lohnau
a00f96ef5e
bookmarksrunner: Remove quotes in profile name
...
Otherwise interpreting it as a path will fail.
5 years ago
Alexander Lohnau
094100187d
bookmarksrunner: Choose less confusing folder name for cache
...
BUG: 436347
FIXED-IN: 5.22
5 years ago
l10n daemon script
9f02b43f3f
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
5 years ago
l10n daemon script
4c03101ac9
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
5 years ago
Alexander Lohnau
6a1bab19af
calculatorrunner: Fix superscripted numbers
...
Use toLocal8Bit instead of toLatin1 see https://doc.qt.io/qt-5/qstring.html#toLatin1 .
Otherwise the superscripted numbers would not be correctly converted.
BUG: 435932
5 years ago
l10n daemon script
7fb5605b5d
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
5 years ago
Alexander Lohnau
952d70c5dc
GIT_SILENT Explicitly link calculator runner to Qt::Widgets
5 years ago
Alexander Lohnau
eb9245a20c
GIT_SILENT Also set urls for match in other code path
5 years ago
Alexander Lohnau
d5c144dbd4
runners: Instanciate QActions directry
...
The current KRunner utility methods have some issues:
- The runner id is kindof useless, especially when we only have one
action
- We basically create a bunch of temporaries whenever we use the utility
methods
- If one really has more actions and more complex logic one is better of
using QHash with the actions and an enum as the key
5 years ago
Alexander Lohnau
ac7054366d
runners: Set urls for matches
...
This saves us the custom implementation of mimeDataForMatch and
allows us to get the urls for example in milou, just like we already can
with the DBus runners.
5 years ago