MorphoGraphX
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Dir.hpp
1 #ifndef DIR_HPP
2 #define DIR_HPP
3 
4 #include <Config.hpp>
5 
6 #include <QDir>
7 
8 namespace mgx {
9 namespace util {
10 
12 mgx_EXPORT QString stripCurrentDir(QString file);
13 
15 mgx_EXPORT QString stripDir(const QString& dir, QString file);
16 
18 mgx_EXPORT QString getDir(QString file);
19 
21 mgx_EXPORT bool setCurrentPath(const QString& path);
22 
24 mgx_EXPORT QString currentPath();
25 
27 mgx_EXPORT QDir currentDir();
28 
30 mgx_EXPORT QString absoluteFilePath(QString filename);
31 
33 mgx_EXPORT QString resolvePath(QString path);
34 } // namespace util
35 } // namespace mgx
36 
37 #endif