diff options
Diffstat (limited to 'qdeduper/utilities.hpp')
-rw-r--r-- | qdeduper/utilities.hpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/qdeduper/utilities.hpp b/qdeduper/utilities.hpp new file mode 100644 index 0000000..a4f4f61 --- /dev/null +++ b/qdeduper/utilities.hpp @@ -0,0 +1,18 @@ +#ifndef UTILITIES_HPP +#define UTILITIES_HPP + +#include <filesystem> + +#include <QString> + +namespace fs = std::filesystem; + +namespace utilities +{ + void open_containing_folder(const fs::path &path); + QString fspath_to_qstring(const fs::path &p); + QString fsstr_to_qstring(const fs::path::string_type &s); + fs::path qstring_to_path(const QString &s); +}; + +#endif |