summaryrefslogtreecommitdiff
authorcniehaus <cniehaus>2002-12-26 14:02:07 (UTC)
committer cniehaus <cniehaus>2002-12-26 14:02:07 (UTC)
commit4d16a68012ae6d3d227daf4952cb918a1f2fc855 (patch) (unidiff)
tree06d8cbf215afa7f99ad4c900dd692392d3b3c2d0
parentde5ee51277c336cf3a66226c09c8f3ad7d51c4d7 (diff)
downloadopie-4d16a68012ae6d3d227daf4952cb918a1f2fc855.zip
opie-4d16a68012ae6d3d227daf4952cb918a1f2fc855.tar.gz
opie-4d16a68012ae6d3d227daf4952cb918a1f2fc855.tar.bz2
another i18n-bug found and fixed by Tais
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/mediummount/mediumglobal.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/noncore/settings/mediummount/mediumglobal.cc b/noncore/settings/mediummount/mediumglobal.cc
index 1f90497..fa4171c 100644
--- a/noncore/settings/mediummount/mediumglobal.cc
+++ b/noncore/settings/mediummount/mediumglobal.cc
@@ -4,71 +4,70 @@
4#include <qcheckbox.h> 4#include <qcheckbox.h>
5#include <qlabel.h> 5#include <qlabel.h>
6#include <qabstractlayout.h> // spacer item 6#include <qabstractlayout.h> // spacer item
7#include <qlayout.h> 7#include <qlayout.h>
8#include <qframe.h> 8#include <qframe.h>
9#include <qgroupbox.h> 9#include <qgroupbox.h>
10#include <qwhatsthis.h> 10#include <qwhatsthis.h>
11 11
12#include <qpe/config.h> 12#include <qpe/config.h>
13 13
14#include "mediumglobal.h" 14#include "mediumglobal.h"
15 15
16using namespace MediumMountSetting; 16using namespace MediumMountSetting;
17 17
18MediumGlobalWidget::MediumGlobalWidget(QWidget *wid, const char *name ) 18MediumGlobalWidget::MediumGlobalWidget(QWidget *wid, const char *name )
19 : QWidget( wid, name ) 19 : QWidget( wid, name )
20{ 20{
21 m_config = 0; 21 m_config = 0;
22 initGUI(); 22 initGUI();
23 readConfig(); 23 readConfig();
24 24
25} 25}
26void MediumGlobalWidget::initGUI() 26void MediumGlobalWidget::initGUI()
27{ 27{
28 m_layout = new QVBoxLayout(this ); 28 m_layout = new QVBoxLayout(this );
29 m_layout->setMargin( 10 ); 29 m_layout->setMargin( 10 );
30 m_layout->setSpacing( 10 ); 30 m_layout->setSpacing( 10 );
31 31
32 32
33 m_label = new QLabel( this ); 33 m_label = new QLabel( this );
34 m_label->setTextFormat( Qt::RichText ); 34 m_label->setTextFormat( Qt::RichText );
35 m_label->setText( tr("") ); 35 m_label->setText( tr("") );
36 QWhatsThis::add( this, ("If a medium gets inserted into this device Opie " 36 QWhatsThis::add( this, tr("If a medium gets inserted into this device Opie "
37 "tries to search the medium for Documents. On " 37 "tries to search the medium for Documents. On "
38 "large mediums this can take some time. You can choose " 38 "large mediums this can take some time. You can choose "
39 "if Opie should scan for Documents globally or on a " 39 "if Opie should scan for Documents globally or on a "
40 "per medium level. You're also able to reconfigure " 40 "per medium level. You're also able to reconfigure "
41 "each medium." 41 "each medium.") );
42 ) );
43 42
44 m_layout->addWidget( m_label ); 43 m_layout->addWidget( m_label );
45 44
46 m_check = new QCheckBox( tr("Enable medium checking" ), this ); 45 m_check = new QCheckBox( tr("Enable medium checking" ), this );
47 connect( m_check, SIGNAL(stateChanged(int) ), 46 connect( m_check, SIGNAL(stateChanged(int) ),
48 this, SLOT(slotEnableChecking() ) ); 47 this, SLOT(slotEnableChecking() ) );
49 m_layout->addWidget(m_check ); 48 m_layout->addWidget(m_check );
50 49
51 m_frame = new QFrame(this, "Frame" ); 50 m_frame = new QFrame(this, "Frame" );
52 m_frame->setFrameShape( QFrame::Box ); 51 m_frame->setFrameShape( QFrame::Box );
53 m_frame->setFrameShadow( QFrame::Sunken ); 52 m_frame->setFrameShadow( QFrame::Sunken );
54 53
55 m_box = new QVBoxLayout( m_frame ); 54 m_box = new QVBoxLayout( m_frame );
56 m_box->setMargin( 5 ); 55 m_box->setMargin( 5 );
57 m_useglobal = new QCheckBox( tr("Use global settings"), m_frame ); 56 m_useglobal = new QCheckBox( tr("Use global settings"), m_frame );
58 connect( m_useglobal, SIGNAL( stateChanged(int) ), 57 connect( m_useglobal, SIGNAL( stateChanged(int) ),
59 this, SLOT( slotGlobalChanged() ) ); 58 this, SLOT( slotGlobalChanged() ) );
60 59
61 m_box->addWidget( m_useglobal ); 60 m_box->addWidget( m_useglobal );
62 61
63 m_global = new QGroupBox( tr("Which media files"), m_frame ); 62 m_global = new QGroupBox( tr("Which media files"), m_frame );
64 m_frameLay = new QGridLayout(m_global, 4, 3 ); 63 m_frameLay = new QGridLayout(m_global, 4, 3 );
65 m_frameLay->setMargin( 12 ); 64 m_frameLay->setMargin( 12 );
66 65
67 QSpacerItem *item2 = new QSpacerItem( 5, 8, 66 QSpacerItem *item2 = new QSpacerItem( 5, 8,
68 QSizePolicy::Fixed, 67 QSizePolicy::Fixed,
69 QSizePolicy::Fixed ); 68 QSizePolicy::Fixed );
70 m_audio = new QCheckBox( tr("Audio"), m_global ); 69 m_audio = new QCheckBox( tr("Audio"), m_global );
71 m_all = new QCheckBox( tr("All") , m_global ); 70 m_all = new QCheckBox( tr("All") , m_global );
72 m_image = new QCheckBox( tr("Image"), m_global ); 71 m_image = new QCheckBox( tr("Image"), m_global );
73 m_text = new QCheckBox( tr("Text") , m_global ); 72 m_text = new QCheckBox( tr("Text") , m_global );
74 m_video = new QCheckBox( tr("Video"), m_global ); 73 m_video = new QCheckBox( tr("Video"), m_global );