summaryrefslogtreecommitdiff
authorcniehaus <cniehaus>2002-12-26 12:58:20 (UTC)
committer cniehaus <cniehaus>2002-12-26 12:58:20 (UTC)
commitae4dec743b12804189b065963d50096df9d5bf06 (patch) (unidiff)
treec5096665a29a58024cc9a915ee91983c60f0c64e
parent0254e7cc015bac4e321ea0dcd7ef3c7872cbe878 (diff)
downloadopie-ae4dec743b12804189b065963d50096df9d5bf06.zip
opie-ae4dec743b12804189b065963d50096df9d5bf06.tar.gz
opie-ae4dec743b12804189b065963d50096df9d5bf06.tar.bz2
fixes 3 typos
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/mediummount/mediumglobal.cc2
-rw-r--r--noncore/settings/mediummount/mediumwidget.cc4
2 files changed, 3 insertions, 3 deletions
diff --git a/noncore/settings/mediummount/mediumglobal.cc b/noncore/settings/mediummount/mediumglobal.cc
index c1ad415..1f90497 100644
--- a/noncore/settings/mediummount/mediumglobal.cc
+++ b/noncore/settings/mediummount/mediumglobal.cc
@@ -21,33 +21,33 @@ MediumGlobalWidget::MediumGlobalWidget(QWidget *wid, const char *name )
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, ("If a medium gets inserted into this device Opie "
37 "tries to search the medium for Dcouments. 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 ) ); 42 ) );
43 43
44 m_layout->addWidget( m_label ); 44 m_layout->addWidget( m_label );
45 45
46 m_check = new QCheckBox( tr("Enable medium checking" ), this ); 46 m_check = new QCheckBox( tr("Enable medium checking" ), this );
47 connect( m_check, SIGNAL(stateChanged(int) ), 47 connect( m_check, SIGNAL(stateChanged(int) ),
48 this, SLOT(slotEnableChecking() ) ); 48 this, SLOT(slotEnableChecking() ) );
49 m_layout->addWidget(m_check ); 49 m_layout->addWidget(m_check );
50 50
51 m_frame = new QFrame(this, "Frame" ); 51 m_frame = new QFrame(this, "Frame" );
52 m_frame->setFrameShape( QFrame::Box ); 52 m_frame->setFrameShape( QFrame::Box );
53 m_frame->setFrameShadow( QFrame::Sunken ); 53 m_frame->setFrameShadow( QFrame::Sunken );
diff --git a/noncore/settings/mediummount/mediumwidget.cc b/noncore/settings/mediummount/mediumwidget.cc
index 9fc608b..04e4e7c 100644
--- a/noncore/settings/mediummount/mediumwidget.cc
+++ b/noncore/settings/mediummount/mediumwidget.cc
@@ -43,35 +43,35 @@ MediumMountWidget::MediumMountWidget(const QString &path,
43// now we fire up the GUI 43// now we fire up the GUI
44// if I would know what I'm doing ;) 44// if I would know what I'm doing ;)
45void MediumMountWidget::initGUI() 45void MediumMountWidget::initGUI()
46{ 46{
47 //main layout 47 //main layout
48 m_box = new QVBoxLayout( this , 5, 5 ); 48 m_box = new QVBoxLayout( this , 5, 5 );
49 m_box->setSpacing( 5 ); 49 m_box->setSpacing( 5 );
50 //m_box->addStretch( -1 ); 50 //m_box->addStretch( -1 );
51 51
52 // picture + text 52 // picture + text
53 m_infoBox = new QHBox(this, "infobox" ); 53 m_infoBox = new QHBox(this, "infobox" );
54 m_infoBox->setSpacing( 4 ); 54 m_infoBox->setSpacing( 4 );
55 m_label = new QLabel(m_infoBox ); 55 m_label = new QLabel(m_infoBox );
56 m_desc = new QLabel(m_infoBox ); 56 m_desc = new QLabel(m_infoBox );
57 m_desc->setTextFormat( Qt::RichText ); 57 m_desc->setTextFormat( Qt::RichText );
58 QWhatsThis::add( this, tr("Configure this medium. The changes will" 58 QWhatsThis::add( this, tr("Configure this medium. The changes will"
59 " go into effect when the application get's" 59 " go into effect when the application gets"
60 " closed. To update the Document Tab you need" 60 " closed. To update the Document Tab you need"
61 " to removeand insert this medium.")); 61 " to remove and insert this medium."));
62 m_desc->setText("" ); 62 m_desc->setText("" );
63 m_box->addWidget( m_infoBox ); // add the widget to the layout 63 m_box->addWidget( m_infoBox ); // add the widget to the layout
64 64
65 65
66 // groupbox 66 // groupbox
67 m_group = new QGroupBox(tr("Which media files"), this, "MediaFiles" ); 67 m_group = new QGroupBox(tr("Which media files"), this, "MediaFiles" );
68 m_checks = new QGridLayout( m_group, 4, 3 ); 68 m_checks = new QGridLayout( m_group, 4, 3 );
69 m_checks->setMargin( 12 ); 69 m_checks->setMargin( 12 );
70 70
71 71
72 72
73 QSpacerItem *item2 = new QSpacerItem(5, 8, 73 QSpacerItem *item2 = new QSpacerItem(5, 8,
74 QSizePolicy::Fixed, 74 QSizePolicy::Fixed,
75 QSizePolicy::Fixed); 75 QSizePolicy::Fixed);
76 m_box->addItem( item2 ); 76 m_box->addItem( item2 );
77 77