author | zecke <zecke> | 2004-04-03 20:10:15 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-04-03 20:10:15 (UTC) |
commit | 1f03371e4c5d9db806e941bf3687b4bf340aa4fa (patch) (side-by-side diff) | |
tree | 08d4855e6babf252493ad677f30e5e35ba7a5751 /noncore/tools/clock/analogclock.cpp | |
parent | 93aeaa0de75ba89bd565c845e79e470a80816b0a (diff) | |
download | opie-1f03371e4c5d9db806e941bf3687b4bf340aa4fa.zip opie-1f03371e4c5d9db806e941bf3687b4bf340aa4fa.tar.gz opie-1f03371e4c5d9db806e941bf3687b4bf340aa4fa.tar.bz2 |
This is the merged Qtopia Clock with our changes included
-Seperate Clock, StopWatch, Alarm
-Allow starting stopping the stop watch by QCOP
-Allow Daily alarms
-Call OpiePlayer on resume
Diffstat (limited to 'noncore/tools/clock/analogclock.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/tools/clock/analogclock.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/tools/clock/analogclock.cpp b/noncore/tools/clock/analogclock.cpp index bf358e2..c5f0155 100644 --- a/noncore/tools/clock/analogclock.cpp +++ b/noncore/tools/clock/analogclock.cpp @@ -35,25 +35,25 @@ AnalogClock::AnalogClock( QWidget *parent, const char *name ) } QSizePolicy AnalogClock::sizePolicy() const { return QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Expanding ); } void AnalogClock::drawContents( QPainter *p ) { #if !defined(NO_DEBUG) static bool first = true; if ( first ) { - QTOPIA_PROFILE("first paint event"); +// QTOPIA_PROFILE("first paint event"); first = false; } #endif QRect r = contentsRect(); if ( r.width() < r.height() ) { r.setY( (r.height() - r.width())/2 ); r.setHeight( r.width() ); } QPoint center( r.x() + r.width() / 2, r.y() + r.height() / 2 ); |