| 227 | } |
| 228 | |
| 229 | QString CRemoteFileSystem::GetName() |
| 230 | { |
| 231 | QString szName; |
| 232 | QString szPath = GetPath(); |
| 233 | if(szPath == '/') |
| 234 | return szPath; |
| 235 | int nIndex = szPath.lastIndexOf('/'); |
| 236 | if(-1 == nIndex) |
| 237 | return QString(); |
| 238 | szName = szPath.right(szPath.size() - nIndex - 1); |
| 239 | if(GetState() == State::Getting) |
| 240 | szName += "(" + tr("getting") + " ......)"; |
| 241 | return szName; |
| 242 | } |
| 243 | |
| 244 | quint64 CRemoteFileSystem::GetSize() |
| 245 | { |
no outgoing calls
no test coverage detected