]> Git trees. - libqmvoc.git/commitdiff
fix override (CID 1808)
authorDirk Mueller <mueller@kde.org>
Tue, 2 May 2006 08:52:58 +0000 (08:52 +0000)
committerDirk Mueller <mueller@kde.org>
Tue, 2 May 2006 08:52:58 +0000 (08:52 +0000)
svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=536467

extdate/extdatetimeedit.cpp
extdate/extdatetimeedit.h

index b3444c135a078c95908b55232ff23f837206ab4c..11c0c887c424848d43461c266dc258866cfc8816 100644 (file)
@@ -146,7 +146,7 @@ void ExtDateEdit::stepBy( int steps ) {
        else    setValue( v );
 }
 
-QValidator::State ExtDateEdit::validate( QString &input, int & ) {
+QValidator::State ExtDateEdit::validate( QString &input, int & ) const {
        if ( ExtDate::fromString( input, m_DateFormat ).isValid() )
                return QValidator::Acceptable;
        else
index d466e9d88de18cba67bbfc29cc2b3f5dddd501b4..09bf78419ac380452733528edc3051bc1f0e7cf0 100644 (file)
@@ -108,7 +108,7 @@ class ExtDateEdit : public QSpinBox {
        *@return QValidator::Acceptable if the string is a valid ExtDate; 
        *otherwise return QValidator::Invalid
        */
-               QValidator::State validate( QString &input, int &pos );
+               QValidator::State validate( QString &input, int &pos ) const;
 
 /**
        *@return the internal ExtDate value