297 Commits

Author SHA1 Message Date
l10n daemon script
0cd3b0d2c3 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"
2026-02-07 01:37:52 +00:00
l10n daemon script
c4c7845694 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"
2026-02-06 01:38:51 +00:00
l10n daemon script
7a282e6dc6 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"
2026-02-05 01:38:50 +00:00
Stephan Seitz
7401dab581 runcommand: set Accessible.Name directly
Qt 6.8 is now required.
2026-01-22 02:38:44 +00:00
Stephan Seitz
ec1da6e35d runcommand: add actions for command editing
Currently, it is not possible to edit an already defined command
or to copy its command text. This MR adds a new action "Edit"
that opens an edit dialog that resembles the "Add Command" dialog.

Co-Authored-By: Aleix Pol <aleixpol@kde.org>

BUG: 512904
2026-01-22 02:38:44 +00:00
l10n daemon script
34ee900735 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"
2026-01-21 01:40:22 +00:00
Stephan Seitz
f02331eec9 runcommand: Make sample command OS-specific
Extend JS model for sample commands to have OS-specific entries.

I did not test the Windows commands specifically but took them from the old
codebase 1275c8e031/plugins/runcommand/runcommand_config.cpp (L40-68).

BUG: 512016
2026-01-06 23:00:58 +00:00
l10n daemon script
b7b5f24132 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"
2025-12-26 01:36:07 +00:00
l10n daemon script
bbb4845820 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"
2025-12-20 01:35:27 +00:00
l10n daemon script
e7c7e69c57 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"
2025-12-16 14:19:22 +00:00
l10n daemon script
708557717f 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"
2025-12-15 01:34:34 +00:00
l10n daemon script
4dd92a506f 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"
2025-12-14 01:34:40 +00:00
l10n daemon script
0b5d729832 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"
2025-12-13 01:37:29 +00:00
Oliver Schramm
fe09e7de6b runcommand: Make sample commands translatable and remove empty entry 2025-12-10 22:21:25 +01:00
l10n daemon script
b761b35cd3 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"
2025-12-10 01:37:18 +00:00
l10n daemon script
a8cd99a139 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"
2025-12-01 01:36:23 +00:00
l10n daemon script
aba2fbcba9 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"
2025-11-30 01:35:43 +00:00
l10n daemon script
d0960ba74b 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"
2025-11-29 01:35:58 +00:00
l10n daemon script
0d3a6904cd 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"
2025-11-28 01:35:32 +00:00
l10n daemon script
a07d5d7994 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"
2025-11-27 01:36:28 +00:00
l10n daemon script
6267d5cf5a 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"
2025-11-25 01:34:43 +00:00
Albert Vaca Cintora
42311b928a Better plugin name and descriptions 2025-11-24 22:48:58 +01:00
Nicolas Fella
e59e23d405 Make plugin settings translatable
Extract i18n from QML files

Add translation domain since the extracted domain is not the application domain

BUG: 510084
2025-10-07 11:26:09 +02:00
l10n daemon script
70d07c75d7 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"
2025-09-09 02:03:16 +00:00
l10n daemon script
1437f0fd15 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"
2025-07-17 01:32:04 +00:00
Albert Vaca Cintora
c8ab073892 Remove KCM
The KDE Connect QML app has reached the point where it has almost 100% feature parity with the KCM (two features missing only: exporting/importing commands lists for the runcommand plugin, and configuring the applications for the receive notifications plugin). So I think it's time we kill the KCM module and replace it with the nicer looking QML app, removing in the process a whole lot of code duplication.

I originally wrote the KCM module 12 years ago now and it has served us well all this years, but it's time for it to go 😄
2025-06-24 23:07:40 +02:00
Vinícius Daros
756a234808 change qtdbus-qt5 to qtdbus-qt6 in the sample commands logic to find the qdbus executable name
The old logic was searching for qtdbus-qt5, what's isn't the case for newer distros with Plasma 6(like fedora), so i changed it with the assumption that distros using newer kde-connect would already be using plasma 6

Tested the patch in fedora 41
2025-05-27 16:28:42 -04:00
Christoph Wolk
724972dd1c app: set default focus element for plugins
Most plugin pages and plugin settings pages have no element that has
default focus. As a consequence, when the page is first opened, focus
ends up on a non-interactive element and keyboard users need to press
tab first to interact with anything.

