diff options
Diffstat (limited to 'python/pyqt/examples3')
-rw-r--r-- | python/pyqt/examples3/SQL/connect.ui.h | 2 | ||||
-rw-r--r-- | python/pyqt/examples3/SQL/sqlex.ui.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/python/pyqt/examples3/SQL/connect.ui.h b/python/pyqt/examples3/SQL/connect.ui.h index cbeeabdc..ee6e5a95 100644 --- a/python/pyqt/examples3/SQL/connect.ui.h +++ b/python/pyqt/examples3/SQL/connect.ui.h @@ -12,7 +12,7 @@ void ConnectDialog::init() from qtsql import QSqlDatabase #qDebug("ConnectDialog init") self.comboDriver.clear() -self.comboDriver.insertStringList(QSqlDatabase.drivers()) +self.comboDriver.insertStringList(TQSqlDatabase.drivers()) } void ConnectDialog::destroy() diff --git a/python/pyqt/examples3/SQL/sqlex.ui.h b/python/pyqt/examples3/SQL/sqlex.ui.h index 1acdc5d4..f1acd9ec 100644 --- a/python/pyqt/examples3/SQL/sqlex.ui.h +++ b/python/pyqt/examples3/SQL/sqlex.ui.h @@ -10,8 +10,8 @@ void SqlEx::init() { self.hsplit.setSizes([250]) -self.hsplit.setResizeMode(self.lv, QSplitter.KeepSize) -self.vsplit.setResizeMode(self.gb, QSplitter.KeepSize) +self.hsplit.setResizeMode(self.lv, TQSplitter.KeepSize) +self.vsplit.setResizeMode(self.gb, TQSplitter.KeepSize) self.submitBtn.setEnabled(0) } @@ -22,7 +22,7 @@ void SqlEx::dbConnect() } -void SqlEx::showTable( QListViewItem * ) +void SqlEx::showTable( TQListViewItem * ) { } |