ifw-fcf  5.0.0-pre2
Public Member Functions | List of all members
CmdLogModel Class Reference

#include <cmdLogModel.h>

Inheritance diagram for CmdLogModel:

Public Member Functions

 CmdLogModel (QObject *parent=0)
 
 CmdLogModel (QList< LogInfo > logInfos, QObject *parent=0)
 
int rowCount (const QModelIndex &parent) const override
 
int rowCount () const
 
int columnCount (const QModelIndex &parent) const override
 
QVariant data (const QModelIndex &index, int role) const override
 
QVariant headerData (int section, Qt::Orientation orientation, int role) const override
 
Qt::ItemFlags flags (const QModelIndex &index) const override
 
bool setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) override
 
bool insertRows (int position, int rows, const QModelIndex &index=QModelIndex()) override
 
bool removeRows (int position, int rows, const QModelIndex &index=QModelIndex()) override
 
QList< LogInfogetLogInfos () const
 

Constructor & Destructor Documentation

◆ CmdLogModel() [1/2]

CmdLogModel::CmdLogModel ( QObject *  parent = 0)
explicit

◆ CmdLogModel() [2/2]

CmdLogModel::CmdLogModel ( QList< LogInfo logInfos,
QObject *  parent = 0 
)
explicit

Member Function Documentation

◆ columnCount()

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

◆ data()

QVariant CmdLogModel::data ( const QModelIndex &  index,
int  role 
) const
override

◆ flags()

Qt::ItemFlags CmdLogModel::flags ( const QModelIndex &  index) const
override

◆ getLogInfos()

QList< LogInfo > CmdLogModel::getLogInfos ( ) const

◆ headerData()

QVariant CmdLogModel::headerData ( int  section,
Qt::Orientation  orientation,
int  role 
) const
override

◆ insertRows()

bool CmdLogModel::insertRows ( int  position,
int  rows,
const QModelIndex &  index = QModelIndex() 
)
override

◆ removeRows()

bool CmdLogModel::removeRows ( int  position,
int  rows,
const QModelIndex &  index = QModelIndex() 
)
override

◆ rowCount() [1/2]

int CmdLogModel::rowCount ( ) const

◆ rowCount() [2/2]

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

◆ setData()

bool CmdLogModel::setData ( const QModelIndex &  index,
const QVariant &  value,
int  role = Qt::EditRole 
)
override

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