+2003-12-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
+
+ * lengthvalidator.[Ch] (LengthValidator): change the constructor to
+ take a QWidget* instead of QObject*.
+
2003-12-09 Angus Leeming <leeming@lyx.org>
* checkedwidgets.C (setWarningColor): new function that should
using std::string;
-LengthValidator::LengthValidator(QObject * parent, const char * name)
+LengthValidator::LengthValidator(QWidget * parent, const char * name)
: QValidator(parent, name),
no_bottom_(true)
{}
{
Q_OBJECT
public:
- LengthValidator(QObject * parent, const char *name = 0);
+ LengthValidator(QWidget * parent, const char *name = 0);
QValidator::State validate(QString &, int &) const;