00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef QWWLINEEDIT_H
00013 #define QWWLINEEDIT_H
00014
00015 #include <QLineEdit>
00016 #include <wwglobal.h>
00017
00023 class Q_WW_EXPORT QwwLineEdit : public QLineEdit
00024 {
00025 Q_OBJECT
00026 Q_PROPERTY(QString regExp READ regExp WRITE setRegExp USER true)
00027 public:
00028 QwwLineEdit(QWidget *parent = 0);
00029 QwwLineEdit ( const QString & contents, QWidget * parent = 0 );
00030 ~QwwLineEdit();
00031 QString regExp() const;
00032 signals:
00033 void validatorChanged(const QString&);
00034 public slots:
00035 void setRegExp(const QString &);
00036 void setRegExp(const QRegExp &);
00037 };
00038
00039 #endif