diff options
Diffstat (limited to 'path_functions.cpp')
| -rw-r--r-- | path_functions.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/path_functions.cpp b/path_functions.cpp new file mode 100644 index 0000000..8766656 --- /dev/null +++ b/path_functions.cpp @@ -0,0 +1,15 @@ +#include <QDir> + +#include "text_file_functions.h" + +#include "path_functions.h" + +QString get_base_path(){ + return (QDir::currentPath() + "/base/"); +} + +QString get_theme_path(){ + return get_base_path() + "themes/" + get_user_theme() + "/"; +} + + |