This change sets an item to receive focus by default, so keyboard users
can start interacting with the page immediately.
2025-02-26 06:30:00 +00:00
Albert Vaca Cintora
d163c0a3f8 Create UUIDs without braces and make them lowercase for device IDs 2024-12-29 17:01:45 +01:00
l10n daemon script
08cd8d9bc3 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"
2024-12-15 01:34:44 +00:00
l10n daemon script
ec342df887 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"
2024-10-26 01:23:38 +00:00
l10n daemon script
784e10850e 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"
2024-10-21 01:22:45 +00:00
Carl Schwan
725a4e6d46 kdeconnect_runcommand_config: Fix i18n call 2024-10-09 10:26:16 +00:00
Carl Schwan
e04072c83e kdeconnect-app: Remove PluginInfoPage wrapper
Base the config page on Kirigami.Page and create them directly.
2024-10-06 11:04:44 +00:00
Christoph Wolk
ba5061a215 plugins/runcommand: set Dialog preferredWidth
The Add command dialog currently does not set a preferredWidth, which
seems to cause repeated binding loops and a lot of log spam until the
dialog is actually put on screen.

This change sets the preferredWidth to 20*gridUnit, which seems to be
the typical size used in small dialogs and is about the size that the
dialog has without a width explicitly set.
2024-09-08 13:19:44 +00:00
Christoph Wolk
3e7936dc08 plugins/runcommand: improve PlaceholderMessage
While the HIG is not quite clear on this, PlaceholderMessages throughout
KDE applications and kcms tend to have sentence capitalization in their
title and include a verb (e.g. "Playlist is empty", "No game controllers
found"). The runcommand plugin breaks with this; it uses title
capitalization and does not include a verb: "No Commands".

This change modifies the title to read "No commands configured".
2024-09-08 13:19:44 +00:00
Christoph Wolk
eecdc67074 plugins/runcommand: use ColumnLayout for ListView
The ListView displaying the configured actions currently directly uses a
label that is made multi-line by including a newline. As a consequence,
eliding the text does not work properly and there is a visual clash with
the included action button. It also means that there is a rather
pointlessly translatable string that is just there for UI logic.

This change modifies the delegate to use a ColumnLayout instead, which
enables correct eliding of the labels and more cleanly separates layout
and content concerns.
2024-09-08 13:19:44 +00:00
Christoph Wolk
9f34092aa9 plugins/runcommand: make config dialog HIG-compliant
The HIG recommend that buttons with an action label that require further
user input end in an ellipsis, and that dialog buttons should clearly
indicate what they do. Button labels typically do not match the given
exceptions that license sentence case. Currently, the main "Add command"
button in the configuration button does not end in an ellipsis even
though it opens a dialog, is sentence case, and the dialog has a "Save"
rather than the customary "Add" that is used for these kinds of actions,
in particular in kcms. The dialog title is also not translatable.

This change adds the ellipsis, converts the button to title case, makes
the dialog title translatable, and adds an "Add" button as an action to
the dialog.
2024-09-08 13:19:44 +00:00
l10n daemon script
daa164bea1 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"
2024-08-28 01:25:08 +00:00
Alexander Lohnau
b1c3049fc1 Add custom JSON schema, extending KPluginMetaData and enforcing KDE-Connect specific keys 2024-08-12 11:01:22 +00:00
Christoph Wolk
19763dbf46 plugins/runcommand: use Kirigami.Dialog
The "Add Command" dialog in the settings for the Run Command plugin
looks rather broken at the moment, as the size is not explicitly set and
the default value ends up much smaller than the contents. It uses
QQC2.Dialog, even though the plugin makes heavy use of Kirigami. Using
Kirigami.dialog here would solve the sizing issue, and generally lead to
a more consistent interface.

This change makes the plugin use Kirigami.Dialog instead of QQC2.

BUG: 487438
2024-08-05 22:06:14 +00:00
l10n daemon script
7a57ad580b 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"
2024-06-28 01:20:00 +00:00
l10n daemon script
c052b49d41 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"
2024-06-17 01:18:25 +00:00
Albert Vaca Cintora
6ae69c89c5 Fix powershell example command 2024-06-14 14:56:46 +02:00
Ben Yip
3d7b849e90 fix: runcommand with args fails on windows 2024-06-14 15:06:15 +08:00
l10n daemon script
aa009cfd85 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"
2024-06-09 01:17:55 +00:00
Łukasz Patron
7d3c37d3e6 Add Qt::DBus dependency to kdeconnect_runcommand_config
It seems like we now have to explicitly do that for Windows, as
otherwise, build fails when including <dbushelper.h>.
2024-05-25 10:31:46 +02:00
l10n daemon script
8a48eb141f 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"
2024-04-28 01:15:33 +00:00
l10n daemon script
ac13d83fa1 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"
2024-02-18 01:14:07 +00:00
l10n daemon script
398c13b6e7 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"
2024-02-11 01:13:59 +00:00