pdateedit.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 PDATEEDIT_H
00021 #define PDATEEDIT_H
00022
00023 #include "propertywidget.h"
00024
00025 class QDateEdit;
00026
00027 namespace PropertyLib{
00028
00032 class PDateEdit : public PropertyWidget
00033 {
00034 Q_OBJECT
00035 public:
00036 PDateEdit(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 QDate &val);
00044
00045 private:
00046 QDateEdit *m_edit;
00047 };
00048
00049 }
00050
00051 #endif
This file is part of the documentation for KDevelop Version 3.1.2.