Improve PageRouter API

Authored by cblack on May 11 2020, 4:21 PM.

Description

Improve PageRouter API

Summary:
This patch fixes shortcomings in the PageRouter API regarding ease of use, verbosity, idiomaticness, and signals.

Introduced:

  • pushFromHere() and popFromHere(): pushing and popping operations that operate from the current route
  • watchedRoute and watchedRouteActive: declarative counterpart to routeActive that responds to signals
  • Navigation signals

Reviewers: Kirigami, mart

Reviewed By: Kirigami, mart

Subscribers: mart, plasma-devel

Tags: Kirigami

Differential Revision: https://phabricator.kde.org/D29288

Details

Committed
cblackMay 11 2020, 4:22 PM
Reviewer
Kirigami
Differential Revision
D29288: Improve PageRouter API
Parents
R169:fc5ba467d4eb: GIT_SILENT Upgrade KF5 version to 5.71.0.
Branches
Unknown
Tags
Unknown