|void||entryEvent (QtObject entry, int event)|
|void||showEntryDetails (providerId, entryId)|
An action which when triggered will open a NewStuff.Dialog or a NewStuff.Page, depending on settings.
- 1.81 This component is equivalent to the old Button component, but functions in more modern applications
The following is a simple example of how to use this Action to show wallpapers from the KDE Store, on a system where Plasma has been installed (and consequently the wallpaper knsrc file is available). This also shows how to make the action push a page to a pageStack rather than opening a dialog:
- See also
Contains the entries which have been changed.
- This is cleared when the page is shown, so the changed entries are those changed since the page was opened most recently (rather than the lifetime of the instance of the Action component)
- Since 5.82, use entryEvent instead
If this is set, the action will push a NewStuff.Page onto this page stack (and request it is made visible if triggered again).
If you do not set this property, the action will spawn a NewStuff.Dialog instead.
- If you are building a KCM, set this to your
If this is true (default is false), the action will be shown when the Kiosk settings are such that Get Hot New Stuff is disallowed (and any other time enabled is set to false).
Usually you would want to leave this alone, but occasionally you may have a reason to leave a action in place that the user is unable to enable.
Member Function Documentation
This forwards the entry changed event from the QtQuick engine.
- See also
Show the details page for a specific entry.
If you call this function before the engine initialisation has been completed, the action itself will be postponed until that has happened.
providerId The provider ID for the entry you wish to show details for entryId The unique ID for the entry you wish to show details for
Show the page/dialog (same as activating the action), if allowed by the Kiosk settings.
The documentation for this class was generated from the following file: