| 292 | } |
| 293 | |
| 294 | FileSystemItemPtr |
| 295 | FileSystemItem::childAt(int position) const |
| 296 | { |
| 297 | QMutexLocker l(&_imp->childrenMutex); |
| 298 | |
| 299 | if ( (position >= 0) && ( position < (int)_imp->children.size() ) ) { |
| 300 | return _imp->children[position]; |
| 301 | } else { |
| 302 | return FileSystemItemPtr(); |
| 303 | } |
| 304 | } |
| 305 | |
| 306 | int |
| 307 | FileSystemItem::childCount() const |
no test coverage detected