| 397 | } |
| 398 | |
| 399 | int CRemoteFileSystemModel::rowCount(const QModelIndex &parent) const |
| 400 | { |
| 401 | //qDebug(log) << Q_FUNC_INFO << parent; |
| 402 | if(!parent.isValid()) return 0; |
| 403 | CRemoteFileSystem* pItem = nullptr; |
| 404 | pItem = GetRemoteFileSystemFromIndex(parent); |
| 405 | if(pItem) |
| 406 | return pItem->ChildCount(); |
| 407 | return 0; |
| 408 | } |
| 409 | |
| 410 | int CRemoteFileSystemModel::columnCount(const QModelIndex &parent) const |
| 411 | { |
nothing calls this directly
no test coverage detected