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
Kai Uwe Broulik
49853de1ed
[Notifications] Fix implicit size propagation in SelectableLabel
...
The item's implicit size is supposed to be the size of its contents.
Fixes a regression from ScrollView port and restores line count
limit behavior (8 lines on popups, no limit in history).
4 years ago
Nate Graham
d62ba679c7
applets/clipboard: fix inline button row margins after PC3 port
4 years ago
Aleix Pol
450f2185eb
applets/clipboard: Port away from PC2
4 years ago
Volker Krause
ba14fa06eb
Adapt to Qt6's QList::contains being a template method
4 years ago
David Edmundson
9d95651752
Apply 1 suggestion(s) to 1 file(s)
4 years ago
Laurent Montel
79bc0f889d
AboutToSleep is a slot not a signal. Using Sleeping here
4 years ago
Fushan Wen
f984425b65
applets/kicker: Skip creating KService for non-desktop files or folders
...
When creating a new KService, it will try to read the file as a desktop
file, but if the file is a large non-desktop file, it will hang for a
long time.
Verify the file is a desktop file, and if not, skip creating KService
and run the match directly.
BUG: 442970
FIXED-IN: 5.24.4
4 years ago
Laurent Montel
d09854cbc0
Use directly std::chrono_literals
4 years ago
Laurent Montel
cbe0a015b0
Const'ify variable + use QStringLiteral
4 years ago
Laurent Montel
08eaada9ca
Show headers in qtc6
4 years ago
Kai Uwe Broulik
39b429f134
[Media Controller] Add slider tooltip
...
When hovering the slider, shows a tooltip that indicates to which
timestamp in the media it would seek to if pressed.
4 years ago
Felipe Kinoshita
f899f0635f
kcms/nightcolor: make description look like the one in the User Feedback KCM
4 years ago
Fushan Wen
76f0c2b1ce
krunner: Use QStringLiteral constructor for KCMultiDialog
...
The QPluginLoader overload is only intended for very specific usecases
where you have the plugin loader object anyways.
4 years ago
Fushan Wen
fa2241e24a
shell: Follow `ActivateWhenTypingOnDesktop` from KRunner
...
When the option is unchecked, typing on the desktop will not activate
KRunner.
FEATURE: 318538
FIXED-IN: 5.25
4 years ago
Fushan Wen
078a1c9950
krunner: Replace custom verifier with `KCMShell.authorize`
...
This saves some lines.
4 years ago
Fushan Wen
33f2d322e4
krunner: Open kcm_krunnersettings instead of kcm_plasmasearch
...
kcm_plasmasearch now only has plugin settings. KRunner-specific settings
are moved to kcm_krunnersettings.
CCBUG: 318538
4 years ago