-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathglobalish.h
executable file
·77 lines (48 loc) · 1.02 KB
/
globalish.h
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#ifndef globalish_H
#define globalish_H
#include <includes.h>
/**
* @brief The globalish class
* @author Roy Bellingan
*
*/
class globalish
{
private:
static globalish* instance;
QString str,str1,str2;
void db_common_init();
void load_config();
void db_acc_init();
public:
~globalish();
static globalish* getInstance()
{
if(instance == null){
instance = new globalish();
}
return instance;
}
void bootstrap();
int save_config();
QString lang1;
QString lang2;
/**
* @brief Do the language is modificable ?
*/
int lang2_type;
QSqlDatabase db_common,db_meine, db_lang1, db_lang2;
QString css_versetti;
bool interlinear;
int font_size;
int single_lang_width;
int interlinear_width;
// Tablet, desktop ecc...
QString layout_type;
/**
* @brief Raggruppamento dei paragrafi 0 default, 1 versetti sciolti
*/
int interlinear_layout;
protected:
};
#endif // globalish_H