|
| QString | clean_filename (const QString &filename) |
| | formatter for filepaths. Removes double separators and replaces them with os specific separators. More...
|
| |
| QString | calc_file_extension (const QString &filename) |
| | calc_file_extension More...
|
| |
|
QByteArray | calc_md5_sum (const QString &filename) |
| |
| void | remove_files_in_directory (const QString &dir_name, const QStringList &filters) |
| | Remove all files from directory. More...
|
| |
|
void | remove_files_in_directory (const QString &dir_name) |
| |
| void | delete_files (const QStringList &files) |
| | Remove all given files (also directories can be specified) More...
|
| |
| QString | get_parent_directory (const QString &path) |
| | get parent directory of a filepath More...
|
| |
| QString | get_filename_of_path (const QString &path) |
| | extract pure filename from a complete file path More...
|
| |
| void | split_filename (const QString &src, QString &dir, QString &filename) |
| | split filename into the dir and filename More...
|
| |
|
QStringList | split_directories (const QString &path) |
| |
| QString | get_file_extension (const QString &filename) |
| | get file extension More...
|
| |
| QStringList | get_parent_directories (const QStringList &list) |
| | extract parent folder of a file list (see also get_parent_directory(const QString& path) More...
|
| |
| QString | get_absolute_filename (const QString &filename) |
| | get absolute filename of file More...
|
| |
| bool | create_directories (const QString &path) |
| | create all directories necessary to access path More...
|
| |
|
bool | create_symlink (const QString &source, const QString &target) |
| |
| QString | calc_filesize_str (uint64_t filesize) |
| | convert filesize to string More...
|
| |
| bool | is_absolute (const QString &filename) |
| | Tell whether filename is absolute. More...
|
| |
| bool | write_file (const QByteArray &raw_data, const QString &filename) |
| | Write raw data to file. More...
|
| |
| bool | read_file_into_str (const QString &filename, QString &content) |
| | read a complete file into a string More...
|
| |
| bool | read_file_into_byte_arr (const QString &filename, QByteArray &content) |
| | read a complete file into a byte array More...
|
| |
| bool | check_file (const QString &filepath) |
| | Check, if file is valid. Web URLs are always valid. More...
|
| |
|
QString | get_common_directory (const QStringList &paths) |
| |
|
QString | get_common_directory (QString dir1, QString dir2) |
| |
|
bool | create_dir (const QString &dir_name) |
| |
|
bool | copy_dir (const QString &src_dir, const QString &target_dir) |
| |
|
QString | move_dir (const QString &src_dir, const QString &target_dir) |
| |
|
bool | rename_dir (const QString &src_dir, const QString &new_name) |
| |
|
bool | can_copy_dir (const QString &src_dir, const QString &target_dir) |
| |
|
bool | move_file (const QString &file, const QString &dir) |
| |
|
bool | copy_file (const QString &file, const QString &dir) |
| |
|
bool | move_files (const QStringList &files, const QString &dir) |
| |
|
bool | rename_file (const QString &old_name, const QString &new_name) |
| |
|
bool | copy_files (const QStringList &files, const QString &dir) |
| |
|
bool | is_url (const QString &str) |
| |
|
bool | is_www (const QString &str) |
| |
|
bool | is_file (const QString &filename) |
| |
|
bool | is_dir (const QString &filename) |
| |
|
bool | is_soundfile (const QString &filename) |
| |
|
bool | is_playlistfile (const QString &filename) |
| |
|
bool | is_imagefile (const QString &filename) |
| |