|void||busyMessage (string message)|
|void||downloadedItemClicked (variant installedFiles)|
|void||errorMessage (string message)|
|void||idleMessage (string message)|
|void||message (string message)|
To use NewStuffList, simply instantiate it and pass the local file location of a knsrc file to the configFile property.
The components will, in this case, take care of the rest for you. If you want more, you can look at what NewStuffItem does with the various bits, and be inspired by that.
An (overly simple) example which might be used for managing wallpapers and just outputting any messages onto the console can be seen below. Note that you should obviously not be using hardcoded paths, it is done here to get the idea across.
Definition at line 32 of file NewStuffList.qml.
The configuration file which describes the application (knsrc)
The format and location of this file is found in the documentation for KNS3::DownloadDialog
Definition at line 40 of file NewStuffList.qml.
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon May 8 2023 04:11:06 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.