Commit graph

4707 commits

Author SHA1 Message Date
Carl Schwan
e62e31ec09
Modernize code 2024-11-03 22:27:45 +01:00
Carl Schwan
976c400489
Listen to providersChanged in the KCM ui 2024-11-03 22:26:10 +01:00
Carl Schwan
821534271a
Remove all the non relevant change to the UI file 2024-11-03 22:26:10 +01:00
Carl Schwan
b2d0d5fa48
Provide a QML UI to the new functionality 2024-11-03 22:26:10 +01:00
Carl Schwan
5b10d9632c
Simplify backend by only storing the list of disabled link providers
Previously the list of enabled and disabled providers was too easy to
get out of sync. Only having one list simplify the code and avoids issue
with for example the default state which should contains no disabled
backends.
2024-11-03 22:26:09 +01:00
Rob Emery
e2e36e698c
Refactoring 2024-11-03 22:26:09 +01:00
Rob Emery
e82d2e5e4a
Not sure why the display has changed so much, but switching things to minimum
rather than expanding seems to make it look more like it used to
2024-11-03 22:26:09 +01:00
Rob Emery
5895daf612
Adding dedicated button for backend saving 2024-11-03 22:26:09 +01:00
Rob Emery
27f5882dc1
By ref 2024-11-03 22:26:09 +01:00
Rob Emery
b5bf26c919
Refactoring 2024-11-03 22:26:09 +01:00
Rob Emery
fd07c7bea6
Injecting disabled status from the very start 2024-11-03 22:26:08 +01:00
Rob Emery
9800664360
These all need to be near-idempotent 2024-11-03 22:26:08 +01:00
Rob Emery
732bf0636f
Fixing rebase mangle 2024-11-03 22:26:08 +01:00
Rob Emery
97841c8634
Rough enable/disable for lanlink 2024-11-03 22:26:08 +01:00
Rob Emery
bc48c5e9f8
Hacking in a very rough enable/disable (untested) implementation 2024-11-03 22:26:08 +01:00
Rob Emery
21b081ad14
Wiring up config and forcing implementation of enable/disable per
provider
2024-11-03 22:26:07 +01:00
Rob Emery
44e85d73df
Fixed marshalling of the message so we now pass the status back 2024-11-03 22:26:07 +01:00
Rob Emery
355c2e1ff8
Wiring this up to send through, looks like the array is empty for some
reason that I'm not seeing at a glance at current
2024-11-03 22:26:07 +01:00
Rob Emery
e97461937c
Using string serialisation to workaround the weird build failure if
I make the return type anything more complex
2024-11-03 22:26:07 +01:00
Rob Emery
cc2dc39f92
OK this only works with QString and QStringList for some reason;
so I'll hack some substringing stuff together for now
2024-11-03 22:26:07 +01:00
Rob Emery
5b5fac2d5d
So this doesn't seem to work, if the return type is anything other than
QString or QStringList then it blows up with:
/home/rob/kde/src/kdeconnect-kde/kcm/kcm.cpp: In constructor ‘KdeConnectKcm::KdeConnectKcm(QObject*, const KPluginMetaData&, const QVariantList&)’:
/home/rob/kde/src/kdeconnect-kde/kcm/kcm.cpp:82:17: error: ‘class DaemonDbusInterface’ has no member named ‘linkProviders’
   82 |         daemon->linkProviders(),

even though the signatures are correct etc. No idea, I'll have
to fix this ultimately but I'll workaround it for now
2024-11-03 22:26:07 +01:00
Rob Emery
0bb9c8e294
OK, so this builds; but doesn't return the right type now. Untested if
the UI does what we want
2024-11-03 22:26:06 +01:00
Rob Emery
837c2af9bf
This now works at least 2024-11-03 22:26:06 +01:00
Rob Emery
e1ce928d01
This at least compiles 2024-11-03 22:26:06 +01:00
Rob Emery
0856afe216
New tact, lets create a new endpoint entirely based on "devices" 2024-11-03 22:26:06 +01:00
Rob Emery
811542cf84
This thows an error in kdeconnectd
qt.dbus.integration: QDBusConnection: couldn't handle call to getLinkProviders, no slot matched

but we are getting nearer
2024-11-03 22:26:06 +01:00
Rob Emery
01897942a0
Trying to get end-to-end of the link providers out so we can pass back
lists
2024-11-03 22:26:05 +01:00
Heiko Becker
635024d968 GIT_SILENT Update Appstream for new release
(cherry picked from commit 4ac6e7e825)
2024-10-31 01:03:38 +01:00
l10n daemon script
f3e8942a38 GIT_SILENT Sync po/docbooks with svn 2024-10-29 01:29:19 +00:00
l10n daemon script
631641641b 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-29 01:23:22 +00:00
l10n daemon script
452b75e785 GIT_SILENT Sync po/docbooks with svn 2024-10-28 01:32:41 +00:00
l10n daemon script
080c05395a GIT_SILENT Sync po/docbooks with svn 2024-10-27 01:33:32 +00:00
l10n daemon script
ef6f3ce2bd 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-27 01:24:50 +00:00
Nicolas Fella
2e5b1e188f [sftp] Fix crash after mount timed out
When the mount failed after timing out we destroy the mounter

If then the packet actually arrives we access a null mounter

Ignore packets in that state

SENTRY: KDECONNECT-KDE-4A
2024-10-26 13:26:06 +02:00
Nicolas Fella
05963bae29 Drop code for forwarding messages to Telepathy
Telepathy has been dead for quite some time now
2024-10-26 10:58:29 +00:00
l10n daemon script
a60945921d GIT_SILENT Sync po/docbooks with svn 2024-10-26 01:31:02 +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
af56097eef GIT_SILENT made messages (after extraction) 2024-10-26 00:40:01 +00:00
l10n daemon script
cb4767e60b 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-23 01:24:45 +00:00
l10n daemon script
e0b8a30f45 GIT_SILENT Sync po/docbooks with svn 2024-10-21 01:30:00 +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
l10n daemon script
9588f23cb1 GIT_SILENT Sync po/docbooks with svn 2024-10-20 01:30:00 +00:00
l10n daemon script
dcc62a7f09 GIT_SILENT Sync po/docbooks with svn 2024-10-19 01:30:30 +00:00
Albert Vaca Cintora
c476e70a8b
Remove duplicate gitignore entry 2024-10-18 13:44:26 +02:00
Albert Vaca Cintora
475a4c2ca8 Add missing QQuickStyle::setStyle calls
Calls `QQuickStyle::setStyle("breeze")` everywhere we were
calling `QApplication::setStyle("org.kde.desktop")`.
2024-10-18 11:38:57 +00:00
l10n daemon script
10368df021 GIT_SILENT Sync po/docbooks with svn 2024-10-16 01:31:50 +00:00
Biswapriyo Nath
935d874d57 plugins/systemvolume: Remove workaround for mingw toolchain
This reverts the change from 595e8d9a35
and a01af1b406 commit.

PKEY_Device_DeviceDesc was added in mingw-w64 headers in the
following commit.

0b02ea1d7d/
0b02ea1d7d (mirror)
2024-10-15 09:30:28 +00:00
l10n daemon script
902179f3f9 GIT_SILENT Sync po/docbooks with svn 2024-10-15 01:28:15 +00:00
Carl Schwan
8d14fb17a3 kdeconnect-app: Add filtering of plugins
Similar to the KCM
2024-10-14 09:34:57 +00:00
Carl Schwan
9832f380dc findthisdevice: Add audio playback
Similar to the C++ kcm
2024-10-13 19:40:34 +00:00