]> git.lyx.org Git - features.git/commitdiff
compilation fix
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 9 Dec 2003 13:18:25 +0000 (13:18 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 9 Dec 2003 13:18:25 +0000 (13:18 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8217 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt2/ChangeLog
src/frontends/qt2/lengthvalidator.C
src/frontends/qt2/lengthvalidator.h

index d9a81dc017b0f23dcfb09c81519475069cf5a597..37c79026e38c737cd67e65536516b18134e03736 100644 (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
index be37b824d13e85d95b71c85bffac69c9b9b801a6..24036fdc948d0ba32e54e57519dff8e448a6d031 100644 (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)
 {}
index 1ef4e22c426afbd87880edd49df08e63be7ad3fa..dc5a9af68cc908ca81eb3d72fbc65e13a08480fb 100644 (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;