SqlEngine made STATIC
[toast/confclerk.git] / src / app / appsettings.cpp
1 #include "appsettings.h"
2
3 const QString CONF_ID_SETTING ("confId"); 
4
5 QSettings AppSettings::mSettings("Ixonos", "FOSDEM");
6
7 AppSettings::AppSettings()
8 { }
9
10 int AppSettings::confId()
11 {
12     return mSettings.value(CONF_ID_SETTING).toInt();
13 }
14
15 void AppSettings::setConfId(int aConfId)
16 {
17     mSettings.setValue(CONF_ID_SETTING, aConfId);
18 }
19