-rw-r--r-- | noncore/settings/language/language.pro | 1 | ||||
-rw-r--r-- | noncore/settings/sound/sound.pro | 2 | ||||
-rw-r--r-- | noncore/settings/sound/soundsettings.cpp | 4 | ||||
-rw-r--r-- | noncore/settings/sysinfo/sysinfo.pro | 1 |
4 files changed, 6 insertions, 2 deletions
diff --git a/noncore/settings/language/language.pro b/noncore/settings/language/language.pro index c01ffc8..a1d54f8 100644 --- a/noncore/settings/language/language.pro +++ b/noncore/settings/language/language.pro | |||
@@ -1,12 +1,13 @@ | |||
1 | TEMPLATE= app | 1 | TEMPLATE= app |
2 | CONFIG += qt warn_on release | 2 | CONFIG += qt warn_on release |
3 | DESTDIR = ../../bin | 3 | DESTDIR = ../../bin |
4 | HEADERS = settings.h | 4 | HEADERS = settings.h |
5 | SOURCES = language.cpp main.cpp | 5 | SOURCES = language.cpp main.cpp |
6 | INTERFACES= languagesettingsbase.ui | 6 | INTERFACES= languagesettingsbase.ui |
7 | INCLUDEPATH += $(OPIEDIR)/include | 7 | INCLUDEPATH += $(OPIEDIR)/include |
8 | DEPENDPATH+= ../$(OPIEDIR)/include | 8 | DEPENDPATH+= ../$(OPIEDIR)/include |
9 | LIBS += -lqpe | 9 | LIBS += -lqpe |
10 | TARGET = language | 10 | TARGET = language |
11 | 11 | ||
12 | TRANSLATIONS = ../../i18n/de/language.ts | 12 | TRANSLATIONS = ../../i18n/de/language.ts |
13 | TRANSLATIONS = ../../i18n/pt_BR/language.ts | ||
diff --git a/noncore/settings/sound/sound.pro b/noncore/settings/sound/sound.pro index 44eff44..8b33ff2 100644 --- a/noncore/settings/sound/sound.pro +++ b/noncore/settings/sound/sound.pro | |||
@@ -1,10 +1,12 @@ | |||
1 | TEMPLATE= app | 1 | TEMPLATE= app |
2 | CONFIG += qt warn_on release | 2 | CONFIG += qt warn_on release |
3 | DESTDIR = ../../bin | 3 | DESTDIR = ../../bin |
4 | HEADERS = soundsettings.h | 4 | HEADERS = soundsettings.h |
5 | SOURCES = soundsettings.cpp main.cpp | 5 | SOURCES = soundsettings.cpp main.cpp |
6 | INTERFACES= soundsettingsbase.ui | 6 | INTERFACES= soundsettingsbase.ui |
7 | INCLUDEPATH += $(OPIEDIR)/include | 7 | INCLUDEPATH += $(OPIEDIR)/include |
8 | DEPENDPATH+= ../$(OPIEDIR)/include | 8 | DEPENDPATH+= ../$(OPIEDIR)/include |
9 | LIBS += -lqpe | 9 | LIBS += -lqpe |
10 | TARGET = sound | 10 | TARGET = sound |
11 | |||
12 | TRANSLATIONS = ../../i18n/pt_BR/sound.ts | ||
diff --git a/noncore/settings/sound/soundsettings.cpp b/noncore/settings/sound/soundsettings.cpp index c2bf405..55f6c99 100644 --- a/noncore/settings/sound/soundsettings.cpp +++ b/noncore/settings/sound/soundsettings.cpp | |||
@@ -34,34 +34,34 @@ SoundSettings::SoundSettings( QWidget* parent, const char* name, WFlags fl ) | |||
34 | Config config( "Sound" ); | 34 | Config config( "Sound" ); |
35 | config.setGroup( "System" ); | 35 | config.setGroup( "System" ); |
36 | volume->setValue(100-config.readNumEntry("Volume")); | 36 | volume->setValue(100-config.readNumEntry("Volume")); |
37 | mic->setValue(100-config.readNumEntry("Mic")); | 37 | mic->setValue(100-config.readNumEntry("Mic")); |
38 | touchsound->setChecked(config.readBoolEntry("Touch")); | 38 | touchsound->setChecked(config.readBoolEntry("Touch")); |
39 | keysound->setChecked(config.readBoolEntry("Key")); | 39 | keysound->setChecked(config.readBoolEntry("Key")); |
40 | 40 | ||
41 | config.setGroup("Record"); | 41 | config.setGroup("Record"); |
42 | int rate=config.readNumEntry("SampleRate", 11025); | 42 | int rate=config.readNumEntry("SampleRate", 11025); |
43 | if(rate == 11025) | 43 | if(rate == 11025) |
44 | sampleRate->setCurrentItem(0); | 44 | sampleRate->setCurrentItem(0); |
45 | else if(rate == 22050) | 45 | else if(rate == 22050) |
46 | sampleRate->setCurrentItem(1); | 46 | sampleRate->setCurrentItem(1); |
47 | else if(rate==44100) | 47 | else if(rate==44100) |
48 | sampleRate->setCurrentItem(2); | 48 | sampleRate->setCurrentItem(2); |
49 | 49 | ||
50 | stereoCheckBox->setChecked(config.readNumEntry("Stereo", 0)); | 50 | stereoCheckBox->setChecked(config.readNumEntry("Stereo", 0)); |
51 | sixteenBitCheckBox->setChecked(config.readNumEntry("SixteenBit", 0)); | 51 | sixteenBitCheckBox->setChecked(config.readNumEntry("SixteenBit", 1)); |
52 | 52 | ||
53 | connect(volume, SIGNAL(valueChanged(int)), this, SLOT(setVolume(int))); | 53 | connect(volume, SIGNAL(valueChanged(int)), this, SLOT(setVolume(int))); |
54 | connect(mic, SIGNAL(valueChanged(int)), this, SLOT(setMic(int))); | 54 | connect(mic, SIGNAL(valueChanged(int)), this, SLOT(setMic(int))); |
55 | connect(qApp, SIGNAL( volumeChanged(bool) ), this, SLOT( volumeChanged(bool) ) ); | 55 | connect(qApp, SIGNAL( volumeChanged(bool) ), this, SLOT( volumeChanged(bool) ) ); |
56 | connect(qApp, SIGNAL( micChanged(bool) ), this, SLOT ( micChanged(bool) ) ); | 56 | connect(qApp, SIGNAL( micChanged(bool) ), this, SLOT ( micChanged(bool) ) ); |
57 | } | 57 | } |
58 | 58 | ||
59 | void SoundSettings::reject() | 59 | void SoundSettings::reject() |
60 | { | 60 | { |
61 | Config config( "Sound" ); | 61 | Config config( "Sound" ); |
62 | config.setGroup( "System" ); | 62 | config.setGroup( "System" ); |
63 | setVolume(100-config.readNumEntry("Volume")); | 63 | setVolume(100-config.readNumEntry("Volume")); |
64 | setMic(100-config.readNumEntry("Mic")); | 64 | setMic(100-config.readNumEntry("Mic")); |
65 | 65 | ||
66 | config.setGroup("Record"); | 66 | config.setGroup("Record"); |
67 | int rate=config.readNumEntry("SampleRate", 11025); | 67 | int rate=config.readNumEntry("SampleRate", 11025); |
diff --git a/noncore/settings/sysinfo/sysinfo.pro b/noncore/settings/sysinfo/sysinfo.pro index f14716e..95278ee 100644 --- a/noncore/settings/sysinfo/sysinfo.pro +++ b/noncore/settings/sysinfo/sysinfo.pro | |||
@@ -14,16 +14,17 @@ SOURCES = main.cpp \ | |||
14 | graph.cpp \ | 14 | graph.cpp \ |
15 | load.cpp \ | 15 | load.cpp \ |
16 | storage.cpp \ | 16 | storage.cpp \ |
17 | processinfo.cpp \ | 17 | processinfo.cpp \ |
18 | processdetail.cpp \ | 18 | processdetail.cpp \ |
19 | versioninfo.cpp \ | 19 | versioninfo.cpp \ |
20 | sysinfo.cpp | 20 | sysinfo.cpp |
21 | INTERFACES = | 21 | INTERFACES = |
22 | 22 | ||
23 | INCLUDEPATH += $(OPIEDIR)/include | 23 | INCLUDEPATH += $(OPIEDIR)/include |
24 | DEPENDPATH += $(OPIEDIR)/include | 24 | DEPENDPATH += $(OPIEDIR)/include |
25 | LIBS += -lqpe | 25 | LIBS += -lqpe |
26 | 26 | ||
27 | TARGET = sysinfo | 27 | TARGET = sysinfo |
28 | 28 | ||
29 | TRANSLATIONS = ../i18n/de/sysinfo.ts | 29 | TRANSLATIONS = ../i18n/de/sysinfo.ts |
30 | TRANSLATIONS = ../i18n/pt_BR/sysinfo.ts | ||