//
// Qt Example Widget: AnalogClock (aclock.h)
//
// Definition of AnalogClock widget.
//
// The AnalogClock widget is a stand-alone widget that you may
// freely use in your Qt application (at your own risk!)
// See the widgets/widgets.cpp demo application for how to add
// an AnalogClock to your application.
//

#ifndef ACLOCK_H
#define ACLOCK_H

#include <qwidget.h>
#include <qdatetm.h>


class AnalogClock : public QWidget		// analog clock widget
{
    Q_OBJECT
public:
    AnalogClock( QWidget *parent=0, const char *name=0 );

protected:
    void	paintEvent( QPaintEvent * );

private slots:
    void	timeout();

private:
    QTime	time;
};


#endif // ACLOCK_H
