qwwlineedit.h

00001 //
00002 // C++ Interface: qwwlineedit
00003 //
00004 // Description:
00005 //
00006 //
00007 // Author: Witold Wysota <wysota@wysota.eu.org>, (C) 2007
00008 //
00009 // Copyright: See COPYING file that comes with this distribution
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

Generated on Sat Apr 21 21:54:35 2007 for wwWidgets by  doxygen 1.5.1