summaryrefslogtreecommitdiff
path: root/noncore/tools/clock/clock.h
Side-by-side diff
Diffstat (limited to 'noncore/tools/clock/clock.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/tools/clock/clock.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/tools/clock/clock.h b/noncore/tools/clock/clock.h
index be71b9d..092d84f 100644
--- a/noncore/tools/clock/clock.h
+++ b/noncore/tools/clock/clock.h
@@ -36,7 +36,7 @@ class AnalogClock : public QFrame
public:
AnalogClock( QWidget * parent = 0, const char * name = 0 )
- : QFrame( parent, name ), clear(false) {}
+ : QFrame( parent, name ), clear(true) {}
QSizePolicy sizePolicy() const;
@@ -47,6 +47,7 @@ protected:
private:
QPoint rotate( QPoint center, QPoint p, int angle );
+ void drawPointers ( QPainter *, const QRect &r, const QColor &c, const QTime &t, const QTime *t2 = 0 );
QTime currTime;
QTime prevTime;