FlightGear next
StackController Class Reference

#include <StackController.hxx>

Inherits QObject.

Signals

void currentPageChanged ()
 

Public Member Functions

 StackController ()
 
Q_INVOKABLE void push (QUrl page, QString title)
 
Q_INVOKABLE void pop ()
 
Q_INVOKABLE void replace (QUrl url, QString title)
 
QUrl currentPageSource () const
 
bool canGoBack () const
 
QString currentPageTitle () const
 
QString previousPageTitle () const
 

Properties

QUrl currentPageSource
 
bool canGoBack
 
QString currentPageTitle
 
QString previousPageTitle
 

Detailed Description

Definition at line 29 of file StackController.hxx.

Constructor & Destructor Documentation

◆ StackController()

StackController::StackController ( )

Definition at line 23 of file StackController.cxx.

Member Function Documentation

◆ canGoBack()

bool StackController::canGoBack ( ) const

Definition at line 48 of file StackController.cxx.

◆ currentPageChanged

void StackController::currentPageChanged ( )
signal

◆ currentPageSource()

QUrl StackController::currentPageSource ( ) const

Definition at line 27 of file StackController.cxx.

◆ currentPageTitle()

QString StackController::currentPageTitle ( ) const

Definition at line 34 of file StackController.cxx.

◆ pop()

void StackController::pop ( )

Definition at line 60 of file StackController.cxx.

◆ previousPageTitle()

QString StackController::previousPageTitle ( ) const

Definition at line 41 of file StackController.cxx.

◆ push()

void StackController::push ( QUrl page,
QString title )

Definition at line 53 of file StackController.cxx.

◆ replace()

void StackController::replace ( QUrl url,
QString title )

Definition at line 69 of file StackController.cxx.

Property Documentation

◆ canGoBack

bool StackController::canGoBack
read

Definition at line 35 of file StackController.hxx.

◆ currentPageSource

QUrl StackController::currentPageSource
read

Definition at line 33 of file StackController.hxx.

◆ currentPageTitle

QString StackController::currentPageTitle
read

Definition at line 37 of file StackController.hxx.

◆ previousPageTitle

QString StackController::previousPageTitle
read

Definition at line 38 of file StackController.hxx.


The documentation for this class was generated from the following files: