l10n daemon script
86db501333
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
3aa4829823
applets/digital-clock: give PlaceholderMessage checkmark icon
...
We use a checkmark icon for the notifications applet since having no
unread notifications is considered a good thing. In this busy modern
world, having no scheduled events on a particular day can be considered
in the same way, so let's use a checkmark icon here too.
4 years ago
Nate Graham
6b261e1dda
applets/digital-clock: Use real PlaceholderMessage in events view
4 years ago
Alexander Lohnau
f29c7b10db
Fix locationsrunner test on BSD CI
4 years ago
Fushan Wen
4eb900ae6f
applets/mediacontroller: Move OpacityAnimator to Loader
...
This fixes flickering when switching from artwork to fallback icon.
4 years ago
Nate Graham
1e8d27d05f
applets/systemtray: Use Kirigami font properties in settings window
...
This thing isn't using Plasma Components, so it shouldn't get its font
sizing stuff from PlasmaCore.
4 years ago
Jan Blackquill
60acc5f1a4
applets/notifications: add a percentage by bar
...
Often, it's hard to gague a numeric 'how much is that' from larger
file transfer jobs, e.g. '150 MB of 7 GB' isn't trivial to guess
a rough percent from. Adding an explicit percentage makes these cases
far easier to gague numerically.
4 years ago
Aleix Pol
d4487d494f
Port plasmoid context property to Plasmoid.self in Connections.target
...
It's a Qt 5 bug that target cannot take an attached object as a value
there. It's the reason why Plasmoid.self was introduced in the first
place.
4 years ago
Fushan Wen
f043a4b6c7
klipper: Don't use `beginInsertRows` every time adding a new item when loading history
...
Currently, every time adding a new item, `beginInsertRows` and
`endInsertRows` are called, which is not efficient. Use `beginResetModel`
and `endResetModel` before and after loading history items to avoid
frequently emitting inserted signals.
CCBUG: 450989
4 years ago
Fushan Wen
a0040bdb6b
applets/devicenotifier: Put PlaceholderMessage in a loader
...
This saves some resources
4 years ago
Fushan Wen
66430dc50f
applets/devicenotifier: Give PlaceholderMessage an icon
...
Use "drive-removable-media-symbolic" when there is no item in the list.
4 years ago
Fushan Wen
4ba310120c
applets/clipboard: Put PlaceholderMessage in a loader
...
This saves some resources.
4 years ago
Fushan Wen
154c53f481
applets/clipboard: Give PlaceholderMessage an icon
...
Use "edit-paste" when there is no history item, or "edit-none" when the
filter returns nothing.
4 years ago
Fushan Wen
2242972a1f
applets/notifications: Put PlaceholderMessage in a loader
...
This saves some resources.
4 years ago
Fushan Wen
1fba44e96f
applets/notifications: Give PlaceholderMessage an icon
...
Use "checkmark" when there is no unread notification, or "notifications-disabled"
when the notification service is not available.
4 years ago
Andreas Sturmlechner
dcec2cdb3b
Add missing KCoreAddons link
...
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
4 years ago
Andreas Sturmlechner
a78c9d9aa2
Add missing KF5Auth dependency
...
Used in runners/kill and kcms/kfontinst/dbus
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
4 years ago
Volker Krause
42e5eea0b8
Remove the last use of QTextStream::codec(), which is gone in Qt6
...
We never set a codec on the stream we get here, so it's always the default,
the codec for the current locale.
4 years ago
Nate Graham
92cd7451e9
applets/notifications: address TODO by using PlaceholderMessage subtitle
...
Now that we depend on a new enough version of PlaceholderMessage, we can
use its explanation: property to display a subtitle, rather than a child
Label item.
4 years ago
Fushan Wen
da8a82faf1
applets/mediacontroller: Fix album cover flickering
...
The code is borrowed from the wallpaper: use a StackView to handle
multiple Image instances, and cross-fade between them when the
artwork changes.
BUG: 446862
FIXED-IN: 5.25
4 years ago
Fushan Wen
8716053a37
applets/clipboard: Don't forward input to filter if it's disabled
...
When the filter is disabled, don't forward any input to the filter
because it will return nothing.
CCBUG: 450989
4 years ago
Alexander Lohnau
9a5491ef69
Use kcmshell5 to launch KRunner KCM
...
BUG: 451999
4 years ago
Volker Krause
51287cc29d
Port from QMutableList|VectorIterator to STL iterators
4 years ago
David Edmundson
7714283680
[kcms/user] Drop placeholder email address in KCM
...
We don't have placeholders in any other field in this KCM.
Showing a placeholder is good to show a default value, but showing an
example of what an email address is with an incorrect value doesn't add
anything.
4 years ago
l10n daemon script
e1f08a7e2e
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
460a6485b9
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
Volker Krause
3628ef1d68
Port network online detection for Qt6
...
QNetworkConfigurationManager has been replaced by QNetworkInformation.
4 years ago
David Redondo
65ef293c36
color editor: use contrastF()
...
It's the only place that's using it and it's deprecated (soon).
4 years ago
Nicolas Fella
9a35dcd5d3
[libnotificationmanager] Don't recreate same regex all the time
...
We have better things to do
4 years ago
ivan tkachenko
5c3976d51b
[applets/batterymonitor] Introduce power profile icons
...
Power profile labels are gone and replaced with only two descriptive
icons, and now there's only one of label at the top of the slider,
which aligns with what `BrightnessItem`s do.
Padding of the header is handled now entirely within the header itself.
4 years ago
Alexander Lohnau
40aa022578
Port to KNewStuff.Entry enums rather than using magic numbers
4 years ago
Fushan Wen
6a754b17a5
shell: Remove m_positionPaneltimer to avoid the toolbar from getting lost.
...
The delay causes the toolbar being unable to follow the panel sometimes.
CCBUG: 435240
4 years ago
Fushan Wen
9d08b9979f
shell: Fix panel sometimes getting shortened when dragging
...
`positionPanel()` must be called first to make sure formFactor is
updated, or `maxSize` will be incorrect.
BUG: 435240
4 years ago
Nicolas Fella
e18c2b1ba8
[libnotificationmanager] Bail out early when trying to find KService for empty desktop entry
...
If desktopEntry is empty we have no chance of finding a service for it, so don't bother
4 years ago
Nicolas Fella
35371a7d19
[libtaskmanager] Ignore notifications in xwindowtaskmodel
...
By passing the appropriate mask we get NET::Notification instead of NET::Override as type
This results in notifications being not added to the model, which makes sense given they are not tasks
4 years ago
Aleix Pol
5e4dbb88ce
image: Remove attribute that is never initialised
...
At the moment it's never initialised, so it would work poorly at best.
4 years ago
Aleix Pol
d18973e046
image: Remove unused SystemPalette instance
4 years ago
Alexander Lohnau
b68b59dac6
Remove explicit QuickSettings init method call
...
This is now done as part of the plasma integration plugin.
Task: https://phabricator.kde.org/T12135
4 years ago
Volker Krause
43668f4c63
Remove the last QStringRef use
...
This is a bit more elaborate than a straightforward port, as the old code
already was prone to using dangling string references due to values from
the English language block being out of scope when the reference were used
in the final loop.
4 years ago
l10n daemon script
0024939c7a
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
db3a8029dc
Create applet plugins without json metadata, name library like plugin id
...
This way we do not embed the json metadata in the plugins
and can avoid the parsing of it at runtime.
Counterpart of https://invent.kde.org/frameworks/plasma-framework/-/merge_requests/458
Task: https://phabricator.kde.org/T14757
4 years ago
Aleix Pol
3bd7e1d087
image: Lazy-load the slideshow model
...
So far we were loading the slideshow model right at startup which
iterates through all the backgrounds on the system.
This changes so that it's only created when it's needed, which helps to
remove some startup disk accesses.
It should also give us less background-related warnings at startup as
they won't be all checked immediately.
BUG: 371455
4 years ago
Kai Uwe Broulik
1172054d5e
[Media Controller] Explicitly set slider "to" before setting "value"
...
Slider refuses to set a value beyond its end, make sure "to" is up-to-date
before we attempt to set "value".
Position changed may be emitted before Length change was emitted.
Fixes media controller position not being up to date on first open.
4 years ago
Alexander Lohnau
89b8bb1171
Do not explicitly set ProvidersUrl in knsrc files
...
We can use the default value from KNS and can more easily keep
the value updated.
Depends on https://invent.kde.org/frameworks/knewstuff/-/merge_requests/174
4 years ago
Fushan Wen
32aa12bf98
krunner: Use "KRunner" as the display name
...
This fixes the "krunner" title.
4 years ago
Volker Krause
d5d06e484e
Properly include KF includes
...
With https://invent.kde.org/frameworks/kwayland/-/merge_requests/52 we
can build without the 4 era legacy include paths for the first time, which
uncovered those.
4 years ago
l10n daemon script
ca7dbe109a
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
Kai Uwe Broulik
6d91e350ea
[Notifications] Remove unused hovered property
...
All hover handling (pausing timeout etc) is done in NotificationPopup
4 years ago
ivan tkachenko
e124330e62
Use modern JavsScript arrow function syntax
...
GIT_SILENT
4 years ago
Volker Krause
0a9b734b73
Fix Qt version ifdef scope after d09854cbc0
4 years ago