| 245 | } |
| 246 | |
| 247 | bool File::remove(const String& file) |
| 248 | { |
| 249 | if (!exists(file)) |
| 250 | { |
| 251 | return true; |
| 252 | } |
| 253 | if (std::remove(file.c_str()) != 0) |
| 254 | { |
| 255 | return false; |
| 256 | } |
| 257 | return true; |
| 258 | } |
| 259 | |
| 260 | bool File::removeDir(const QString& dir_name) |
| 261 | { |
no outgoing calls