ivan tkachenko
3166b5de4d
[widgetexplorer] Port away from foreach macro
4 years ago
Nicolas Fella
c7ba560cca
[widgetexplorer] Don't recurse into applet's containments
...
The intention of this code appears to be finding system tray applets, since the systemtray is a containment within another applet/containment
However the code causes an infinit recursion since we are calling addContainment on the same containment again
The recursion also is unnecessary since corona->containments() already lists the system tray containment, so we don't need to find it by recursing through the panel's children
4 years ago
l10n daemon script
1428eac1d1
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
3f612a31a0
Only accept press-and-hold to enter Edit Mode, not click-and-hold
...
Press-and-hold is fairly common on touch UIs, but click-and-hold is a
very rare interaction. As a result, the user is much more likely to
enter Edit Mode accidentally while trying to drag something on the
desktop than they are to know that click-and-hold works here and do
it intentionally.
Let's disable click-and-hold and only enter Edit Mode with a
press-and-hold using a touch device. For pointing device users, there
are already multiple context menus items that will let them enter Edit
Mode.
BUG: 457979
FIXED-IN: 5.26
4 years ago
l10n daemon script
0e06391396
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
David Edmundson
bad06fc837
[keyboardlayout] Initialise member variable
...
mLayout is fetched from the server, however as this is accessible
directly through a property we want it defined
4 years ago
Fushan Wen
af6a4329a3
applets/digital-clock: improve left arrow key navigation in year/decade view
4 years ago
Fushan Wen
692c59b2be
applets/digital-clock: improve arrow key navigation support
...
1. Add Button ↔ TabBar
2. Add Button ↕ Event List if not empty
3. Event List → Month View
4. Event List ↕ Switch Button if visible
5. Switch Button → Month View
6. Switch Button ↕ Timezone List
7. Timezone List → Month View
8. TabBar ↔ Previous Button ↔ Today Button ↔ Next Button
9. TabBar/Previous Button/Today Button ↑ Configure Button
10. Next Button ↕ Pin Button
11. Configure Button ↕ Today Button
12. TabBar/Previous Button/Today Button/Next Button ↓ Month View
13. Month View ↕ TabBar
4 years ago
Alexander Lohnau
788ef1526b
Port away from KDeclarative::runtimePlatform
...
Instead use KRuntimePlatform::runtimePlatform from KCoreAddons.
The defunct code to set the runtime platform was removed. This value gets set using ENV variables.
Task: https://phabricator.kde.org/T15492
4 years ago
l10n daemon script
61b7bb9892
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
366a5b2dec
Read keywords from applets in widgetexplorer
...
This allows for better searches that just the name and description.
This also takes the original keywords into account and not just the translated ones.
4 years ago
Fushan Wen
60cb17b38a
components/calendar: add sublabel to `Accessible.description`
...
CCBUG: 429892
4 years ago
Fushan Wen
6688412596
components/calendar: put highlight in Loader to save memory
...
This saves about 2MiB memory.
4 years ago
Fushan Wen
5c189388bc
components/calendar: add missing event count in description
4 years ago
Carl Schwan
0971579241
Make keyboard navigation in the calendar possible
...
Co-authored-by: Janet Blackquill <uhhadd@gmail.com>
4 years ago
l10n daemon script
8e7c9dbe5c
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
3bc87f03e5
calendar: use normal type for EventPluginsManager, don't use singleton
...
It fixes that when there are multiple calendar applets, each applet
doesn't have its own EventPluginsManager.
BUG: 454846
FIXED-IN: 5.26
4 years ago
l10n daemon script
560b4ca52b
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
f243c71f2b
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
42c860a928
calendar: don't use unique_ptr for QML-owned object
...
This fixes a crash when removing the digital applet from a new panel.
BUG: 454846
FIXED-IN: 5.26
4 years ago
Xaver Hugl
401165921c
port to C++ smart pointers where possible
4 years ago
ivan tkachenko
e2244b63bf
[containment] Fix applet resizing in Edit Mode with RTL layout direction
...
BUG: 434972
4 years ago
ivan tkachenko
8a272f5331
[containment] Clean up QML & JavaScript code
4 years ago
ivan tkachenko
4f158b1ea5
[components] Reorder roles to make them look more like SDDM roles
...
This is not a public header, so we don't care about compatibility. SDDM
does not use standard Qt roles like DisplayRole or DecorationRole, so
there's little reason for this sessions model to redefine them either.
4 years ago
ivan tkachenko
ffe3344e27
[components] Downgrade enum class Role to plain enum
...
We should better align this model class with SDDM::UserModel to reduce
confusion. Enum classes might be better for some tasks, but they aren't
widely used for Qt model roles, and they require extra casts without
added safety benefits.
4 years ago
ivan tkachenko
e2a842a0d0
[lookandfeel] Document types of a user list model
4 years ago
Fushan Wen
13a6e77276
calendar: move translation domain from libplasma5 to plasmashellprivateplugin
...
The calendar component is in plasmashellprivateplugin now.
4 years ago
Fushan Wen
e421073f5e
calendar: Add support for sublabel in DayDelegate
...
The sublabel will be displayed under the day number.
CCBUG: 429892
4 years ago
Fushan Wen
54728d548b
daysmodel: Add alternate date and sub-label properties
...
The calendar applet will need those properties to show alternate
calendar date.
CCBUG: 429892
4 years ago
Fushan Wen
7d68b36bef
eventpluginsmanager: relay `alternateDateReady` and `subLabelReady`
...
Two new signals are added in CalendarEventsPlugin, so we need to relay
them to make DaysModel receive them.
CCBUG: 429892
4 years ago
Fushan Wen
862be9cc7b
calendar: remove unused `CalendarData`
4 years ago
Fushan Wen
0159a28be6
calendar: port to d-pointer in Calendar
4 years ago
Fushan Wen
25e87fe46b
calendar: move m_roles to initializer list
4 years ago
Fushan Wen
6c754e7ab0
calendar: port to d-pointer in EventPluginsManager
4 years ago
Fushan Wen
229ce95212
calendar: port to d-pointer in DaysModel
4 years ago
Fushan Wen
35b44bc015
calendar: fix a build error in string concatenation
4 years ago
Fushan Wen
601503eeed
calendar: remove plugins.qmltypes
...
It will be automatically generated during installation.
4 years ago
Fushan Wen
615353a447
calendar: remove comments in CMakeLists.txt
4 years ago
Fushan Wen
3a44ac83bf
calendar: move calendar plugin from plasma-framework to plasma-workspace
...
The calendar plugin should not exist in plasma-framework as it uses GPL
license, not LGPL license.
The only change in this commit is org.kde.plasma.calendar is renamed to
org.kde.plasma.workspace.calendar
4 years ago
ivan tkachenko
b585931a94
[libkworkspace] Port away from foreach loops
...
As usual, we should store rvalues in a const variable before iterating.
GIT_SILENT
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
Fushan Wen
18cc6c2da0
widgetexplorer: Replace `d->newStuffDialog` with `WidgetExplorerPrivate::newStuffDialog`
...
It's clearer in the relevant code.
4 years ago
Fushan Wen
02e5a784e7
widgetexplorer: Delete newStuffDialog on closed
...
This resets the search field after the window is closed.
BUG: 452865
FIXED-IN: 5.24.5
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
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
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
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
ivan tkachenko
e124330e62
Use modern JavsScript arrow function syntax
...
GIT_SILENT
4 years ago
Laurent Montel
d09854cbc0
Use directly std::chrono_literals
4 years ago
Yari Polla
bd61014474
Fix wrong object call
4 years ago