Ignore:
Timestamp:
Feb 11, 2010, 11:19:06 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.1 sources.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/gui/widgets/qvalidator.cpp

    r2 r561  
    22**
    33** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
    4 ** Contact: Qt Software Information (qt-info@nokia.com)
     4** All rights reserved.
     5** Contact: Nokia Corporation (qt-info@nokia.com)
    56**
    67** This file is part of the QtGui module of the Qt Toolkit.
     
    2122** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
    2223**
    23 ** In addition, as a special exception, Nokia gives you certain
    24 ** additional rights. These rights are described in the Nokia Qt LGPL
    25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
    26 ** package.
     24** In addition, as a special exception, Nokia gives you certain additional
     25** rights.  These rights are described in the Nokia Qt LGPL Exception
     26** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
    2727**
    2828** GNU General Public License Usage
     
    3434** met: http://www.gnu.org/copyleft/gpl.html.
    3535**
    36 ** If you are unsure which license is appropriate for your use, please
    37 ** contact the sales department at qt-sales@nokia.com.
     36** If you have questions regarding the use of this file, please contact
     37** Nokia at qt-info@nokia.com.
    3838** $QT_END_LICENSE$
    3939**
     
    5555    \class QValidator
    5656    \brief The QValidator class provides validation of input text.
    57 
    58     \ingroup misc
    59     \mainclass
    6057
    6158    The class itself is abstract. Two subclasses, \l QIntValidator and
     
    9188
    9289    \i For an editable combobox that accepts URLs, any well-formed URL
    93     is \l Acceptable, "http://qtsoftware.com/," is \l Intermediate
     90    is \l Acceptable, "http://example.com/," is \l Intermediate
    9491    (it might be a cut and paste action that accidentally took in a
    9592    comma at the end), the empty string is \l Intermediate (the user
     
    9996    \i For a spin box that accepts lengths, "11cm" and "1in" are \l
    10097    Acceptable, "11" and the empty string are \l Intermediate, and
    101     "http://qtsoftware.com" and "hour" are \l Invalid.
     98    "http://example.com" and "hour" are \l Invalid.
    10299
    103100    \endlist
     
    247244    a string contains a valid integer within a specified range.
    248245
    249     \ingroup misc
    250 
    251246    Example of use:
    252247
     
    371366        return 1;
    372367    return (int)log10(double(n)) + 1;
    373 };
     368}
    374369
    375370static qlonglong pow10(int exp)
     
    497492    \brief The QDoubleValidator class provides range checking of
    498493    floating-point numbers.
    499 
    500     \ingroup misc
    501494
    502495    QDoubleValidator provides an upper bound, a lower bound, and a
     
    644637            numMode = QLocalePrivate::DoubleScientificMode;
    645638            break;
    646     };
     639    }
    647640
    648641    QByteArray buff;
     
    767760    \brief The QRegExpValidator class is used to check a string
    768761    against a regular expression.
    769 
    770     \ingroup misc
    771762
    772763    QRegExpValidator uses a regular expression (regexp) to
Note: See TracChangeset for help on using the changeset viewer.