Skip to content

A hardened Linux desktop, rebuilt from scratch, with your Windows apps built in. Free and open source.

614 B
Raw Blame
pragma Singleton

import QtQuick

// Lets any page open another without reaching up through the item tree.
// The window registers itself here when it starts.
QtObject {
    property var window: null
    // Something a page should do once it is open, asked for from outside
    // (wildos-settings --page signin-wallet asks Sign-in options to open
    // its saved passwords dialog, --page update-install asks Updates to
    // install what is waiting). The page clears it when done.
    property string request: ""

    function open(id) {
        if (window) {
            window.openPage(id);
        }
    }
}