aboutsummaryrefslogtreecommitdiff
path: root/qdeduper/utilities.hpp
blob: f2147f7bd1cefe9f7f60b21ee9c87146869905b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//Chris Xiong 2022
//License: MPL-2.0
#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