Xaver Hugl
401165921c
port to C++ smart pointers where possible
4 years ago
l10n daemon script
a8ce876a48
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"
4 years ago
Alexander Lohnau
ad4a9bd093
Revert "Change cursortheme installpath from ~/.icons to XdgTargetDir/icons"
...
This reverts commit e26425e573 .
The KCM does not always include the install folder in the search paths.
As discussed in https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1233 , a revert is
the best option for the time being.
BUG: 453765
4 years ago
l10n daemon script
79b5eb22a6
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"
4 years ago
l10n daemon script
bd7f3bcc1b
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"
4 years ago
Ismael Asensio
b24b049cdf
kcms/colors: Fix un-setting accent color from wallpaper
...
Fix changes in 6e7a147e3 , where the property `accentColorFromWallpaper`
would get set but not un-set from the UI.
4 years ago
Volker Krause
74614801ae
Add various missing includes and link libraries
...
Those are no longer pulled in indirectly with KF deprecation level 5.94.
4 years ago
Alexander Lohnau
90d36545ea
Revert "[kcms/cursor] Port to required properties"
...
We can not use the required properties, because it breaks the property binding.
ec79af7396 apparently fixes that, however
it is not released as part of Qt6 or is part of the KDE patch collection.
This reverts commit f3293bc59e .
BUG: 453226
4 years ago
Ismael Asensio
dca34e5286
kcms/colors: Small code Cosmetic changes
...
- Apply clang-format
- Rename property to not look like a verb
- Use new connection syntax
4 years ago
Ismael Asensio
6e7a147e3e
kcms/colors: Simplify bindings and interaction
...
To set the wallpaper accent color, use the property setter instead
of an invokable, so we reduce one codepath and it's easier to keep
the state in sync between UI and backend.
Also reduce unnecesary explicit bindings on the QML side
4 years ago
Ismael Asensio
2b55732fb7
kcms/colors: Fix reset from selected "color from wallpaper"
...
On the `load()` method emit the signals to notify that the properties
regarding accent colors have changed, so the UI gets updated accordingly.
They're emitted unconditionally since the minimal performance improvement
wouldn't compense the extra code complexity to check for changes here.
4 years ago
l10n daemon script
20b371fc1f
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"
4 years ago
l10n daemon script
ff817abcbb
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"
4 years ago
Alexander Lohnau
43ae993da3
kcms/desktoptheme: Fix reading of metadata in ThemesModel
...
We can not use KConfig to read the desktop file.
CCBUG: 453830
4 years ago
Fushan Wen
10aa9bb8dc
kcms/desktoptheme: find metadata.json when loading ThemesModel
...
Before this commit ThemesModel only finds metadata.desktop, but after
KF5.94, the default theme metadata files have been ported to json format.
BUG: 453830
4 years ago
Alex Richardson
ad1a51c830
kcms/lookandfeel: Add missing <array> include
...
Recent versions of libc++ no longer implictly pull in that include, so we
have to add it explicitly. Fixes the FreeBSD build for me.
4 years ago
l10n daemon script
f363b0fe42
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"
4 years ago
l10n daemon script
276ce40046
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"
4 years ago
l10n daemon script
86985a85df
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"
4 years ago
l10n daemon script
3aa7db0959
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"
4 years ago
Laurent Montel
9756b911da
REmove duplicate header between header/file
4 years ago
l10n daemon script
6ccdd7f44c
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"
4 years ago
Nate Graham
9d0a71d7e5
kcms/fonts: show warning when user tries to set a non-integer font size
...
It triggers https://bugreports.qt.io/browse/QTBUG-92006 , and we need to
warn users about that.
CCBUG: 432372
4 years ago
ivan tkachenko
2af39a1b5f
[kcms/style] Improve GTK themes model code
...
* Renames m_themesList to m_themes, because it's a tree-based QMap, so
it won't confuse developers.
* ItemModel::data() method:
- uses simpler and sound checkIndex();
- refactors from expensive QMap::{keys,values} (which construct a QList
each time they called) to stl-style key/value iterator;
* Other accesses to themes now use const iterators too.
4 years ago
ivan tkachenko
62ad9e6794
[kcms/style] Factor out QML module URI string
4 years ago
l10n daemon script
e206d32916
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"
4 years ago
l10n daemon script
2141ca711d
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"
4 years ago
l10n daemon script
13e1ddcf98
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"
4 years ago
l10n daemon script
a09776c06c
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"
4 years ago
Tanbir Jishan
d2a98eddaa
Remove the model from the accent color serivce
...
It was doing essentially nothing. It is not needed. We are not changing colorschemes.
4 years ago
Tanbir Jishan
b88699b7f1
Fix the warning invalid module name
4 years ago
Volker Krause
34857ed1ec
Qt6 build system fixes
...
Two recent changes and one issue initially missed.
4 years ago
Volker Krause
241c6976c3
Use non-deprecated KAuth includes
...
Needed to build with KF deprecation level 5.92 or above.
4 years ago
l10n daemon script
ed8957ebc1
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"
4 years ago
l10n daemon script
5292eb426e
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"
4 years ago
Fushan Wen
aa1c19bfbe
kcms/colors: Wallpaper accent color is not custom color
4 years ago
Fushan Wen
cb9f65be02
kcms/colors: Make `isCustomColor` read-only
4 years ago
Fushan Wen
acce75cd05
kcms/colors: Simplify `isCustomColor`
4 years ago
Volker Krause
ad32f4f714
Bring back explicit QPixmap to QCursor ctors
...
Those were lost in 8b054656dd but are necessary to built with Qt6.
4 years ago
Volker Krause
d0652a37a4
Remove the last uses of QDesktopWidget
4 years ago
Tanbir Jishan
86c9c53fbb
kcms/colors: Add missing license headers to accentColorService
...
Missed in https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1325
4 years ago
Tanbir Jishan
6eb2b52945
kcms/colors: Add an option to apply accent color from wallpaper
...
This adds an option to set the accent color from the current wallpaper.
The way it works is that it exposes some DBus calls; if a wallpaper plugin
supports wallpaper accent colors then it should say so by this DBus call
when starting up and also should say which wallpaper is being currently
used (for the purpose of extracting an accent color from it) or set an
accent color itself. After that it should keep declaring the wallpaper or
set accent color whenever wallpaper changes or whenever the plugin author
thinks it is appropriate to say so.
There is already an implementation of the color extracting algorithm which
the plugin can either use, or else set whatever accent color it wants. The
necessary DBus calls for the official image and wallpaper plugin are
implemented, so they should work out of the box.
BUG: 444676
FIXED-IN: 5.25
4 years ago
Janet Blackquill
5328a8773d
kcms/colors: tint themes with accent colour
...
Seems to be in vogue now, and got feature requests for this.
This uses the OKLAB colour space to tint colour schemes with
the accent colour (if it has one), for a more harmonious look.
4 years ago
Dominic Hayes
34e2541b64
kcms/lookandfeel: allow users to choose what part of a Global Theme to apply
...
Now when you click on a Global Theme, it will display a Kirigami sheet for
choosing what is applied. The user can choose individual appearance elements,
and apply the theme's desktop layout, or not.
BUG: 409015
BUG: 437037
FIXED-IN: 5.25
4 years ago
Nate Graham
ddcedbc0b9
kcms/users: Fix string puzzle in fingerprint enrollment dialog
...
BUG: 452694
FIXED-IN: 5.25
4 years ago
l10n daemon script
100aa732fa
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"
4 years ago
Nate Graham
b32638496a
kcms/colors: remove dead code
...
We go through a bunch of effort to set m_applyToAlien, but then never
use it anywhere. It must not be very important here.
4 years ago
Bharadwaj Raju
3d47a5f2eb
kcms/nightcolor: Show live temperature preview
...
Allows live preview of what Night Color will look like when active. Now
users don't have to find a temperature they like by trial-and-error.
Requires https://invent.kde.org/plasma/kwin/-/merge_requests/1931
4 years ago
David Redondo
8b054656dd
kcms/cursortheme: Make the cursor preview on hover animated again
...
I removed that feature when killing the X specific code just using
the pixmap setter in 9f4ad82c5b5c47f6e3a3ed78ce559de4db361c78 (plasma-desktop).
To make it work we can drive the animation ourselves.
4 years ago
David Redondo
5795b25e73
kcms/cursortheme: Convert some foreach
...
GIT_SILENT
4 years ago