|
Rabbit Remote Control 0.1.0-bate14
|


Public Types | |
| enum | ColumnNo { Name = 0 , Protocol , Type , Time , ID , File , ColumnCount } |
Public Member Functions | |
| CRecentModel (CParameterApp *pPara, CRecentDatabase *pDb, QObject *parent=nullptr) | |
| virtual Qt::ItemFlags | flags (const QModelIndex &index) const override |
| QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const override |
| int | rowCount (const QModelIndex &parent=QModelIndex()) const override |
| virtual int | columnCount (const QModelIndex &parent) const override |
| QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const override |
| virtual bool | removeRows (int row, int count, const QModelIndex &parent) override |
| void | refresh (int limit=-1) |
| bool | addItem (const CRecentDatabase::RecentItem &item) |
| CRecentDatabase::RecentItem | getItem (const QModelIndex &index) |
Private Attributes | |
| CParameterApp * | m_pParameterApp |
| CRecentDatabase * | m_pDatabase |
| QVector< CRecentDatabase::RecentItem > | m_Items |
Definition at line 10 of file RecentModel.h.
| enum CRecentModel::ColumnNo |
Definition at line 30 of file RecentModel.h.
| bool CRecentModel::addItem | ( | const CRecentDatabase::RecentItem & | item | ) |
Definition at line 164 of file RecentModel.cpp.
|
overridevirtual |
Definition at line 72 of file RecentModel.cpp.
|
override |
Definition at line 77 of file RecentModel.cpp.
|
overridevirtual |
Definition at line 17 of file RecentModel.cpp.
| CRecentDatabase::RecentItem CRecentModel::getItem | ( | const QModelIndex & | index | ) |
Definition at line 151 of file RecentModel.cpp.
|
override |
Definition at line 48 of file RecentModel.cpp.
| void CRecentModel::refresh | ( | int | limit = -1 | ) |
Definition at line 136 of file RecentModel.cpp.
|
overridevirtual |
Definition at line 118 of file RecentModel.cpp.
|
override |
Definition at line 64 of file RecentModel.cpp.
|
private |
Definition at line 43 of file RecentModel.h.
|
private |
Definition at line 42 of file RecentModel.h.
|
private |
Definition at line 41 of file RecentModel.h.