| 15 | } |
| 16 | |
| 17 | QVariant T_LogModel::data(const QModelIndex& index, int role) const |
| 18 | { |
| 19 | if (role == Qt::DisplayRole) |
| 20 | { |
| 21 | return _logList[index.row()]; |
| 22 | } |
| 23 | return QVariant(); |
| 24 | } |
| 25 | |
| 26 | void T_LogModel::setLogList(QStringList list) |
| 27 | { |
no outgoing calls
no test coverage detected