FlightGear next
LauncherNotificationsController::NotificationsModel Class Reference

Inherits QAbstractListModel.

Classes

struct  Data
 

Public Member Functions

int rowCount (const QModelIndex &) const override
 
QVariant data (const QModelIndex &index, int role) const override
 
QHash< int, QByteArray > roleNames () const override
 
void removeIndex (int row)
 
void append (QString id, QUrl source, QJSValue args)
 

Public Attributes

std::vector< Data_data
 

Detailed Description

Definition at line 36 of file LauncherNotificationsController.cxx.

Member Function Documentation

◆ append()

void LauncherNotificationsController::NotificationsModel::append ( QString id,
QUrl source,
QJSValue args )
inline

Definition at line 88 of file LauncherNotificationsController.cxx.

◆ data()

QVariant LauncherNotificationsController::NotificationsModel::data ( const QModelIndex & index,
int role ) const
inlineoverride

Definition at line 44 of file LauncherNotificationsController.cxx.

◆ removeIndex()

void LauncherNotificationsController::NotificationsModel::removeIndex ( int row)
inline

Definition at line 72 of file LauncherNotificationsController.cxx.

◆ roleNames()

QHash< int, QByteArray > LauncherNotificationsController::NotificationsModel::roleNames ( ) const
inlineoverride

Definition at line 63 of file LauncherNotificationsController.cxx.

◆ rowCount()

int LauncherNotificationsController::NotificationsModel::rowCount ( const QModelIndex & ) const
inlineoverride

Definition at line 39 of file LauncherNotificationsController.cxx.

Member Data Documentation

◆ _data

std::vector<Data> LauncherNotificationsController::NotificationsModel::_data

Definition at line 102 of file LauncherNotificationsController.cxx.


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