summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-04-06 22:42:25 (UTC)
committer llornkcor <llornkcor>2002-04-06 22:42:25 (UTC)
commitf79c6b3e3407a4263e7210b52638c4426dea825b (patch) (unidiff)
tree3f47f4338251ea5f6c7d60d38dca3afe945b7f6c
parent08f0cefd22cb2122850b0786dafae15d0a5efebb (diff)
downloadopie-f79c6b3e3407a4263e7210b52638c4426dea825b.zip
opie-f79c6b3e3407a4263e7210b52638c4426dea825b.tar.gz
opie-f79c6b3e3407a4263e7210b52638c4426dea825b.tar.bz2
translations stuff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/tools/clock/clock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/tools/clock/clock.cpp b/noncore/tools/clock/clock.cpp
index d5d77bc..6f570c5 100644
--- a/noncore/tools/clock/clock.cpp
+++ b/noncore/tools/clock/clock.cpp
@@ -59,49 +59,49 @@ Clock::Clock( QWidget * parent, const char * name, WFlags f )
59{ 59{
60 setSpacing( 4 ); 60 setSpacing( 4 );
61 setMargin( 1 ); 61 setMargin( 1 );
62 62
63 Config config( "qpe" ); 63 Config config( "qpe" );
64 config.setGroup("Time"); 64 config.setGroup("Time");
65 ampm = config.readBoolEntry( "AMPM", TRUE ); 65 ampm = config.readBoolEntry( "AMPM", TRUE );
66 66
67 snoozeBtn = new QPushButton ( this); 67 snoozeBtn = new QPushButton ( this);
68 snoozeBtn->setText( tr( "Snooze" ) ); 68 snoozeBtn->setText( tr( "Snooze" ) );
69 69
70 aclock = new AnalogClock( this ); 70 aclock = new AnalogClock( this );
71 aclock->display( QTime::currentTime() ); 71 aclock->display( QTime::currentTime() );
72 aclock->setLineWidth( 2 ); 72 aclock->setLineWidth( 2 );
73 73
74 QHBox *hb = new QHBox( this ); 74 QHBox *hb = new QHBox( this );
75 hb->setMargin( 0 ); 75 hb->setMargin( 0 );
76 QWidget *space = new QWidget( hb ); 76 QWidget *space = new QWidget( hb );
77 lcd = new QLCDNumber( hb ); 77 lcd = new QLCDNumber( hb );
78 lcd->setSegmentStyle( QLCDNumber::Flat ); 78 lcd->setSegmentStyle( QLCDNumber::Flat );
79 lcd->setFrameStyle( QFrame::NoFrame ); 79 lcd->setFrameStyle( QFrame::NoFrame );
80 lcd->setSizePolicy( QSizePolicy( QSizePolicy::Minimum, QSizePolicy::Minimum ) ); 80 lcd->setSizePolicy( QSizePolicy( QSizePolicy::Minimum, QSizePolicy::Minimum ) );
81 lcd->setFixedHeight( 23 ); 81 lcd->setFixedHeight( 23 );
82 82
83 ampmLabel = new QLabel( "PM", hb ); 83 ampmLabel = new QLabel( tr("PM"), hb );
84 ampmLabel->setFont( QFont( "Helvetica", 14, QFont::Bold ) ); 84 ampmLabel->setFont( QFont( "Helvetica", 14, QFont::Bold ) );
85 ampmLabel->setSizePolicy( QSizePolicy( QSizePolicy::Minimum, QSizePolicy::Preferred ) ); 85 ampmLabel->setSizePolicy( QSizePolicy( QSizePolicy::Minimum, QSizePolicy::Preferred ) );
86 ampmLabel->setAlignment( AlignLeft | AlignBottom ); 86 ampmLabel->setAlignment( AlignLeft | AlignBottom );
87 space = new QWidget( hb ); 87 space = new QWidget( hb );
88 88
89 date = new QLabel( this ); 89 date = new QLabel( this );
90 date->setAlignment( AlignHCenter | AlignVCenter ); 90 date->setAlignment( AlignHCenter | AlignVCenter );
91 date->setFont( QFont( "Helvetica", 14, QFont::Bold ) ); 91 date->setFont( QFont( "Helvetica", 14, QFont::Bold ) );
92 date->setText( TimeString::longDateString( QDate::currentDate() ) ); 92 date->setText( TimeString::longDateString( QDate::currentDate() ) );
93 93
94 QWidget *controls = new QWidget( this ); 94 QWidget *controls = new QWidget( this );
95 QGridLayout *gl = new QGridLayout( controls, 2, 2, 6, 4 ); 95 QGridLayout *gl = new QGridLayout( controls, 2, 2, 6, 4 );
96 96
97 QButtonGroup *grp = new QButtonGroup( controls ); 97 QButtonGroup *grp = new QButtonGroup( controls );
98 grp->setRadioButtonExclusive( true ); 98 grp->setRadioButtonExclusive( true );
99 grp->hide(); 99 grp->hide();
100 100
101 clockRB = new QRadioButton ( tr( "Clock" ), controls ); 101 clockRB = new QRadioButton ( tr( "Clock" ), controls );
102 gl->addWidget( clockRB, 0, 0 ); 102 gl->addWidget( clockRB, 0, 0 );
103 grp->insert( clockRB ); 103 grp->insert( clockRB );
104 104
105 swatchRB = new QRadioButton ( tr( "Stopwatch" ), controls ); 105 swatchRB = new QRadioButton ( tr( "Stopwatch" ), controls );
106 gl->addWidget( swatchRB, 1, 0 ); 106 gl->addWidget( swatchRB, 1, 0 );
107 grp->insert( swatchRB ); 107 grp->insert( swatchRB );