Diffstat (limited to 'noncore/settings/mediummount/mediumglobal.cc') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/mediummount/mediumglobal.cc | 2 |
1 files changed, 1 insertions, 1 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 | ||