912dca1564
Port Plasmoid to Plasma 6
...
* Split QML part into distinct versions for Plasma 5 and 6 as there are too
many differences and `#ifdef` is not possible
* Change API usage according to
https://develop.kde.org/docs/plasma/widget/porting_kf6
* Port "contextualActions" to API documented on
https://invent.kde.org/frameworks/plasma-framework/-/blob/master/src/plasma/applet.h
* Document testing
* Add FIXMEs/notes for remaining problems; there are likely many more,
though
2023-07-13 01:01:02 +02:00
9733be4d16
Don't hardcode Plasma version for fileitemaction install directory
2023-05-21 20:56:40 +02:00
081ce235bf
Improve coding style in SyncthingFileItemAction
2023-04-19 22:48:56 +02:00
5fa2aafb79
Update translations
2023-02-11 15:56:05 +01:00
eef47e7ef1
Allow building KIO/Dolphin against Qt/KF 6
...
* Avoid using function that is deprecated in Qt 6
* Remove unused include not available in KF6
* Don't hardcode CMake-package-prefix of KF modules
2023-02-07 20:57:21 +01:00
5c519fe930
Update translations
2022-12-20 18:30:37 +01:00
b45a5ec5e2
Fix path handling in Dolphin menu
2022-12-17 20:39:40 +01:00
8fe0c9ab75
Update translations
2022-11-10 21:52:37 +01:00
693484d3aa
Fix missing include for QRegularExpression
2022-11-04 12:04:08 +01:00
4c20ecb131
Add AppStream file for Dolphin integration
2022-10-13 19:35:30 +02:00
2f41fc9337
Update translations
2022-10-11 19:33:15 +02:00
a79a594238
Show Syncthing version in Dolphin integration
...
So even if there are no actions there's at least some bit of information
showing to verify the integration could connect to Syncthing.
2022-10-11 18:55:50 +02:00
af1529c396
Show note in Dolphin integration when current directory is not shared
...
* Otherwise it can be confusing if no actions are present
* See https://github.com/Martchus/syncthingtray/issues/159
2022-10-11 18:46:13 +02:00
3bbbab035c
Update translations
2022-08-25 22:33:59 +02:00
01f722c690
Unify code for about dialog image and attribution
...
It is the same for all components so define it at one place.
2022-08-25 20:35:02 +02:00
983ef9d37c
Determine usage of bright custom colors automatically in fileitemaction
2022-07-16 20:30:18 +02:00
a5f062032a
Update translations
2021-11-02 18:01:38 +01:00
19bede39a2
Simplify coloring of common ForkAwesome icons
...
The normal QPalette can be used to determine the icon color so it is
unnecessary to use the flag for custom bright colors here (which is only
intended for colors which are not on the standard QPalette).
2021-10-16 21:20:12 +02:00
3bf50fb414
Use Syncthing icon from ForkAwesome for buttons/menus
...
This should look more consistent than abusing the state-specific "idling"
icon.
2021-10-10 20:44:22 +02:00
feb7fb04db
Apply clang-format in fileitemactionplugin/CMakeLists.txt
2021-10-08 22:54:30 +02:00
Julianne420
ddefa35daa
Add zh_CN translation
2021-10-07 01:20:24 +08:00
Hannah Rittich
2968898195
Allow finding of packages in namespaces
2021-10-03 02:07:18 +02:00
43fcb9f71b
Migrate to ForkAwesome
...
* FontAwesome uses a propritary build system so let's move to its fork
ForkAwesome similar to Syncthing
* See https://github.com/syncthing/syncthing/pull/5237
* Bundle the font file instead of having the SVGs directly within
Syncthing Tray's own repository
2021-09-11 02:20:38 +02:00
yejingchen
8e1385bd2e
Fix cmakelists to find correct qtutilities name
...
Hit this when building syncthingtray-qt6 1.1.9 from AUR. Cmake chose to find qtutilities instead of qtutilities-qt6 and failed to build.
2021-08-06 10:44:00 +08:00
0ef3b80447
Fix typos found via codespell --skip .git -w
2021-07-03 19:29:49 +02:00
6c12f18eaf
Update translations
2021-03-06 16:26:23 +01:00
f5b6c506c7
Don't allow to rescan paused directories from Dolphin integration
2021-02-12 21:06:23 +01:00
a9f570fbc9
Fix clazy warning about detatching Qt container within syncthingfileitemaction.cpp
2021-02-12 20:25:57 +01:00
975e86c895
Allow backend libraries to be used from other projects
...
So far the backend libraries' include paths were relative within this
repository. This means the header files could not be used at their
installed location.
This change replaces them with "<>" includes to fix that problem and adds
a new include directory so building everything at once still works.
With this change it should be easier to actually split some parts into
another repository if this one would become too big.
2021-01-25 19:48:11 +01:00
4c4fc676e6
Update translations
2021-01-01 21:22:15 +01:00
c827907ea6
Update SyncthingDirStatus enum to new states from syncthing/lib/model/folderstate.go
2020-12-31 02:13:32 +01:00
7cf98e97a7
Don't use deprecated QByteArray::append(const QString &s)
2020-10-07 21:26:09 +02:00
5b2147a874
Apply scaling in renderSvgImage() similar to QIcon::pixmap() does
2020-07-12 02:38:57 +02:00
5a93e5e8dd
Update translations
2020-02-18 20:50:53 +01:00
cd805e83ba
Allow using bright custom color in Dolphin menu
...
to make it look better when using a dark theme
2020-02-18 20:47:55 +01:00
c103174609
Make desktop files for Plasma integration from template
...
* Avoid redundant meta-data
* Take target suffix into account
2020-02-14 23:14:50 +01:00
4b5a8efa3e
Apply cmake-format v0.6.0
2019-11-30 18:24:19 +01:00
38987707bd
Update translations
2019-10-09 23:23:02 +02:00
31e7e4e79e
Support "Waiting to scan"
...
This state has been introduced
with https://github.com/syncthing/syncthing/pull/4888
2019-09-27 16:41:24 +02:00
6243a4c2fd
Prepare for "Prepare to Sync"
...
See https://github.com/syncthing/syncthing/pull/6028
2019-09-27 16:32:54 +02:00
fa328f440e
Use Font Awesome also in Dolphin plugin
2019-09-15 01:06:17 +02:00
cf5faeca51
Apply cmake-format
2019-09-08 18:12:05 +02:00
p-bo
5bd2056190
Added Czech localization
2019-08-20 22:16:06 +02:00
p-bo
7127322aff
Added Czech localization
...
Create syncthingfileitemaction_cs_CZ.txt
2019-08-20 21:25:54 +02:00
353f1e2463
Allow to distinguish icon colors within UI and system tray
...
This is useful because sometimes the background color of the system
tray is dark but the overall system UI still uses a light theme.
For the Plasmoid this should never be the case, though. Hence the
extra settings are not available there.
2019-07-31 20:16:43 +02:00
6ac633366e
Don't use functions obsoleted in Qt 5.13.0
2019-06-25 14:37:14 +02:00
56e1e98493
Apply cmake-format
2019-06-16 16:58:52 +02:00
65eb59fe26
Add missing German translations
2019-06-16 16:58:37 +02:00
dc7d9b815f
Adapt to changes in c++utilities
2019-06-14 19:15:26 +02:00
64473df5ba
Adapt to changes in c++utilities
2019-06-10 22:48:26 +02:00