/***************************************************************************
                            QIntValidator.h -  description
                             -------------------
    begin                : Wed Nov 21 12:08:37 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Nov 21 12:08:37 2001, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This library is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU Library General Public License as       *
 *   published by the Free Software Foundation; either version 2 of the    *
 *   License, or (at your option) any later version.                       *
 *                                                                         *
 ***************************************************************************/

#ifndef QINTVALIDATOR_H
#define QINTVALIDATOR_H

#include <Foundation/NSObject.h>
#include <Foundation/NSString.h>
#include <qtobjc/QValidator.h>

@interface QIntValidator : QValidator 
- initWithObject: (QObject *)parent name: (NSString *)name;
- initWithObject: (QObject *)parent ;
- initWithInt: (int)bottom top: (int)top parent: (QObject *)parent name: (NSString *)name;
- initWithInt: (int)bottom top: (int)top parent: (QObject *)parent ;
- (void) dealloc;
- (int) validate: (NSString *)arg1 int: (int)arg2;
- setBottom: (int)arg1;
- setTop: (int)arg1;
- setRange: (int)bottom top: (int)top;
- (int) bottom;
- (int) top;
@end

/** Override these methods in subclasses of QIntValidator to customise event handling behaviour */
@protocol QIntValidatorEventHandling
- childEvent:(QChildEvent*) arg1;
- customEvent:(QCustomEvent*) arg1;
- timerEvent:(QTimerEvent*) arg1;
@end


#endif
