ktimewidget.h
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 #ifndef __KTIMEWIDGET__
00020 #define __KTIMEWIDGET__
00021 
00022 #include <qwidget.h>
00023 #include <qdatetime.h>
00024 
00035 class KTimeWidget : public QWidget
00036 {
00037   Q_OBJECT
00038   Q_PROPERTY( QTime time READ time WRITE setTime )
00039 
00040 public:
00044   KTimeWidget(QWidget * parent = 0, const char * name = 0);
00045 
00050   KTimeWidget(const QTime & time,
00051               QWidget * parent = 0, const char * name = 0 );
00052 
00056   virtual ~KTimeWidget();
00057 
00061   QTime time() const;
00062 
00063 public slots:
00067   void setTime(const QTime & time);
00068 
00069 signals:
00074   void valueChanged(const QTime & time);
00075 
00076 private:
00077   void init();
00078 
00079 private:
00080   class KTimeWidgetPrivate;
00081   KTimeWidgetPrivate *d;
00082 };
00083 
00084 #endif
 
This file is part of the documentation for kdeui Library Version 3.2.0.