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
00025
#include <kdelibs_export.h>
00026
00037 class KDEUI_EXPORT KTimeWidget :
public QWidget
00038 {
00039 Q_OBJECT
00040 Q_PROPERTY(
QTime time READ time WRITE setTime )
00041
00042
public:
00046 KTimeWidget(
QWidget * parent = 0,
const char * name = 0);
00047
00052 KTimeWidget(
const QTime & time,
00053
QWidget * parent = 0,
const char * name = 0 );
00054
00058
virtual ~KTimeWidget();
00059
00063
QTime time()
const;
00064
00065
public slots:
00069
void setTime(
const QTime & time);
00070
00071 signals:
00076
void valueChanged(
const QTime & time);
00077
00078
private:
00079
void init();
00080
00081
private:
00082
class KTimeWidgetPrivate;
00083 KTimeWidgetPrivate *d;
00084 };
00085
00086
#endif
This file is part of the documentation for kdeui Library Version 3.4.0.