Atlas Game Manager
A game manager for f95 and dlsite written in c++
Loading...
Searching...
No Matches
SIModel Class Referencefinal

#include <SIModel.hpp>

Inheritance diagram for SIModel:

Public Member Functions

 SIModel (QObject *parent=nullptr)
 
 ~SIModel () override
 
void setRoot (const QString path)
 
QModelIndex index (int row, int column, const QModelIndex &parent) const override
 
QModelIndex parent (const QModelIndex &child) const override
 
int rowCount (const QModelIndex &parent) const override
 
int columnCount (const QModelIndex &parent) const override
 
QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const override
 

Private Attributes

Nodem_root { nullptr }
 

Constructor & Destructor Documentation

◆ SIModel()

SIModel::SIModel ( QObject * parent = nullptr)
explicit

◆ ~SIModel()

SIModel::~SIModel ( )
override

Member Function Documentation

◆ columnCount()

int SIModel::columnCount ( const QModelIndex & parent) const
override

◆ data()

QVariant SIModel::data ( const QModelIndex & index,
int role = Qt::DisplayRole ) const
override

◆ index()

QModelIndex SIModel::index ( int row,
int column,
const QModelIndex & parent ) const
override

◆ parent()

QModelIndex SIModel::parent ( const QModelIndex & child) const
override

◆ rowCount()

int SIModel::rowCount ( const QModelIndex & parent) const
override

◆ setRoot()

void SIModel::setRoot ( const QString path)

Member Data Documentation

◆ m_root

Node* SIModel::m_root { nullptr }
private

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