#include <QtGui/qvalidator.h>
#ifndef QVALIDATOR_H
#ifndef QT_NO_VALIDATOR
#ifndef QT_NO_REGEXP
class QDoubleValidator: public QValidator{
   /* Some contents are skipped to improve readability */
   public: QDoubleValidator(double bottom, double top, int decimals, class QObject* parent);
   /* ... */
};
#endif // QT_NO_REGEXP
#endif // QT_NO_VALIDATOR
#endif // QVALIDATOR_H