From 8a055d66f43592c257cece2eb8cc021808062917 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 29 Nov 2011 01:11:08 -0600 Subject: Initial TQt conversion --- sip/qtsql/qdatabrowser.sip | 64 +++++++++++++++++++++++----------------------- 1 file changed, 32 insertions(+), 32 deletions(-) (limited to 'sip/qtsql/qdatabrowser.sip') 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 // -// 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 -QDataBrowser (Qt v3+) +TQDataBrowser (TQt v3+) virtual void del @@ -33,16 +33,16 @@ This has been renamed delOnCursor in Python. %End -%If (Qt_3_0_0 -) +%If (TQt_3_0_0 -) -class QDataBrowser : QWidget +class TQDataBrowser : TQWidget { %TypeHeaderCode #include %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 }; -- cgit v1.2.1