summaryrefslogtreecommitdiffstats
path: root/sip/qtsql/qdatabrowser.sip
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-29 01:11:08 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-29 01:11:08 -0600
commit8a055d66f43592c257cece2eb8cc021808062917 (patch)
treed0922f201bd5d24b62a33160d1d9baf9e89f9a70 /sip/qtsql/qdatabrowser.sip
parentb388516ca2691303a076a0764fd40bf7116fe43d (diff)
downloadpytqt-8a055d66f43592c257cece2eb8cc021808062917.tar.gz
pytqt-8a055d66f43592c257cece2eb8cc021808062917.zip
Initial TQt conversion
Diffstat (limited to 'sip/qtsql/qdatabrowser.sip')
-rw-r--r--sip/qtsql/qdatabrowser.sip64
1 files changed, 32 insertions, 32 deletions
diff --git a/sip/qtsql/qdatabrowser.sip b/sip/qtsql/qdatabrowser.sip
index ff2e4d8..47d5df7 100644
--- a/sip/qtsql/qdatabrowser.sip
+++ b/sip/qtsql/qdatabrowser.sip
@@ -1,27 +1,27 @@
-// This is the SIP interface definition for QDataBrowser.
+// This is the SIP interface definition for TQDataBrowser.
//
// Copyright (c) 2007
// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
//
-// 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>QDataBrowser (Qt v3+)</Title>
+<Sect2><Title>TQDataBrowser (TQt v3+)</Title>
<FuncSynopsis>
<FuncDef>virtual void <Function>del</Function></FuncDef>
<ParamDef></ParamDef>
@@ -33,16 +33,16 @@ This has been renamed <Literal>delOnCursor</Literal> in Python.
%End
-%If (Qt_3_0_0 -)
+%If (TQt_3_0_0 -)
-class QDataBrowser : QWidget
+class TQDataBrowser : TQWidget
{
%TypeHeaderCode
#include <qdatabrowser.h>
%End
public:
- QDataBrowser(QWidget * /TransferThis/ = 0,const char * = 0,WFlags = 0);
+ TQDataBrowser(TQWidget * /TransferThis/ = 0,const char * = 0,WFlags = 0);
enum Boundary {
Unknown,
@@ -57,16 +57,16 @@ public:
void setBoundaryChecking(bool);
bool boundaryChecking() const;
- void setSort(const QSqlIndex &);
- void setSort(const QStringList &);
- QStringList sort() const;
- void setFilter(const QString &);
- QString filter() const;
+ void setSort(const TQSqlIndex &);
+ void setSort(const TQStringList &);
+ TQStringList sort() const;
+ void setFilter(const TQString &);
+ TQString filter() const;
- virtual void setSqlCursor(QSqlCursor * /GetWrapper/,bool = 0);
+ virtual void setSqlCursor(TQSqlCursor * /GetWrapper/,bool = 0);
%MethodCode
Py_BEGIN_ALLOW_THREADS
- sipSelfWasArg ? sipCpp->QDataBrowser::setSqlCursor(a0, a1) : sipCpp->setSqlCursor(a0, a1);
+ sipSelfWasArg ? sipCpp->TQDataBrowser::setSqlCursor(a0, a1) : sipCpp->setSqlCursor(a0, a1);
Py_END_ALLOW_THREADS
// Transfer ownership of the cursor if the autoDelete flag is
@@ -75,9 +75,9 @@ public:
sipTransferTo(a0Wrapper,sipSelf);
%End
- QSqlCursor* sqlCursor() const;
- virtual void setForm(QSqlForm *);
- QSqlForm* form();
+ TQSqlCursor* sqlCursor() const;
+ virtual void setForm(TQSqlForm *);
+ TQSqlForm* form();
virtual void setConfirmEdits(bool);
virtual void setConfirmInsert(bool);
@@ -103,14 +103,14 @@ signals:
void nextRecordAvailable(bool);
void prevRecordAvailable(bool);
- void currentChanged(const QSqlRecord *);
- void primeInsert(QSqlRecord *);
- void primeUpdate(QSqlRecord *);
- void primeDelete(QSqlRecord *);
- void beforeInsert(QSqlRecord *);
- void beforeUpdate(QSqlRecord *);
- void beforeDelete(QSqlRecord *);
- void cursorChanged(QSqlCursor::Mode);
+ void currentChanged(const TQSqlRecord *);
+ void primeInsert(TQSqlRecord *);
+ void primeUpdate(TQSqlRecord *);
+ void primeDelete(TQSqlRecord *);
+ void beforeInsert(TQSqlRecord *);
+ void beforeUpdate(TQSqlRecord *);
+ void beforeDelete(TQSqlRecord *);
+ void cursorChanged(TQSqlCursor::Mode);
public slots:
virtual void refresh();
@@ -136,14 +136,14 @@ protected:
virtual bool deleteCurrent() /ReleaseGIL/;
virtual bool currentEdited();
- virtual QSql::Confirm confirmEdit(QSql::Op) /ReleaseGIL/;
- virtual QSql::Confirm confirmCancel(QSql::Op) /ReleaseGIL/;
+ virtual TQSql::Confirm confirmEdit(TQSql::Op) /ReleaseGIL/;
+ virtual TQSql::Confirm confirmCancel(TQSql::Op) /ReleaseGIL/;
- virtual void handleError(const QSqlError &) /ReleaseGIL/;
+ virtual void handleError(const TQSqlError &) /ReleaseGIL/;
private:
-%If (Qt_3_1_0 -)
- QDataBrowser(const QDataBrowser &);
+%If (TQt_3_1_0 -)
+ TQDataBrowser(const TQDataBrowser &);
%End
};