pdatetimeedit.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef PDATETIMEEDIT_H
00021 #define PDATETIMEEDIT_H
00022
00023 #include "propertywidget.h"
00024
00025 class QDateTimeEdit;
00026
00027 namespace PropertyLib{
00028
00032 class PDateTimeEdit : public PropertyWidget
00033 {
00034 Q_OBJECT
00035 public:
00036 PDateTimeEdit(MultiProperty* property, QWidget* parent=0, const char* name=0);
00037
00038 virtual QVariant value() const;
00039 virtual void drawViewer(QPainter* p, const QColorGroup& cg, const QRect& r, const QVariant& value);
00040 virtual void setValue(const QVariant& value, bool emitChange);
00041
00042 private slots:
00043 void updateProperty(const QDateTime &val);
00044
00045 private:
00046 QDateTimeEdit *m_edit;
00047
00048 };
00049
00050 }
00051
00052 #endif
This file is part of the documentation for KDevelop Version 3.1.2.