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
38c723e596
Use version-less Qt targets, variables and macros
...
Prepares for building against Qt6.
4 years ago
Volker Krause
fde7564493
Remove QQuickWindow::setClearBeforeRendering calls, gone in Qt6
...
We only set the default value anyway, so nothing lost here.
4 years ago
Volker Krause
aa62130a15
Adapt to QtConcurrent changes in Qt6
...
Accessing the QFuture result is no longer implicit, and run() changed
the argument order.
4 years ago
Tomaz Canabrava
f4d444bbf0
Enable NO_CAST_FROM_ASCII and fix an initialization order issue
4 years ago
Nate Graham
ebd8144365
kcms/colors: Implement radio button layouts better
4 years ago
Nate Graham
20c24e028d
kcms/colors: fix spacing between radio buttons and content
...
Both had excessive spacing, and they were also not consistent with one
another.
4 years ago
Nate Graham
d32073e208
Correct code comment to refer to the right Highlight
...
GIT_SILENT
4 years ago
Janet Blackquill
10ae2a245e
Port to PlasmaExtras.Highlight
...
Done automatically w/ qml-refactor-fairy
4 years ago
Nicolas Fella
c9dc9e2149
[applets/systemtray] Fix test data lookup
...
The files got changed from desktop to json, fix the lookup
4 years ago
Volker Krause
b9ff1a4efc
Remove 4 era migration code
...
The necessary infrastructure is not available in KF6 anymore.
4 years ago
Volker Krause
b307cfeace
Add additional includes needed by Qt6
...
Also remove two unused includes gone in Qt6.
4 years ago
Aleix Pol Gonzalez
5bf0e705a8
Port SDDM theme to PlasmaComponents 3.0
4 years ago
Volker Krause
35f758659a
Don't rely on implicit conversion from int to QUuid
...
Doesn't work in Qt6 anymore.
4 years ago
Volker Krause
07dbff0f26
Don't use AppMenuModel in AppMenuApplet
...
That's in a plugin we don't link against here, we only see its header.
This happens to work with Qt5, but Qt6 wants fully defined types for
properties. Use a QAbstractItemModel pointer instead, we only access that
API anyway, and for QML the difference doesn't matter.
4 years ago
Kai Uwe Broulik
14dac2a94b
[Battery Monitor] Only show charge threshold hint for power supply batteries
...
Avoids showing it on e.g. wireless mice and keyboards
BUG: 451161
4 years ago
Volker Krause
b6ccb5cf16
Use | rather than + for combining flags
...
The plus operator is no longer available for flags in Qt6.
4 years ago
Volker Krause
ae871853e3
Don't rely on implicit QScopedPointer to bool conversion
...
No longer available in Qt6.
4 years ago
Volker Krause
3ee46882d1
Adapt to Qt6 API changes in QXmlStreamReader
...
This now uses QStringView rather than QStringRef.
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
Nate Graham
bd8cd9fcbf
Port everything portable to SearchField
4 years ago
l10n daemon script
849f87c0b5
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
9de5af239d
Fix string to number conversion
...
QString::number is for that, the implicit conversion from int to a string
does something very different. Found by Qt6 no longer having the implicit
conversion from int.
4 years ago
Volker Krause
bed81d6476
Adapt to Qt6 nativeEventFilter changes
4 years ago
Volker Krause
662276bab0
Remove non-implemented ctor declaration
...
Has the nice side-effect of removing a reference to the deprecated
KPluginInfo.
4 years ago
Aleix Pol
eb98f01df6
ShellCorona: Use qCDebug(PLASMASHELL)
4 years ago
Kai Uwe Broulik
9e1ab30cca
[Icons KCM] Give measure delegate a text
...
It appears at some point `ItemDelegate` changed to collapse
when it has no text, breaking the popup size calculation.
4 years ago
Kai Uwe Broulik
0afcc120eb
[Kicker] Port from KConcatenateRowsProxyModel
...
It is deprecated and to be replaced by QConcatenateTablesProxyModel
4 years ago
Noah Davis
703e129f71
wallpapers: Sort BackgroundListModel by title
...
It seems like it had no sorting at all previously. Initially I thought
the issue was 10 coming before 2 because it starts with 1, but it seems
like reverse orders were also possible. Now it is always sorted
alphabetically with numbers properly accounted for.
4 years ago
Nicolas Fella
e49897b8f7
Fix automoc warning
...
Remove unneeded moc include
4 years ago
Nicolas Fella
329b7c567b
Use ECMFindQmlModule instead of ECMQMLModules
4 years ago
l10n daemon script
15bd9c2424
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
dbdae689ff
applets/digital-clock: Fix `Qt.formatDateTime` returns different date when minute changes
...
`Qt.formatDateTime` uses `MM` instead of `mm` to represent month number.
BUG: 436796
FIXED-IN: 5.24.3
4 years ago
l10n daemon script
9ae8ef01b5
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
Michail Vourlakos
8fcdfc309f
applets/systray: align applet labels with differing line counts in hidden view
...
Discover current minimum height of applet labels in hidden
view and apply it for all of them when they are shown
inside hidden applets view. This implementation provides
always only the maximum needed label height based on label
contents.
BUG: 438347
FIXED-IN: 5.24.3
4 years ago
Oleg Solovyov
e92d1d69ae
Show panel config above other windows
...
BUG: 450794
FIXED-IN: 5.24.3
4 years ago
Eugene Popov
892c5a27b4
SystemMonitor: Port to KMainWindow
...
Currently, KSystemActivityDialog is derived from QDialog and therefore has several
limitations:
* it doesn't save and restore its size and position
* it doesn't respect Window Placement settings (it always opens in the center)
Porting it to KMainWindow removes these limitations and saves the user from creating
window rules to get around them.
BUG: 400298
FIXED-IN: 5.25
4 years ago
l10n daemon script
fcb522f815
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
ab2df3a5d0
runners/services: Add `testCategories` in servicerunnertest
...
Test matchCategories() can match in the categories.
4 years ago
Fushan Wen
6182073e37
runners/services: Add `testJumpListActions` in servicerunnertest
...
Test matchJumpListActions() can match in the action list and set the
relevance to 0.55 if the match index is 0 or 0.5 if the match index > 0.
4 years ago
Fushan Wen
b7560c63ab
runners/services: Add `testExcutableExactMatch` in servicerunnertest
...
Test `matchExectuables()` can match in the "Exec" and set the relevance
to 1.0.
4 years ago
Fushan Wen
2fb9e48fff
runners/services: Remove KServiceTypeTrader header
...
KServiceTypeTrader is ported to KApplicationTrader.
4 years ago
Fushan Wen
9fd3621410
runners/services: Port to KApplicationTrader in matchJumpListActions
4 years ago
Fushan Wen
8ed8b78cbe
runners/services: Port to KApplicationTrader in matchCategories
4 years ago
Fushan Wen
bc9a9cffc8
runners/services: Port to KApplicationTrader in matchExectuables
4 years ago
Fushan Wen
7e29307a8e
runners/services: Port to KApplicationTrader in matchNameKeywordAndGenericName
4 years ago
l10n daemon script
a298977479
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
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
l10n daemon script
a7588366e6
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