#include <QtGui/qvalidator.h>
#ifndef QVALIDATOR_H
#ifndef QT_NO_VALIDATOR
class QIntValidator: public QValidator{
   /* Some contents are skipped to improve readability */
   public: inline int bottom() const
   /* ... */
};
#endif // QT_NO_VALIDATOR
#endif // QVALIDATOR_H