compilation fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8217 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2003-12-09 13:18:25 +00:00
parent 028edb795e
commit 6a08f4fbbf
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -22,7 +22,7 @@ using lyx::support::isStrDbl;
using std::string;
LengthValidator::LengthValidator(QObject * parent, const char * name)
LengthValidator::LengthValidator(QWidget * parent, const char * name)
: QValidator(parent, name),
no_bottom_(true)
{}

View File

@ -20,7 +20,7 @@ class Q_EXPORT LengthValidator : public QValidator
{
Q_OBJECT
public:
LengthValidator(QObject * parent, const char *name = 0);
LengthValidator(QWidget * parent, const char *name = 0);
QValidator::State validate(QString &, int &) const;