qt5
Last change
on this file since 8b71fb3 was
8b71fb3,
checked in by pavelpa <pavelpa@…>, 13 years ago
|
forgotten appsettings files
|
-
Property mode set to
100644
|
File size:
337 bytes
|
Line | |
---|
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 | |
---|
Note: See
TracBrowser
for help on using the repository browser.