Commit graph

24 commits

Author SHA1 Message Date
ivan tkachenko
90946829bf
plasmoid: Basic code cleanup 2024-07-12 11:44:13 +03:00
ivan tkachenko
1f164e3860
Use ellipses instead of triple period
A real ellipsis character is better for accessibility, as screen readers
will describe it appropriately.
2024-07-12 11:44:11 +03:00
Prajna Sariputra
4caf77445f Remove KF5 plasmoid
Now that KDE Connect has moved to Qt6 only since https://invent.kde.org/network/kdeconnect-kde/-/merge_requests/621 we can remove the old KF5 plasmoid.
2023-12-23 16:34:33 +00:00
Prajna Sariputra
44301dd51f plasmoid: Add port to KF6/Plasma 6 alongside the current KF5/Plasma 5 version
Currently the plasmoid is still written for KF5/Plasma 5, and in addition
it also still uses PlasmaComponents2 stuff, which has been removed in
KF6/Plasma 6. So, this is an attempt to port the plasmoid so that it works
in Plasma 6.

BUG: 476389
2023-11-30 23:41:36 +00:00
Phani Pavan Kambhampati
c5b955fe10 Changed KCM to launch in system settings
KCM used to open in a separate window, changed that behaviour to launch in system settings when launched via the plasmoid.

BUG: 446337
2023-07-30 07:30:52 +00:00
Nicolas Fella
ad01ef1695 Fix activating existing settings window on Wayland
Add the necessary bits for XDG activation to work

Move the code for launching the settings from the daemon to the respective processes so that we don't need to pass activation tokens over another process boundary
2022-07-06 12:55:39 +00:00
Nicolas Fella
1060c1a81a Add API for opening the KCM to daemon
We have a few places that open the KCM, with different arguments.

Centralize the implementation in one place.

This makes it easier to switch to invoking systemsettings5 in the future (once https://invent.kde.org/plasma/systemsettings/-/merge_requests/11 is in).

It also makes sure the relevant device is selected when clicking on a pairing notification.

The function is exposed to DBus for the Plasmoid and potential third-party users.

CCBUG: 425660
2020-10-18 18:40:48 +00:00
Nicolas Fella
87db95b22f Convert license headers to SPDX expressions 2020-08-17 09:48:10 +00:00
Nate Graham
a9d0cb64b7 [applet] Port to Kirigami.PlaceholderMessage
This new Kirigami component was just introduced with
https://phabricator.kde.org/D29057.

ref T13021
2020-04-22 22:49:26 +00:00
Albert Vaca Cintora
9f8928513d Don't hide the plasmoid, otherwise the install buttons don't make sense 2019-09-19 18:39:45 +02:00
Matthijs Tijink
24eb0799f1 Show install instructions for Android when there are no devices 2019-07-20 18:21:41 +02:00
Nicolas Fella
f9dee192b5 Completely hide plamoid in system tray if no device is connected 2019-06-20 16:22:43 +00:00
Nicolas Fella
3b8fedea1a Replace http GNU urls with https 2019-03-23 17:29:26 +01:00
Simon Redman
bafbc344b9 Implement Drag n Drop file transfer on the plasmoid
Summary:
A DropArea has been added to the ListItem representing a device in the
plasmoid based on what is done in the Quickshare plasmoid. This enables
Drag n Drop of files onto a section of the plasmoid to transfer files.

The DropArea has the size of the ListItem which is a rectangle
including the title of the device down to the button to share text.
Additionally, there is a tooltip area covering the DropArea to indicate
that it is possible to drop a file to send it to the device. Multiple files
can be sent at once.

Ref T8288

Test Plan: Drag and Drop one or many files onto the widget, the files should be transferred to the connected device.

Reviewers: #kde_connect, sredman

Reviewed By: #kde_connect, sredman

Subscribers: sredman, kdeconnect

Tags: #kde_connect

Maniphest Tasks: T8288

Differential Revision: https://phabricator.kde.org/D17611
2019-01-02 10:26:40 -07:00
Kai Uwe Broulik
0b7578a5e2 Remove custom compact representation
It doesn't do anything special

Differential Revision: https://phabricator.kde.org/D11259
2018-03-12 12:29:15 +01:00
Kai Uwe Broulik
1c3a45fd95 Get rid of ProcessRunner
Use KCMShell singleton in kquickcontrolsaddons
Also while at it honor kiosk restriction

Differential Revision: https://phabricator.kde.org/D9759
2018-01-09 16:33:02 +01:00
Aleix Pol
e9c835f477 Prefer properties to functions 2016-11-23 19:45:35 +01:00
Aleix Pol
3583faf789 Fix, the enum values were renamed 2015-06-24 20:57:17 +02:00
Aleix Pol
5d8cf9544c Fix how the plasmoid status is specified
No need to show the FullRepresentation to figure out the status of the
plasmoid.
Moves the code back to the main.qml file so that we're always tracking if
there's actually paired devices.

REVIEW: 122912
2015-03-13 00:56:25 +01:00
Lukáš Tinkl
994057af0e fix the Configure action
display the kdeconnect kcm
2014-09-10 10:19:44 +02:00
Aleix Pol
28097e84e4 Fix qml warnings 2014-09-01 17:49:18 +02:00
Aleix Pol
e41ca57045 Improve look&feel of kdeconnect plasmoid
Provide a good initial size
Use compact representation when on a panel, full when on the desktop (this
prevented the icon to show on the system tray).

Reviewed by Albert Vaca
2014-08-01 12:04:44 +02:00
Martin Gräßlin
0f334d053f Fix Plasmoid porting errors
Some types changed causing the Plasmoid to end in reference errors.

REVIEW: 119149
2014-07-06 19:33:07 +02:00
Aleix Pol
3e74a97304 Port plasmoid to Plasma Next 2014-06-18 02:35:48 +02:00