aboutsummaryrefslogtreecommitdiff
path: root/path_functions.cpp
blob: 7afd923a32d2268fa3b6cb21b2cfa7f2be0c46ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#include "aoapplication.h"

#include "text_file_functions.h"

#include <QDir>
#include <QDebug>

QString AOApplication::get_base_path(){
  return (QDir::currentPath() + "/base/");
}

QString AOApplication::get_theme_path()
{
  return get_base_path() + "themes/" + user_theme.toLower() + "/";
}

QString AOApplication::get_default_theme_path()
{
  return get_base_path() + "themes/default/";
}

QString AOApplication::get_character_path(QString p_character)
{
  return get_base_path() + "characters/" + p_character.toLower() + "/";
}

QString AOApplication::get_demothings_path()
{
  return get_base_path() + "misc/demothings/";
}