summaryrefslogtreecommitdiffstats
path: root/sip/qt/qvalidator.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/qt/qvalidator.sip')
-rw-r--r--sip/qt/qvalidator.sip58
1 files changed, 0 insertions, 58 deletions
diff --git a/sip/qt/qvalidator.sip b/sip/qt/qvalidator.sip
index dd90564..c400969 100644
--- a/sip/qt/qvalidator.sip
+++ b/sip/qt/qvalidator.sip
@@ -79,22 +79,8 @@ class TQValidator : TQObject
%End
public:
-%If (- TQt_3_0_0)
- TQValidator(TQWidget * /TransferThis/,const char * = 0);
-%End
-%If (TQt_3_0_0 -)
TQValidator(TQObject * /TransferThis/,const char * = 0);
-%End
-%If (- TQt_2_1_0)
- enum State
- {
- Invalid,
- Valid,
- Acceptable
- };
-%End
-%If (TQt_2_1_0 -)
enum State
{
Invalid,
@@ -102,21 +88,12 @@ public:
Valid = Intermediate,
Acceptable
};
-%End
-%If (TQt_2_00 -)
virtual State validate(TQString &,int & /In,Out/) const = 0;
virtual void fixup(TQString &) const;
-%End
-%If (- TQt_2_00)
- virtual State validate(TQString &,int & /In,Out/) = 0;
- virtual void fixup(TQString &);
-%End
private:
-%If (TQt_2_1_0 -)
TQValidator(const TQValidator &);
-%End
};
@@ -127,35 +104,20 @@ class TQIntValidator : TQValidator
%End
public:
-%If (TQt_3_0_0 -)
TQIntValidator(TQObject * /TransferThis/,const char * = 0);
TQIntValidator(int,int,TQObject * /TransferThis/,const char * = 0);
-%End
-%If (- TQt_3_0_0)
- TQIntValidator(TQWidget * /TransferThis/,const char * = 0);
- TQIntValidator(int,int,TQWidget * /TransferThis/,const char * = 0);
-%End
-%If (TQt_2_00 -)
TQValidator::State validate(TQString &,int & /In,Out/) const;
-%End
-%If (- TQt_2_00)
- TQValidator::State validate(TQString &,int & /In,Out/);
-%End
-%If (TQt_2_1_0 -)
void setBottom(int);
void setTop(int);
-%End
virtual void setRange(int,int);
int bottom() const;
int top() const;
private:
-%If (TQt_2_1_0 -)
TQIntValidator(const TQIntValidator &);
-%End
};
@@ -166,44 +128,26 @@ class TQDoubleValidator : TQValidator
%End
public:
-%If (TQt_3_0_0 -)
TQDoubleValidator(TQObject * /TransferThis/,const char * = 0);
TQDoubleValidator(double,double,int,TQObject * /TransferThis/,
const char * = 0);
-%End
-%If (- TQt_3_0_0)
- TQDoubleValidator(TQWidget * /TransferThis/,const char * = 0);
- TQDoubleValidator(double,double,int,TQWidget * /TransferThis/,
- const char * = 0);
-%End
-%If (TQt_2_00 -)
TQValidator::State validate(TQString &,int & /In,Out/) const;
-%End
-%If (- TQt_2_00)
- TQValidator::State validate(TQString &,int & /In,Out/);
-%End
virtual void setRange(double,double,int = 0);
-%If (TQt_2_1_0 -)
void setBottom(double);
void setTop(double);
void setDecimals(int);
-%End
double bottom() const;
double top() const;
int decimals() const;
private:
-%If (TQt_2_1_0 -)
TQDoubleValidator(const TQDoubleValidator &);
-%End
};
-%If (TQt_3_0_0 -)
-
class TQRegExpValidator : TQValidator
{
%TypeHeaderCode
@@ -223,5 +167,3 @@ public:
private:
TQRegExpValidator(const TQRegExpValidator &);
};
-
-%End