summaryrefslogtreecommitdiffstats
path: root/sip/qt/qvalidator.sip
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-11-29 01:11:08 -0600
committerTimothy Pearson <[email protected]>2011-11-29 01:11:08 -0600
commit8a055d66f43592c257cece2eb8cc021808062917 (patch)
treed0922f201bd5d24b62a33160d1d9baf9e89f9a70 /sip/qt/qvalidator.sip
parentb388516ca2691303a076a0764fd40bf7116fe43d (diff)
downloadpytqt-8a055d66f43592c257cece2eb8cc021808062917.tar.gz
pytqt-8a055d66f43592c257cece2eb8cc021808062917.zip
Initial TQt conversion
Diffstat (limited to 'sip/qt/qvalidator.sip')
-rw-r--r--sip/qt/qvalidator.sip130
1 files changed, 65 insertions, 65 deletions
diff --git a/sip/qt/qvalidator.sip b/sip/qt/qvalidator.sip
index d3329db..fa0f781 100644
--- a/sip/qt/qvalidator.sip
+++ b/sip/qt/qvalidator.sip
@@ -1,31 +1,31 @@
-// This is the SIP interface definition for QValidator, QDoubleValidator,
-// QIntValidator and QRegExpValidator.
+// This is the SIP interface definition for TQValidator, TQDoubleValidator,
+// TQIntValidator and TQRegExpValidator.
//
// Copyright (c) 2007
// Riverbank Computing Limited <[email protected]>
//
-// This file is part of PyQt.
+// This file is part of PyTQt.
//
-// This copy of PyQt is free software; you can redistribute it and/or modify it
+// This copy of PyTQt is free software; you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by the Free
// Software Foundation; either version 2, or (at your option) any later
// version.
//
-// PyQt is supplied in the hope that it will be useful, but WITHOUT ANY
+// PyTQt is supplied in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
//
// You should have received a copy of the GNU General Public License along with
-// PyQt; see the file LICENSE. If not, write to the Free Software Foundation,
+// PyTQt; see the file LICENSE. If not, write to the Free Software Foundation,
// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
%ExportedDoc
-<Sect2><Title>QValidator</Title>
+<Sect2><Title>TQValidator</Title>
<FuncSynopsis>
<FuncDef>virtual State <Function>validate</Function></FuncDef>
- <ParamDef>QString& <Parameter>input</Parameter></ParamDef>
+ <ParamDef>TQString& <Parameter>input</Parameter></ParamDef>
<ParamDef>int& <Parameter>pos</Parameter></ParamDef>
</FuncSynopsis>
<Para>
@@ -34,10 +34,10 @@ updated <Literal>pos</Literal>.
</Para>
</Sect2>
-<Sect2><Title>QDoubleValidator</Title>
+<Sect2><Title>TQDoubleValidator</Title>
<FuncSynopsis>
<FuncDef>State <Function>validate</Function></FuncDef>
- <ParamDef>QString& <Parameter>input</Parameter></ParamDef>
+ <ParamDef>TQString& <Parameter>input</Parameter></ParamDef>
<ParamDef>int& <Parameter>pos</Parameter></ParamDef>
</FuncSynopsis>
<Para>
@@ -46,10 +46,10 @@ updated <Literal>pos</Literal>.
</Para>
</Sect2>
-<Sect2><Title>QIntValidator</Title>
+<Sect2><Title>TQIntValidator</Title>
<FuncSynopsis>
<FuncDef>State <Function>validate</Function></FuncDef>
- <ParamDef>QString& <Parameter>input</Parameter></ParamDef>
+ <ParamDef>TQString& <Parameter>input</Parameter></ParamDef>
<ParamDef>int& <Parameter>pos</Parameter></ParamDef>
</FuncSynopsis>
<Para>
@@ -58,10 +58,10 @@ updated <Literal>pos</Literal>.
</Para>
</Sect2>
-<Sect2><Title>QRegExpValidator (Qt v3+)</Title>
+<Sect2><Title>TQRegExpValidator (TQt v3+)</Title>
<FuncSynopsis>
<FuncDef>virtual State <Function>validate</Function></FuncDef>
- <ParamDef>QString& <Parameter>input</Parameter></ParamDef>
+ <ParamDef>TQString& <Parameter>input</Parameter></ParamDef>
<ParamDef>int& <Parameter>pos</Parameter></ParamDef>
</FuncSynopsis>
<Para>
@@ -72,21 +72,21 @@ updated <Literal>pos</Literal>.
%End
-class QValidator : QObject
+class TQValidator : TQObject
{
%TypeHeaderCode
#include <qvalidator.h>
%End
public:
-%If (- Qt_3_0_0)
- QValidator(QWidget * /TransferThis/,const char * = 0);
+%If (- TQt_3_0_0)
+ TQValidator(TQWidget * /TransferThis/,const char * = 0);
%End
-%If (Qt_3_0_0 -)
- QValidator(QObject * /TransferThis/,const char * = 0);
+%If (TQt_3_0_0 -)
+ TQValidator(TQObject * /TransferThis/,const char * = 0);
%End
-%If (- Qt_2_1_0)
+%If (- TQt_2_1_0)
enum State
{
Invalid,
@@ -94,7 +94,7 @@ public:
Acceptable
};
%End
-%If (Qt_2_1_0 -)
+%If (TQt_2_1_0 -)
enum State
{
Invalid,
@@ -104,46 +104,46 @@ public:
};
%End
-%If (Qt_2_00 -)
- virtual State validate(QString &,int & /In,Out/) const = 0;
- virtual void fixup(QString &) const;
+%If (TQt_2_00 -)
+ virtual State validate(TQString &,int & /In,Out/) const = 0;
+ virtual void fixup(TQString &) const;
%End
-%If (- Qt_2_00)
- virtual State validate(QString &,int & /In,Out/) = 0;
- virtual void fixup(QString &);
+%If (- TQt_2_00)
+ virtual State validate(TQString &,int & /In,Out/) = 0;
+ virtual void fixup(TQString &);
%End
private:
-%If (Qt_2_1_0 -)
- QValidator(const QValidator &);
+%If (TQt_2_1_0 -)
+ TQValidator(const TQValidator &);
%End
};
-class QIntValidator : QValidator
+class TQIntValidator : TQValidator
{
%TypeHeaderCode
#include <qvalidator.h>
%End
public:
-%If (Qt_3_0_0 -)
- QIntValidator(QObject * /TransferThis/,const char * = 0);
- QIntValidator(int,int,QObject * /TransferThis/,const char * = 0);
+%If (TQt_3_0_0 -)
+ TQIntValidator(TQObject * /TransferThis/,const char * = 0);
+ TQIntValidator(int,int,TQObject * /TransferThis/,const char * = 0);
%End
-%If (- Qt_3_0_0)
- QIntValidator(QWidget * /TransferThis/,const char * = 0);
- QIntValidator(int,int,QWidget * /TransferThis/,const char * = 0);
+%If (- TQt_3_0_0)
+ TQIntValidator(TQWidget * /TransferThis/,const char * = 0);
+ TQIntValidator(int,int,TQWidget * /TransferThis/,const char * = 0);
%End
-%If (Qt_2_00 -)
- QValidator::State validate(QString &,int & /In,Out/) const;
+%If (TQt_2_00 -)
+ TQValidator::State validate(TQString &,int & /In,Out/) const;
%End
-%If (- Qt_2_00)
- QValidator::State validate(QString &,int & /In,Out/);
+%If (- TQt_2_00)
+ TQValidator::State validate(TQString &,int & /In,Out/);
%End
-%If (Qt_2_1_0 -)
+%If (TQt_2_1_0 -)
void setBottom(int);
void setTop(int);
%End
@@ -153,39 +153,39 @@ public:
int top() const;
private:
-%If (Qt_2_1_0 -)
- QIntValidator(const QIntValidator &);
+%If (TQt_2_1_0 -)
+ TQIntValidator(const TQIntValidator &);
%End
};
-class QDoubleValidator : QValidator
+class TQDoubleValidator : TQValidator
{
%TypeHeaderCode
#include <qvalidator.h>
%End
public:
-%If (Qt_3_0_0 -)
- QDoubleValidator(QObject * /TransferThis/,const char * = 0);
- QDoubleValidator(double,double,int,QObject * /TransferThis/,
+%If (TQt_3_0_0 -)
+ TQDoubleValidator(TQObject * /TransferThis/,const char * = 0);
+ TQDoubleValidator(double,double,int,TQObject * /TransferThis/,
const char * = 0);
%End
-%If (- Qt_3_0_0)
- QDoubleValidator(QWidget * /TransferThis/,const char * = 0);
- QDoubleValidator(double,double,int,QWidget * /TransferThis/,
+%If (- TQt_3_0_0)
+ TQDoubleValidator(TQWidget * /TransferThis/,const char * = 0);
+ TQDoubleValidator(double,double,int,TQWidget * /TransferThis/,
const char * = 0);
%End
-%If (Qt_2_00 -)
- QValidator::State validate(QString &,int & /In,Out/) const;
+%If (TQt_2_00 -)
+ TQValidator::State validate(TQString &,int & /In,Out/) const;
%End
-%If (- Qt_2_00)
- QValidator::State validate(QString &,int & /In,Out/);
+%If (- TQt_2_00)
+ TQValidator::State validate(TQString &,int & /In,Out/);
%End
virtual void setRange(double,double,int = 0);
-%If (Qt_2_1_0 -)
+%If (TQt_2_1_0 -)
void setBottom(double);
void setTop(double);
void setDecimals(int);
@@ -196,32 +196,32 @@ public:
int decimals() const;
private:
-%If (Qt_2_1_0 -)
- QDoubleValidator(const QDoubleValidator &);
+%If (TQt_2_1_0 -)
+ TQDoubleValidator(const TQDoubleValidator &);
%End
};
-%If (Qt_3_0_0 -)
+%If (TQt_3_0_0 -)
-class QRegExpValidator : QValidator
+class TQRegExpValidator : TQValidator
{
%TypeHeaderCode
#include <qvalidator.h>
%End
public:
- QRegExpValidator(QObject * /TransferThis/,const char * = 0);
- QRegExpValidator(const QRegExp &,QObject * /TransferThis/,
+ TQRegExpValidator(TQObject * /TransferThis/,const char * = 0);
+ TQRegExpValidator(const TQRegExp &,TQObject * /TransferThis/,
const char * = 0);
- virtual QValidator::State validate(QString &,int & /In,Out/) const;
+ virtual TQValidator::State validate(TQString &,int & /In,Out/) const;
- void setRegExp(const QRegExp &);
- const QRegExp &regExp() const;
+ void setRegExp(const TQRegExp &);
+ const TQRegExp &regExp() const;
private:
- QRegExpValidator(const QRegExpValidator &);
+ TQRegExpValidator(const TQRegExpValidator &);
};
%End