author | fbarros <fbarros> | 2002-08-29 17:49:16 (UTC) |
---|---|---|
committer | fbarros <fbarros> | 2002-08-29 17:49:16 (UTC) |
commit | 6707dd2b7abf2fac4aef4025cf8e554577d0891c (patch) (unidiff) | |
tree | 0991d5274dc372dc089368deac74abb96ad6e413 | |
parent | f30d948cc7fec19a00ebc131b5b1ace159212a81 (diff) | |
download | opie-6707dd2b7abf2fac4aef4025cf8e554577d0891c.zip opie-6707dd2b7abf2fac4aef4025cf8e554577d0891c.tar.gz opie-6707dd2b7abf2fac4aef4025cf8e554577d0891c.tar.bz2 |
just a tr()
-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 69d8214..e3621d9 100644 --- a/noncore/tools/clock/clock.cpp +++ b/noncore/tools/clock/clock.cpp | |||
@@ -408,25 +408,25 @@ void Clock::appMessage(const QCString& msg, const QByteArray& data) | |||
408 | void Clock::timerEvent( QTimerEvent *e ) | 408 | void Clock::timerEvent( QTimerEvent *e ) |
409 | { | 409 | { |
410 | static int stop = 0; | 410 | static int stop = 0; |
411 | if ( stop < 120 && bSound) { | 411 | if ( stop < 120 && bSound) { |
412 | Sound::soundAlarm(); | 412 | Sound::soundAlarm(); |
413 | stop++; | 413 | stop++; |
414 | } else { | 414 | } else { |
415 | stop = 0; | 415 | stop = 0; |
416 | killTimer( e->timerId() ); | 416 | killTimer( e->timerId() ); |
417 | alarmOffBtn->setText( tr( "Alarm Is Off" ) ); | 417 | alarmOffBtn->setText( tr( "Alarm Is Off" ) ); |
418 | alarmBool=FALSE; | 418 | alarmBool=FALSE; |
419 | snoozeBtn->hide(); | 419 | snoozeBtn->hide(); |
420 | setCaption("Clock: Alarm was missed."); | 420 | setCaption(tr("Clock: Alarm was missed.")); |
421 | } | 421 | } |
422 | } | 422 | } |
423 | 423 | ||
424 | 424 | ||
425 | QSizePolicy AnalogClock::sizePolicy() const | 425 | QSizePolicy AnalogClock::sizePolicy() const |
426 | { | 426 | { |
427 | return QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Expanding ); | 427 | return QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Expanding ); |
428 | } | 428 | } |
429 | 429 | ||
430 | void AnalogClock::drawContents( QPainter *p ) | 430 | void AnalogClock::drawContents( QPainter *p ) |
431 | { | 431 | { |
432 | QRect r = contentsRect(); | 432 | QRect r = contentsRect(); |