resetting state when my page is pop()-ed

Dirk Hohndel dirk at hohndel.org
Sat Feb 6 15:38:12 UTC 2016


On Sat, Feb 06, 2016 at 04:01:01PM +0100, kde at privat.broulik.de wrote:
> 
> in the apps I wrote I have a onBackRequested signal on my Page class which
> can also be used to reject the back button event (eg. event.accepted =
> false); I think something like this could be added to Plasma Mobile
> Components, too.

That may be just beyond my QML skills (still a steep learning curve
ahead), but I'll give it a try.

> Perhaps also a keepStateOnPop (or so) property which defaults to true which
> can be used to disable "going forward" again, though we don't want to
> encourage preventing that, I guess.

Why would you want to prevent going back to the page?

/D


More information about the Plasma-devel mailing list