-rw-r--r-- | noncore/settings/mediummount/mediumglobal.cc | 2 | ||||
-rw-r--r-- | noncore/settings/sound/soundsettingsbase.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/noncore/settings/mediummount/mediumglobal.cc b/noncore/settings/mediummount/mediumglobal.cc index 0c6cf12..621784e 100644 --- a/noncore/settings/mediummount/mediumglobal.cc +++ b/noncore/settings/mediummount/mediumglobal.cc | |||
@@ -18,49 +18,49 @@ using namespace Opie::Core; | |||
18 | 18 | ||
19 | 19 | ||
20 | 20 | ||
21 | using namespace MediumMountSetting; | 21 | using namespace MediumMountSetting; |
22 | 22 | ||
23 | /* TRANSLATOR MediumMountSetting::MediumGlobalWidget */ | 23 | /* TRANSLATOR MediumMountSetting::MediumGlobalWidget */ |
24 | 24 | ||
25 | MediumGlobalWidget::MediumGlobalWidget(QWidget *wid, const char *name ) | 25 | MediumGlobalWidget::MediumGlobalWidget(QWidget *wid, const char *name ) |
26 | : QWidget( wid, name, WStyle_ContextHelp ) | 26 | : QWidget( wid, name, WStyle_ContextHelp ) |
27 | { | 27 | { |
28 | m_config = 0; | 28 | m_config = 0; |
29 | initGUI(); | 29 | initGUI(); |
30 | readConfig(); | 30 | readConfig(); |
31 | 31 | ||
32 | } | 32 | } |
33 | void MediumGlobalWidget::initGUI() | 33 | void MediumGlobalWidget::initGUI() |
34 | { | 34 | { |
35 | m_layout = new QVBoxLayout(this ); | 35 | m_layout = new QVBoxLayout(this ); |
36 | m_layout->setMargin( 4 ); | 36 | m_layout->setMargin( 4 ); |
37 | // m_layout->setSpacing( 10 ); | 37 | // m_layout->setSpacing( 10 ); |
38 | 38 | ||
39 | 39 | ||
40 | m_label = new QLabel( this ); | 40 | m_label = new QLabel( this ); |
41 | m_label->setTextFormat( Qt::RichText ); | 41 | m_label->setTextFormat( Qt::RichText ); |
42 | m_label->setText( tr("") ); | 42 | m_label->setText( "" ); |
43 | QWhatsThis::add( this, tr("If a medium gets inserted into this device Opie " | 43 | QWhatsThis::add( this, tr("If a medium gets inserted into this device Opie " |
44 | "tries to search the medium for Documents. On " | 44 | "tries to search the medium for Documents. On " |
45 | "large mediums this can take some time. You can choose " | 45 | "large mediums this can take some time. You can choose " |
46 | "if Opie should scan for Documents globally or on a " | 46 | "if Opie should scan for Documents globally or on a " |
47 | "per medium level. You're also able to reconfigure " | 47 | "per medium level. You're also able to reconfigure " |
48 | "each medium.") ); | 48 | "each medium.") ); |
49 | 49 | ||
50 | m_layout->addWidget( m_label ); | 50 | m_layout->addWidget( m_label ); |
51 | 51 | ||
52 | m_check = new QCheckBox( tr("Enable medium checking" ), this ); | 52 | m_check = new QCheckBox( tr("Enable medium checking" ), this ); |
53 | connect( m_check, SIGNAL(stateChanged(int) ), | 53 | connect( m_check, SIGNAL(stateChanged(int) ), |
54 | this, SLOT(slotEnableChecking() ) ); | 54 | this, SLOT(slotEnableChecking() ) ); |
55 | m_layout->addWidget(m_check ); | 55 | m_layout->addWidget(m_check ); |
56 | 56 | ||
57 | m_frame = new QFrame(this, "Frame" ); | 57 | m_frame = new QFrame(this, "Frame" ); |
58 | m_frame->setFrameShape( QFrame::Box ); | 58 | m_frame->setFrameShape( QFrame::Box ); |
59 | m_frame->setFrameShadow( QFrame::Sunken ); | 59 | m_frame->setFrameShadow( QFrame::Sunken ); |
60 | 60 | ||
61 | m_box = new QVBoxLayout( m_frame ); | 61 | m_box = new QVBoxLayout( m_frame ); |
62 | m_box->setMargin( 5 ); | 62 | m_box->setMargin( 5 ); |
63 | m_useglobal = new QCheckBox( tr("Use global settings"), m_frame ); | 63 | m_useglobal = new QCheckBox( tr("Use global settings"), m_frame ); |
64 | connect( m_useglobal, SIGNAL( stateChanged(int) ), | 64 | connect( m_useglobal, SIGNAL( stateChanged(int) ), |
65 | this, SLOT( slotGlobalChanged() ) ); | 65 | this, SLOT( slotGlobalChanged() ) ); |
66 | 66 | ||
diff --git a/noncore/settings/sound/soundsettingsbase.cpp b/noncore/settings/sound/soundsettingsbase.cpp index f283119..84187d2 100644 --- a/noncore/settings/sound/soundsettingsbase.cpp +++ b/noncore/settings/sound/soundsettingsbase.cpp | |||
@@ -106,49 +106,49 @@ SoundSettingsBase::SoundSettingsBase( QWidget* parent, const char* name, bool m | |||
106 | 106 | ||
107 | sampleRate = new QComboBox( FALSE,this, "sampleRate" ); | 107 | sampleRate = new QComboBox( FALSE,this, "sampleRate" ); |
108 | 108 | ||
109 | sampleRate->insertItem( tr( "8000" ) ); | 109 | sampleRate->insertItem( tr( "8000" ) ); |
110 | sampleRate->insertItem( tr( "11025" ) ); | 110 | sampleRate->insertItem( tr( "11025" ) ); |
111 | sampleRate->insertItem( tr( "22050" ) ); | 111 | sampleRate->insertItem( tr( "22050" ) ); |
112 | sampleRate->insertItem( tr( "33075" ) ); | 112 | sampleRate->insertItem( tr( "33075" ) ); |
113 | sampleRate->insertItem( tr( "44100" ) ); | 113 | sampleRate->insertItem( tr( "44100" ) ); |
114 | SoundSettingsBaseLayout->addMultiCellWidget( sampleRate, 2, 2, 0, 0, 1 ); | 114 | SoundSettingsBaseLayout->addMultiCellWidget( sampleRate, 2, 2, 0, 0, 1 ); |
115 | 115 | ||
116 | TextLabel1 = new QLabel( this, "TextLabel1" ); | 116 | TextLabel1 = new QLabel( this, "TextLabel1" ); |
117 | TextLabel1->setText( tr( "Recording Directory:" ) ); | 117 | TextLabel1->setText( tr( "Recording Directory:" ) ); |
118 | SoundSettingsBaseLayout->addMultiCellWidget( TextLabel1, 3, 3, 0, 0, 1); | 118 | SoundSettingsBaseLayout->addMultiCellWidget( TextLabel1, 3, 3, 0, 0, 1); |
119 | 119 | ||
120 | 120 | ||
121 | LocationComboBox = new QComboBox( FALSE, this, "LocationComboBox" ); | 121 | LocationComboBox = new QComboBox( FALSE, this, "LocationComboBox" ); |
122 | SoundSettingsBaseLayout->addMultiCellWidget( LocationComboBox, 4, 4, 0, 8, 1); | 122 | SoundSettingsBaseLayout->addMultiCellWidget( LocationComboBox, 4, 4, 0, 8, 1); |
123 | 123 | ||
124 | QLabel *TextLabelKey; | 124 | QLabel *TextLabelKey; |
125 | TextLabelKey = new QLabel( this, "TextLabelKey" ); | 125 | TextLabelKey = new QLabel( this, "TextLabelKey" ); |
126 | TextLabelKey->setText( tr( "Recording Key:" ) ); | 126 | TextLabelKey->setText( tr( "Recording Key:" ) ); |
127 | SoundSettingsBaseLayout->addMultiCellWidget(TextLabelKey , 5, 5, 0, 0, 1); | 127 | SoundSettingsBaseLayout->addMultiCellWidget(TextLabelKey , 5, 5, 0, 0, 1); |
128 | 128 | ||
129 | keyComboBox = new QComboBox( FALSE, this, "keyComboBox" ); | 129 | keyComboBox = new QComboBox( FALSE, this, "keyComboBox" ); |
130 | keyComboBox->insertItem( tr( "" ) ); | 130 | keyComboBox->insertItem( "" ); |
131 | keyComboBox->insertItem( tr( "Taskbar Icon" ) ); | 131 | keyComboBox->insertItem( tr( "Taskbar Icon" ) ); |
132 | keyComboBox->insertItem( tr( "Key_Record" ) ); | 132 | keyComboBox->insertItem( tr( "Key_Record" ) ); |
133 | keyComboBox->insertItem( tr( "Key_Space" ) ); | 133 | keyComboBox->insertItem( tr( "Key_Space" ) ); |
134 | keyComboBox->insertItem( tr( "Key_Home" ) ); | 134 | keyComboBox->insertItem( tr( "Key_Home" ) ); |
135 | keyComboBox->insertItem( tr( "Key_Calender" ) ); | 135 | keyComboBox->insertItem( tr( "Key_Calender" ) ); |
136 | keyComboBox->insertItem( tr( "Key_Contacts" ) ); | 136 | keyComboBox->insertItem( tr( "Key_Contacts" ) ); |
137 | keyComboBox->insertItem( tr( "Key_Menu" ) ); | 137 | keyComboBox->insertItem( tr( "Key_Menu" ) ); |
138 | keyComboBox->insertItem( tr( "Key_Mail" ) ); | 138 | keyComboBox->insertItem( tr( "Key_Mail" ) ); |
139 | SoundSettingsBaseLayout->addMultiCellWidget( keyComboBox , 6, 6, 0, 0 ,1); | 139 | SoundSettingsBaseLayout->addMultiCellWidget( keyComboBox , 6, 6, 0, 0 ,1); |
140 | 140 | ||
141 | keyLabel= new QLabel( this, "keyLabel" ); | 141 | keyLabel= new QLabel( this, "keyLabel" ); |
142 | SoundSettingsBaseLayout->addMultiCellWidget( keyLabel , 6, 6, 0, 2, 3); | 142 | SoundSettingsBaseLayout->addMultiCellWidget( keyLabel , 6, 6, 0, 2, 3); |
143 | 143 | ||
144 | QLabel *timeLimitLabel; | 144 | QLabel *timeLimitLabel; |
145 | timeLimitLabel= new QLabel( this, "timeLimitLabel" ); | 145 | timeLimitLabel= new QLabel( this, "timeLimitLabel" ); |
146 | timeLimitLabel->setText( tr( "Recording Limit in seconds:" ) ); | 146 | timeLimitLabel->setText( tr( "Recording Limit in seconds:" ) ); |
147 | SoundSettingsBaseLayout->addMultiCellWidget( timeLimitLabel , 7, 7, 0, 0, 1); | 147 | SoundSettingsBaseLayout->addMultiCellWidget( timeLimitLabel , 7, 7, 0, 0, 1); |
148 | 148 | ||
149 | timeLimitComboBox = new QComboBox( FALSE, this, "timeLimitComboBox" ); | 149 | timeLimitComboBox = new QComboBox( FALSE, this, "timeLimitComboBox" ); |
150 | timeLimitComboBox->insertItem( tr( "30" ) ); | 150 | timeLimitComboBox->insertItem( tr( "30" ) ); |
151 | timeLimitComboBox->insertItem( tr( "20" ) ); | 151 | timeLimitComboBox->insertItem( tr( "20" ) ); |
152 | timeLimitComboBox->insertItem( tr( "15" ) ); | 152 | timeLimitComboBox->insertItem( tr( "15" ) ); |
153 | timeLimitComboBox->insertItem( tr( "10" ) ); | 153 | timeLimitComboBox->insertItem( tr( "10" ) ); |
154 | timeLimitComboBox->insertItem( tr( "5" ) ); | 154 | timeLimitComboBox->insertItem( tr( "5" ) ); |