You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Eike Hein
b40c0de099
When used by QML, only populate after component is complete
...
Summary:
This introduces the use of QQmlParserStatus to delay populating
the model until all properties have been set, to avoid delegate
churn.
TasksModel is also meant to be used by C++. There's no good way
to determine whether an object is being instanciated by QML
during construction time, therefore this patch also introduces a
delay in initial population of the model after construction via
a single-shot timer. At the time the slot is invoked we know if
we're used by QML (because QQmlParserStatus::classBegin has
either been called or not by then) so we can decide to populate
or wait more for QQmlParserStatus::componentComplete.
I'm not super happy with this behavior change for C++ users,
however as the model is usually used via QML currently, it's
pragmatic to optimize performance for the common case, and it
doesn't technically break QAbstractItemModel semantics, as model
population isn't required to be sync.
There's a decent change this fixes a recently-reported crash as a
by-product:
CCBUG:386630
Reviewers: #plasma, davidedmundson, mart
Subscribers: plasma-devel
Tags: #plasma
Differential Revision: https://phabricator.kde.org/D8723
8 years ago
applets
SVN_SILENT made messages (.desktop file) - always resolve ours
8 years ago
appmenu
SVN_SILENT made messages (.desktop file) - always resolve ours
9 years ago
cmake
Fix build without libqalculate
9 years ago
components
[Widget Explorer] Hide "Download New Widgets" if GHNS is disabled by KIOSK restriction
9 years ago
containmentactions
Be more explicit about Qt5::Widgets dependencies
8 years ago
dataengines
DictEngine: set a scheme for the URLs, otherwise webengine won't handle them
8 years ago
doc
always install policykit-kde docs as the translations are always installed anyway and build is now fixed
9 years ago
freespacenotifier
SVN_SILENT made messages (.desktop file) - always resolve ours
9 years ago
kioslave
SVN_SILENT made messages (.desktop file) - always resolve ours
9 years ago
klipper
Make tooltips in klipper settings dialog translatable
8 years ago
krunner
static_cast QPlatformSurfaceEvent instead of dynamic_cast
9 years ago
ksmserver
Move debugging tool for autostart from kinit to here, where autostart.* has moved.
8 years ago
ksplash
[KSplashQML] Drop "Loading stage" debug output
9 years ago
ktimezoned
SVN_SILENT made messages (.desktop file) - always resolve ours
9 years ago
kuiserver
Disable kuiserver debug output by default; make it appear in kdebugsettings.
9 years ago
libdbusmenuqt
Preserve the order in dbus menu when doing action reusing.
8 years ago
libkworkspace
Be more explicit about Qt5::Widgets dependencies
8 years ago
libtaskmanager
When used by QML, only populate after component is complete
8 years ago
lookandfeel
Merge remote-tracking branch 'origin/Plasma/5.11'
9 years ago
menu
SVN_SILENT made messages (.desktop file) - always resolve ours
9 years ago
phonon
Rename the translation catalog (avoid conflicts)
9 years ago
plasma-windowed
[Plasma Windowed] Use setSize instead of setWidth + setHeight
9 years ago
plasmacalendarintegration
Use Q_DECL_OVERRIDE
9 years ago
runners
SVN_SILENT made messages (.desktop file) - always resolve ours
8 years ago
sddm-theme
better layout and animate keyboard
9 years ago
shell
Only assert on broken GL when we're rendering using GL
9 years ago
solidautoeject
SVN_SILENT made messages (.desktop file) - always resolve ours
9 years ago
soliduiserver
SVN_SILENT made messages (.desktop file) - always resolve ours
8 years ago
startkde
Sync xwayland DPI font to wayland dpi
9 years ago
statusnotifierwatcher
SNI KDED: register DBus object before service name
9 years ago
systemmonitor
SVN_SILENT made messages (.desktop file) - always resolve ours
9 years ago
templates
SVN_SILENT made messages (.desktop file) - always resolve ours
9 years ago
themes
SVN_SILENT made messages (.desktop file) - always resolve ours
9 years ago
wallpapers
Change "Open..." to "Add Image..." in Wallpaper chooser
8 years ago
xembed-sni-proxy
Merge branch 'Plasma/5.10'
9 years ago
.arcconfig
…
.reviewboardrc
…
CMakeLists.txt
Update version number for 5.11.3
8 years ago
COPYING
…
COPYING.DOC
…
COPYING.LIB
…
ConfigureChecks.cmake
Clean up configure checks, none of the code here use PAM anymore.
10 years ago
ExtraDesktop.sh
i18n: handle strings in kdevtemplate files
10 years ago
HACKING
…
Mainpage.dox
…
config-X11.h.cmake
…
config-unix.h.cmake
Clean up configure checks, none of the code here use PAM anymore.
10 years ago
config-workspace.h.cmake
…
plasma.desktop.cmake
SVN_SILENT made messages (.desktop file) - always resolve ours
9 years ago
plasmawayland.desktop.cmake
SVN_SILENT made messages (.desktop file) - always resolve ours
9 years ago