• Pierre Rossi's avatar
    Move navigationHistory out of experimental · 6717d581
    Pierre Rossi authored
    
    Add an offset role to the models.
    Implement goBackAndForward that uses this offset.
    
    Also add a complete model, items, that includes current
    navigation entry (at offset 0) to allow for the Firefox-style
    single menu, and add that one to the nano browser example.
    
    The models are now instantiated lazily as it's unlikely the
    three models will be used by the same app.
    
    Change-Id: Ib551738611497c7eb9c501f045cda315968a2ada
    Reviewed-by: default avatarAndras Becsi <andras.becsi@theqtcompany.com>
    6717d581
examples.pro 260 bytes
TEMPLATE=subdirs
qtHaveModule(webengine) {
    SUBDIRS += webengine/quicknanobrowser
qtHaveModule(webenginewidgets) {
    SUBDIRS += \
        webenginewidgets/demobrowser \
        webenginewidgets/fancybrowser \
        webenginewidgets/markdowneditor