author | llornkcor <llornkcor> | 2002-04-06 22:42:25 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-04-06 22:42:25 (UTC) |
commit | f79c6b3e3407a4263e7210b52638c4426dea825b (patch) (unidiff) | |
tree | 3f47f4338251ea5f6c7d60d38dca3afe945b7f6c /noncore | |
parent | 08f0cefd22cb2122850b0786dafae15d0a5efebb (diff) | |
download | opie-f79c6b3e3407a4263e7210b52638c4426dea825b.zip opie-f79c6b3e3407a4263e7210b52638c4426dea825b.tar.gz opie-f79c6b3e3407a4263e7210b52638c4426dea825b.tar.bz2 |
translations stuff
-rw-r--r-- | noncore/tools/clock/clock.cpp | 2 |
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 | |||
@@ -71,25 +71,25 @@ Clock::Clock( QWidget * parent, const char * name, WFlags f ) | |||
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 ); |