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
Laurent Montel
b55d32857e
Fix some clazy warning (const'ify + use const'ref + initialize variable in headers)
4 years ago
Laurent Montel
734f3084cf
Fix some clazy warnings
4 years ago
Aleix Pol
5290d8e66e
Port from using plasmoid to Plasmoid
...
That is, from using plasmoid the ContextProperty to Plasmoid the
attached property.
4 years ago
Volker Krause
7616c49f17
Ensure moc sees fully qualified property types
...
Qt6 insists on that. We can do this either by including the moc files,
or by including the corresponding headers in the header defining the
properties, the former seems cleaner.
4 years ago
Volker Krause
1fc6569158
Adapt to QQmlListProperty API changes in Qt6
4 years ago
Volker Krause
0ecf21a8b7
Adapt to QQuickItem::geometryChanged() rename in Qt6
4 years ago
Aleix Pol Gonzalez
a667b99dee
SystemDialog: Allow accepting the dialogs with the keyboard
...
If there's an enabled Ok button, it will accept the dialog when Enter is
pressed as it reaches the dialog.
BUG: 450223
FIXED-IN: 5.24.3
4 years ago
Ahmad Samir
24d4b12469
Use Qt logging categories
...
So as not to unnecessarily fill the system log (or binary journal, because
plain text log files are not the fashion any more).
GIT_SILENT
4 years ago
Ben Cooksley
1ab87dbf43
Purge all references to download.kde.org, replacing them with the correct endpoint of autoconfig.kde.org.
...
CCMAIL: plasma-devel@kde.org
CCMAIL: distributions@kde.org
4 years ago
Gabriel Karlsson
db8182c5da
widget explorer: Clarify the meaning of "uninstallable" using i18nc
...
Give context though i18nc for the use of "uninstallable" so that it won't be misinterpreted as "not installable" by translators, as has happened in some cases (e.g. sv & zh_TW).
4 years ago
Nicolas Fella
cdae8fef89
[systemdialogs] Remove leftover and broken components
...
These are presumably leftover from previous refactoring
Since those types don't exist they break things
CCBUG: 448423
4 years ago
David Edmundson
440ec1c609
Remove unused vars
4 years ago
Aleix Pol
5291c77465
SystemDialog: Move the different implementations into a LnF file
...
This way a LookAndFeel package can override the dialog and trim it to
its needs.
4 years ago
Aleix Pol
c531816078
Introduce SystemDialog
...
Have it wrap the DesktopSystemDialog or MobileSystemDialog within,
depending on whether we are on tablet mode or not.
4 years ago
l10n daemon script
41e9c0e65f
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
Flo Edelmann
d2d025d15b
Match applets by English names and keywords even when system is in another locale
4 years ago
Laurent Montel
2543f1b843
GIT_SILENT: use Q_EMIT
4 years ago
Janet Blackquill
b4a3ce684a
AbstractLayerManager: go through QQmlProperty to permit Behavior on animations to take effect
...
This is needed to easier implement a drop animation that smoothly animates a dropped plasmoid
from its drag position to its position on the desktop grid.
4 years ago
Aleix Pol
033e7a2896
DesktopSystemDialog: Account for the footer for the minumWidth
...
The footer (the DialogButtonBox + actions) may be bigger than the
contents, so let's also make sure it fits.
4 years ago
Aleix Pol
b7ec1f1455
DesktopSystemDialog: Ensure we don't set the size until visible
...
Otherwise the value gets set by Qt somewhere and the binding gets
disconnected, setting a random, weird, size.
4 years ago
Aleix Pol
ca21953b05
Implement a DesktopSystemDialog.acceptable property
...
Specifies if the accept button is enabled and otherwise should control
if we can accept the dialog.
4 years ago
Aleix Pol
50eed45a73
DesktopSystemDialog: title = mainText by default
4 years ago
Aleix Pol
b9e81fd0d8
DesktopSystemDialog: Provide minimum sizes appropriately
4 years ago
Aleix Pol
d443132593
DesktopSystemDialog: Integrate accepting and rejecting
4 years ago
Aleix Pol
8ede591a7d
DesktopSystemDialog: Let the dialog fit the contents
4 years ago
Aleix Pol
5cb8817d83
DesktopSystemDialog: Leverage AbstarctButton.action
...
Instead of setting the same properties, set the action right away.
4 years ago
Aleix Pol
0f1809b96e
DesktopSystemDialog: Prefer alias to duplicated properties
4 years ago
Aleix Pol
3015ebf461
DesktopSystemDialog: Do not override a property from the parent
4 years ago
Alexander Lohnau
c3201e74c2
Drop now unneeded QOverload statements
...
By defining the KF_DISABLE_DEPRECATED_BEFORE_AND_AT value, the deprecated overloads are hidden.
This way we only have the un-deprecated one visible.
4 years ago
Alexander Lohnau
b40d9267f9
Port away from deprecated qmlRegisterType overload
4 years ago
Alexander Lohnau
dd72824ab1
Port to KJsonUtils::readTranslatedString
4 years ago
Devin Lin
0870507dcc
Add MobileSystemDialog and DesktopSystemDialog components
4 years ago
Alexander Lohnau
ce6088868b
Port to enum values for KAuthorized::authorize
...
Task: https://phabricator.kde.org/T11948
4 years ago
Alexander Lohnau
337513a016
Port away from KPluginMetaData::readStringList
4 years ago
Méven Car
79f5b3dff4
WidgetExplorer: cleanup leftover TODO qWarning
...
NO_CHANGELOG
4 years ago
Nate Graham
4ffadf1c41
Port away from Kirigami.Units.devicePixelRatio
...
Use PlasmaCore.Units.devicePixelRatio, which still does something; the
Kirigami version was inappropriately used here and is deprecated anyway.
5 years ago
Nate Graham
c14fbfc899
Port away from Kirigami.Units.devicePixelRatio
...
Use PlasmaCore.Units.devicePixelRatio, which still does something; the
Kirigami version was inappropriately used here and is deprecated anyway.
5 years ago
David Edmundson
afa8159f34
Split Interactive console into it's own binary
...
Plasma had an entire text editor for the script engine in process.
The method for loading this was very convoluted, it loaded a QML file
(in plasma-desktop!) which contained an Item(!) which then loaded a QML
component that showed a widget dialog.
It also means loading a very heavy lib KTextEditor in ShellComponents
which is very heavy. This will get loaded in things like the logout
greeter, which is super slow on the pinephone.
We already had the concept of evalating a script remotely, we can just
hook up the print statement and move the whole executable out.
Technically this is an API break on the plasmashell DBus API, but
pragmatically going from void -> something on the return type isn't
going to break anything.
5 years ago
Nicolas Fella
225e4aae2c
Port away from deprecated KPluginLoader
5 years ago
Nicolas Fella
6238ea705b
[interactiveconsole] Try loading katepart directly
...
The current code tries to load any KTextEditor/Document part using KServiceTypeTrader.
At least on my machine katepart is the only available one.
By loading that one directly and falling back to the existing KTextEdit fallback we can avoid using the deprecated KServiceTypeTrader
5 years ago
Alexander Lohnau
c4cfc9749e
Remove unneeded newlines in license headers
5 years ago
Alexander Lohnau
c11051955d
Convert license headers to SPDX
5 years ago
l10n daemon script
450d3fb88a
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"
5 years ago
Adrien Faveraux
42515d22cb
Move include guard to Pragma Once
5 years ago
Aleix Pol
fb47508554
Provide a Plasmoid to control input methods
...
It's mostly useful to be able to hide the virtual keyboard like we do in
Plasma Mobile from the bottom panel, should probably replace the SNI
from KWin.
5 years ago
Aleix Pol
f741419c26
KeyboardLayout: Expose the new org.kde.kwin.VirtualKeyboard.visible property
5 years ago
Nicolas Fella
fce72eea01
Remove some unused includes
5 years ago