From e25c84c0463f5a43d3b2bb836850f5c5963a2846 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Fri, 30 Sep 2022 23:58:46 -0400 Subject: Add context menu for the image view. Shortcuts are currently broken. Will be fixed in future commits. --- qdeduper/utilities.hpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 qdeduper/utilities.hpp (limited to 'qdeduper/utilities.hpp') 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 + +#include + +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 -- cgit v1.2.3