diff --git a/ChangeLog b/ChangeLog
index 8233782..969ec89 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,7 +3,7 @@ Released as v3.18.1.
2009/06/10 14:35:18 phil
-Fixed the handwritten code for all QDomDocument.setContent() overloads which
+Fixed the handwritten code for all TQDomDocument.setContent() overloads which
was using deprecated (and now removed) sipBuildResult() format characters.
@@ -29,7 +29,7 @@ error message.
2009/03/04 12:20:03 phil
-Fixed a regression in emitting Python signals to Qt signals.
+Fixed a regression in emitting Python signals to TQt signals.
2009/02/25 21:42:47 phil
@@ -49,20 +49,20 @@ Safety checking of latest signal/slot refactoring.
2009/02/13 19:27:31 phil
-Safety commit of the PyQt3-specific meta-type and super-type (just stubs at the
+Safety commit of the PyTQt3-specific meta-type and super-type (just stubs at the
moment).
2009/02/13 17:03:47 phil
-Use the %Plugin directive to enable PyQt3 signal support.
+Use the %Plugin directive to enable PyTQt3 signal support.
2009/02/02 10:54:57 phil
-More changes to the QObject.sender() support.
+More changes to the TQObject.sender() support.
2009/02/01 17:09:17 phil
-Updated the QObject::sender() support in response to sip changes.
+Updated the TQObject::sender() support in response to sip changes.
2009/01/29 18:22:48 phil
@@ -74,7 +74,7 @@ The type parsing now uses sipResolveTypedef().
2009/01/28 12:44:28 phil
-Added the type parsing support from the sip module as PyQt4 no longer uses it.
+Added the type parsing support from the sip module as PyTQt4 no longer uses it.
2009/01/18 17:56:59 phil
@@ -86,7 +86,7 @@ Replaced sipFreeConnection() with sipFreeSipslot().
2009/01/12 22:42:00 phil
-Changes required by recent changes to the Qt support API.
+Changes retquired by recent changes to the TQt support API.
2008/12/17 17:24:12 phil
@@ -106,7 +106,7 @@ Released as v3.17.6.
2008/11/13 17:04:33 phil
-Fixed a compilation bug in the QMemArray handwritten type convertor code that
+Fixed a compilation bug in the TQMemArray handwritten type convertor code that
affects MSVC .NET.
@@ -119,7 +119,7 @@ Updated the NEWS file.
2008/10/14 10:53:17 phil
-Added the /Constrained/ enum annotations required by the latest SIP.
+Added the /Constrained/ enum annotations retquired by the latest SIP.
2008/10/11 13:58:59 phil
@@ -127,11 +127,11 @@ Updated configure.py to eliminate deprecation messages from Python v2.6.
2008/07/25 22:12:44 phil
-Added support for QRegion.rects() from a patch by Hans-Peter Jansen.
+Added support for TQRegion.rects() from a patch by Hans-Peter Jansen.
2008/06/28 19:09:35 phil
-Added the missing QWidget.stackUnder() slot.
+Added the missing TQWidget.stackUnder() slot.
2007/12/06 14:27:50 phil
@@ -144,7 +144,7 @@ Released as v3.17.3.
2007/07/01 16:08:55 phil
-Acquire the GIL before freeing a signal/slot connection.
+Actquire the GIL before freeing a signal/slot connection.
2007/06/13 17:33:55 phil
@@ -153,7 +153,7 @@ and no longer generated.
2007/06/05 9:37:59 phil
-Fix for an overflow bug in QImage from Ulli.
+Fix for an overflow bug in TQImage from Ulli.
2007/05/14 15:00:02 phil
@@ -170,7 +170,7 @@ Released as v3.17.2.
2007/04/21 14:13:36 phil
Backed out the recent change to remove the /ReleaseGIL/ from
-QApplication.postEvent() as it turns out it avoids a potential deadlock.
+TQApplication.postEvent() as it turns out it avoids a potential deadlock.
2007/04/10 16:13:51 phil
@@ -179,28 +179,28 @@ Released as v3.17.1.
2007/04/02 15:27:03 phil
Updated the NEWS file.
-SIP v4.6 is now required.
-The QLayoutItem sub-class code no longer handles QLayout and leaves it to the
-QObject sub-class code to deal with.
+SIP v4.6 is now retquired.
+The TQLayoutItem sub-class code no longer handles TQLayout and leaves it to the
+TQObject sub-class code to deal with.
2007/02/20 10:58:40 phil
-Removed the unneeded /ReleaseGIL/ from QApplication::postEvent().
-Removed the GIL manipulation in QCustomEvent (in particular in the traverse
+Removed the unneeded /ReleaseGIL/ from TQApplication::postEvent().
+Removed the GIL manipulation in TQCustomEvent (in particular in the traverse
code).
2007/01/27 16:02:18 phil
-Removed knowledge of the optional parts of the Qt support API so that it is no
-longer necessary to update PyQt when new optional parts are added.
+Removed knowledge of the optional parts of the TQt support API so that it is no
+longer necessary to update PyTQt when new optional parts are added.
2007/01/27 15:37:47 phil
-Updated the Qt support API for the latest SIP.
+Updated the TQt support API for the latest SIP.
2007/01/21 16:29:15 phil
-Implemented sipQtFindConnection() so that lambda slots can be handled by the
+Implemented sipTQtFindConnection() so that lambda slots can be handled by the
cyclic garbage collector.
@@ -209,8 +209,8 @@ Updated the copyright notices.
2006/11/30 20:58:48 phil
-Fixed bug in QApplication ctor handwritten code that caused a crash if a
-QApplication was created a second time with no arguments.
+Fixed bug in TQApplication ctor handwritten code that caused a crash if a
+TQApplication was created a second time with no arguments.
2006/11/04 22:08:33 phil
@@ -222,11 +222,11 @@ Updated the news file.
2006/10/21 14:10:23 phil
-Switched the internal build system to Qt v3.3.7.
+Switched the internal build system to TQt v3.3.7.
2006/10/06 17:44:27 phil
-Synched with the latest QScintilla1 API.
+Synched with the latest TQScintilla1 API.
2006/09/09 17:59:52 phil
@@ -240,11 +240,11 @@ as it causes problems for GCC v4.
2006/08/17 9:36:39 phil
-Added the missing QListView.setSelectionAnchor().
+Added the missing TQListView.setSelectionAnchor().
2006/07/30 17:16:35 phil
-Updated for the latest QScintilla v1 snapshot.
+Updated for the latest TQScintilla v1 snapshot.
2006/07/19 23:30:28 phil
@@ -261,7 +261,7 @@ Added QextScintilla.isCallTipActive().
2006/07/03 19:40:22 phil
Added pyqt_config_args to pyqtconfig.py.
-Fixed QTextEdit.setAutoFormatting().
+Fixed TQTextEdit.setAutoFormatting().
2006/07/02 14:28:05 phil
@@ -300,11 +300,11 @@ Python.
2006/06/20 15:57:55 phil
-Latest QScintilla updates.
+Latest TQScintilla updates.
2006/06/19 21:00:47 phil
-Synced with the latest QScintilla snapshot - including the significantly
+Synced with the latest TQScintilla snapshot - including the significantly
changed Ruby lexer.
@@ -313,20 +313,20 @@ Solaris warnings fixes from Ulli.
2006/06/18 23:51:34 phil
-Sync with the latest QScintilla changes: highlighted identifiers and decorators
+Sync with the latest TQScintilla changes: highlighted identifiers and decorators
in the Python lexer.
2006/06/18 16:40:31 phil
-Updated for the latest QScintilla snapshot.
+Updated for the latest TQScintilla snapshot.
2006/05/17 8:39:39 phil
-Removed some inaccessable methods from QCString.
+Removed some inaccessable methods from TQCString.
2006/05/11 19:04:27 phil
-Another fix for Qt v3.1 in qnamespace.sip.
+Another fix for TQt v3.1 in qnamespace.sip.
2006/04/28 20:47:46 phil
@@ -338,7 +338,7 @@ Tidy ups to the internal build system.
2006/04/06 12:26:09 phil
-Fixed Qt::MacintoshVersion for Qt v3.0.x and v3.1.x.
+Fixed TQt::MacintoshVersion for TQt v3.0.x and v3.1.x.
2006/04/05 12:11:43 phil
@@ -347,11 +347,11 @@ signature (ie. both of them).
2006/03/30 8:09:58 phil
-Added QStringList::operator+=(const QString &).
+Added TQStringList::operator+=(const TQString &).
2006/03/29 11:38:21 phil
-Added the missing QImage.bitBlt() function.
+Added the missing TQImage.bitBlt() function.
2006/03/24 23:54:13 phil
@@ -359,7 +359,7 @@ Released as v3.16.
2006/03/23 21:34:09 phil
-Added a missing /Transfer/ from QGLWidget().
+Added a missing /Transfer/ from TQGLWidget().
2006/03/20 21:00:58 phil
@@ -367,7 +367,7 @@ Removed the "Filter" functions from the documentation.
2006/03/20 20:59:23 phil
-Removed the "Filter" versions of the QFileDialog static methods as they aren't
+Removed the "Filter" versions of the TQFileDialog static methods as they aren't
necessary after all (just not obvious how to use them properly).
@@ -376,33 +376,33 @@ pyuic now specifies the Latin1 encoding when the -embed flag is used.
2006/03/13 11:55:09 phil
-Build system changes so that PyQt builds on MacOS properly.
+Build system changes so that PyTQt builds on MacOS properly.
2006/03/11 19:16:56 phil
-Removed some leftovers from when PyQt3 and 4 shared a single config.py. PyQt3
-no longer searches PATH for the Qt bin directory.
+Removed some leftovers from when PyTQt3 and 4 shared a single config.py. PyTQt3
+no longer searches PATH for the TQt bin directory.
2006/03/11 15:15:15 phil
-Fixed build problem with Qt v1.x.
+Fixed build problem with TQt v1.x.
2006/03/10 22:37:30 phil
-Updates for Qt v3.3.6.
+Updates for TQt v3.3.6.
2006/03/04 16:06:40 phil
Documentation updates.
-Applied the same transfer rule to QPopupMenu.exec() as is applied to
-QDialog.exec().
+Applied the same transfer rule to TQPopupMenu.exec() as is applied to
+TQDialog.exec().
Added getOpenFileNameFilter(), getSaveFileNameFilter() and
-getOpenFileNamesFilter() to QFileDialog that return a tuple of the selected
+getOpenFileNamesFilter() to TQFileDialog that return a tuple of the selected
files and the current filter.
2006/02/26 13:56:28 phil
-Added support for signed char to the Qt API.
+Added support for signed char to the TQt API.
2006/02/21 15:22:08 phil
@@ -411,11 +411,11 @@ implemented as long objects rather than integer objects.
2006/02/19 16:43:48 phil
-Updates to the internal Qt API.
+Updates to the internal TQt API.
2006/02/18 21:05:56 phil
-Added new stubs in the Qt support API (not used by PyQt3).
+Added new stubs in the TQt support API (not used by PyTQt3).
2006/02/14 19:16:05 phil
@@ -436,7 +436,7 @@ Removed all uses of newly deprecated calls.
2006/01/26 16:40:38 phil
-Changed the signal/slot support required by the latest SIP changes.
+Changed the signal/slot support retquired by the latest SIP changes.
2006/01/16 18:58:26 phil
@@ -460,11 +460,11 @@ Updated all handwritten convertor code for the latest SIP changes.
2005/12/24 17:02:31 phil
-Changes required by the introduction of sipSelfWasArg in the SIP snapshot.
+Changes retquired by the introduction of sipSelfWasArg in the SIP snapshot.
2005/12/22 16:22:48 phil
-Really fixed the QApplication argc bug this time.
+Really fixed the TQApplication argc bug this time.
2005/12/19 17:43:42 phil
@@ -472,7 +472,7 @@ Changes to the build system for the latest SIP snapshot.
2005/12/18 11:00:06 phil
-Stripped the Qt4 specific stuff from configure.py.
+Stripped the TQt4 specific stuff from configure.py.
2005/12/18 10:06:25 phil
@@ -485,24 +485,24 @@ Changes to the internal build system for the CVS to SVN transfer.
2005/12/07 00:54:04 phil
-Added a missing #include from qstring.sip in PyQt3.
+Added a missing #include from qstring.sip in PyTQt3.
2005/12/04 18:41:31 phil
-Fixed the handling of horizontal and vertical stretch in QSizePolicy.
+Fixed the handling of horizontal and vertical stretch in TQSizePolicy.
2005/11/29 13:06:37 phil
-Fixed a long standing bug with QApplication ctors that only showed itself with
-Qt4.
+Fixed a long standing bug with TQApplication ctors that only showed itself with
+TQt4.
2005/11/24 17:45:09 phil
-Added the missing /ReleaseGIL/ to QThread.exit().
+Added the missing /ReleaseGIL/ to TQThread.exit().
2005/11/24 17:22:31 phil
-Changes required for the modified mapped type template syntax.
+Changes retquired for the modified mapped type template syntax.
2005/11/20 18:41:02 phil
@@ -511,16 +511,16 @@ auto-generated.
2005/11/17 18:24:48 phil
-Fixed bug in pyuic related to QKeySequence.
+Fixed bug in pyuic related to TQKeySequence.
2005/11/12 10:29:13 phil
-Added the missing ctor to QApplication.
+Added the missing ctor to TQApplication.
2005/11/10 21:10:46 phil
-Removed the /TransferThis/ annotations from the QTableItem (and sub-classes)
-ctors. The Qt documentation is wrong.
+Removed the /TransferThis/ annotations from the TQTableItem (and sub-classes)
+ctors. The TQt documentation is wrong.
2005/11/09 18:00:47 phil
@@ -528,52 +528,52 @@ Fixed the GIL bug in qInstallMsgHandler().
2005/11/01 22:08:32 phil
-Implemented the PyQt3 changes for the new Qt support API.
+Implemented the PyTQt3 changes for the new TQt support API.
2005/10/26 14:34:57 phil
-Modified the QString buffer interface to be reentrant and to try and use the
+Modified the TQString buffer interface to be reentrant and to try and use the
default Python codec.
2005/10/23 16:02:47 phil
-QObject.sender() now supports Python signals.
+TQObject.sender() now supports Python signals.
2005/10/22 22:38:54 phil
-Implemented the buffer interface for QString.
+Implemented the buffer interface for TQString.
2005/10/19 13:38:24 phil
-Improved the fix to QClipboard.setData().
+Improved the fix to TQClipboard.setData().
2005/10/16 16:09:29 phil
-Used mapped type templates in PyQt3 where possible.
+Used mapped type templates in PyTQt3 where possible.
2005/10/13 18:52:02 phil
-Fixed the handling of QClipboard.setMimeType() and a related memory leak.
+Fixed the handling of TQClipboard.setMimeType() and a related memory leak.
2005/10/12 21:11:15 phil
-Fixed bug in configure.py when the Qt bin directory isn't on the path.
-Fixed compilation problem with QAxBase handwritten code and MinGW.
-Added the * and *= operators to QString.
-Removed some QString methods that were passing or returning arrays.
+Fixed bug in configure.py when the TQt bin directory isn't on the path.
+Fixed compilation problem with TQAxBase handwritten code and MinGW.
+Added the * and *= operators to TQString.
+Removed some TQString methods that were passing or returning arrays.
2005/10/11 21:13:48 phil
-Added /Numeric/ to the QString + operator. The improved behaviour (being able
-to write s = "foo" + QString("bar")) should now work in both PyQt3 and 4.
+Added /Numeric/ to the TQString + operator. The improved behaviour (being able
+to write s = "foo" + TQString("bar")) should now work in both PyTQt3 and 4.
2005/10/07 18:15:37 phil
-Changed the PyQt3 QString behaviour with long and ulong to match PyQt4.
+Changed the PyTQt3 TQString behaviour with long and ulong to match PyTQt4.
2005/09/22 20:18:39 phil
-Updated the build system now that all Qt specific configuration data has been
+Updated the build system now that all TQt specific configuration data has been
removed from sipconfig.
@@ -597,7 +597,7 @@ is recreated).
2005/09/06 20:33:43 phil
Removed support for SIP v3 from configure.py.
-Added the new Qt support code taken out of SIP.
+Added the new TQt support code taken out of SIP.
2005/08/30 17:31:05 phil
@@ -609,37 +609,37 @@ Replaced all the (now deprecated) sipTransfer() calls in handwritten code.
2005/08/10 22:10:29 phil
-Synced with the latest QScintilla.
+Synced with the latest TQScintilla.
Updated the documentation.
2005/07/26 11:08:23 phil
-Synced with the current QScintilla.
+Synced with the current TQScintilla.
2005/07/25 18:24:29 phil
-Added the sipTransfer() to QDialog.exec_loop().
+Added the sipTransfer() to TQDialog.exec_loop().
2005/07/24 20:16:51 phil
-Synced with the latest QScintilla.
+Synced with the latest TQScintilla.
Added the registerWeakActiveObject() and revokeActiveObject() utility
-functions to QAxBase.
+functions to TQAxBase.
2005/07/10 09:46:49 phil
-Added %ConvertSubClassCode to QLayoutItem.
+Added %ConvertSubClassCode to TQLayoutItem.
2005/07/09 17:55:30 phil
-Sync'ed with the latest QScintilla changes.
+Sync'ed with the latest TQScintilla changes.
2005/07/06 18:20:26 phil
-Fixed the bug in QObject's type conversion graph.
+Fixed the bug in TQObject's type conversion graph.
Added the QextScintillaLexerPOV class.
Fixed configure.py so that it properly enables support for the latest
-QScintilla.
+TQScintilla.
2005/07/05 21:04:26 phil
@@ -647,35 +647,35 @@ Added the extra flag to QextScintilla.findFirst().
2005/07/04 19:17:38 phil
-Synced with the latest version of QScintilla.
+Synced with the latest version of TQScintilla.
2005/07/03 16:58:21 phil
-Added support for QAxBase now that SIP has better support for abstract
+Added support for TQAxBase now that SIP has better support for abstract
classes.
2005/06/30 15:38:41 phil
-Reimplemented all the %ConvertToSubClassCode for QObjects so that it returns
+Reimplemented all the %ConvertToSubClassCode for TQObjects so that it returns
the most specific type that it can, even if it doesn't recognise the exact
type.
2005/06/19 13:49:51 phil
-Hopefully fixed QImage() for colours with unsigned 32 bit values.
+Hopefully fixed TQImage() for colours with unsigned 32 bit values.
2005/06/10 16:45:00 phil
-Fixed the return value of QMenuData.insertSeparator().
+Fixed the return value of TQMenuData.insertSeparator().
2005/05/20 17:25:45 phil
-Fixed a problem where the readBlock() and readLine() methods of QIODevice were
+Fixed a problem where the readBlock() and readLine() methods of TQIODevice were
wrongly expecting a tuple result from a Python reimplementation.
2005/05/04 18:41:49 phil
-Fixed pyuic bug where a required QIconSet ctor wasn't being generated.
+Fixed pyuic bug where a retquired TQIconSet ctor wasn't being generated.
2005/04/17 09:04:01 phil
@@ -685,16 +685,16 @@ checks.
2005/04/15 13:31:55 phil
-Added missing Py_DECREF() from QObject.queryList() %MethodCode.
+Added missing Py_DECREF() from TQObject.queryList() %MethodCode.
2005/04/14 18:17:58 phil
-Implemented the QString '+' operator.
+Implemented the TQString '+' operator.
2005/04/09 15:35:48 phil
-When None is passed as a QString (or QByteArray or QCString) then it is now
-converted to NULL rather than a null QString.
+When None is passed as a TQString (or TQByteArray or TQCString) then it is now
+converted to NULL rather than a null TQString.
2005/04/04 15:59:27 phil
@@ -703,12 +703,12 @@ collector directives.
2005/04/02 23:10:46 phil
-Fixed the QCustomEvent %GCClear code.
+Fixed the TQCustomEvent %GCClear code.
2005/04/02 22:28:50 phil
-Added the new %GCTraverseCode and %GCClearCode to QCustomEvent.
-Now requires SIP v4.3.
+Added the new %GCTraverseCode and %GCClearCode to TQCustomEvent.
+Now retquires SIP v4.3.
2005/04/02 09:53:27 phil
@@ -716,8 +716,8 @@ Replaced the new /NoConvertor/ annotation with /Constrained/.
2005/03/25 20:18:32 phil
-Accel and AccelOverride should now result in QKeyEvent instances rather than
-QEvent instances.
+Accel and AccelOverride should now result in TQKeyEvent instances rather than
+TQEvent instances.
Added missing private dtors.
@@ -730,7 +730,7 @@ Fixed qInstallMsgHandler() for SIP v3.
2005/03/10 18:55:52 phil
-Fixed QPixmapCache.insert().
+Fixed TQPixmapCache.insert().
2005/03/06 10:09:06 phil
@@ -742,8 +742,8 @@ Fixed problem with relative path arguments to configure.py.
2005/02/25 17:46:51 phil
-Added the missing /ReleaseGIL/ annotations from the static QFileDialog methods.
-Fixed QObject.queryList() (for SIP v4 only).
+Added the missing /ReleaseGIL/ annotations from the static TQFileDialog methods.
+Fixed TQObject.queryList() (for SIP v4 only).
2005/02/19 15:23:42 phil
@@ -755,14 +755,14 @@ Released as 3.14.
Fixed the dirview.py example so that it drags local filenames properly and the
folderSelected() signal works the same way as the C++ version.
Added the qdir.py example from Hans-Peter Jansen.
-Updated the QAxObject and QAxWidget documentation.
+Updated the TQAxObject and TQAxWidget documentation.
Added qInstallMsgHandler().
Added the missing classes from the qtext subclass convertor code.
2005/02/13 10:47:50 phil
-Updated the documentation on QFilePreview.
-Fixed a bug in pyuic related to QDataBrowser.del().
+Updated the documentation on TQFilePreview.
+Fixed a bug in pyuic related to TQDataBrowser.del().
2005/02/11 22:54:02 phil
@@ -770,30 +770,30 @@ Updated the NEWS file and the documentation.
2005/02/11 17:19:19 phil
-Fixed broken QObject.inherits() and QObject.isA() (for SIP v4 only).
-Changes in version numbers for Qt v2.3.10.
+Fixed broken TQObject.inherits() and TQObject.isA() (for SIP v4 only).
+Changes in version numbers for TQt v2.3.10.
Removed the "Extracting ..." message from pyuic as it isn't always true.
2005/02/06 14:39:57 phil
-Release the GIL on calling QApplication.enter_loop().
+Release the GIL on calling TQApplication.enter_loop().
2005/01/29 10:15:48 phil
-Synced pyuic with Qt v3.3.4.
+Synced pyuic with TQt v3.3.4.
2005/01/22 18:13:35 phil
-PyQt now requires SIP v4.2 or later.
+PyTQt now retquires SIP v4.2 or later.
2005/01/22 11:54:13 phil
-Fixed bug in pyuic where it wasn't importing QDataView when it should.
+Fixed bug in pyuic where it wasn't importing TQDataView when it should.
2005/01/21 17:29:52 phil
-Added a missing /Transfer/ from QScrollView.setCornerWidget().
-Synced with the current QScintilla snapshot.
+Added a missing /Transfer/ from TQScrollView.setCornerWidget().
+Synced with the current TQScintilla snapshot.
2005/01/17 13:04:46 phil
@@ -809,7 +809,7 @@ Removed the out of date README.Linux file.
2005/01/14 17:36:52 phil
-Backed out the changes to QListBox now that SIP (again) has strict enum
+Backed out the changes to TQListBox now that SIP (again) has strict enum
checking.
Fixed enum related bugs in the widgets.py example.
Updated the copyright notices.
@@ -819,12 +819,12 @@ Added support for debug builds to the internal build system.
2005/01/09 14:02:11 phil
-Fixed QListBox so that setRowMode() and setColumnMode() work properly with the
+Fixed TQListBox so that setRowMode() and setColumnMode() work properly with the
newly relaxed enum type checking in SIP 4.
2004/12/29 18:54:44 phil
-Added missing const to QDataTable.setDateFormat().
+Added missing const to TQDataTable.setDateFormat().
2004/12/26 12:32:59 phil
@@ -834,7 +834,7 @@ Added support for the QextScintillaLexerRuby class.
2004/12/24 17:54:25 phil
Removed the -g flag from the configure.py help as the corresponding sip flag is
now deprecated.
-Hopefully fixed conversions from Python unicode objects to QStrings where
+Hopefully fixed conversions from Python unicode objects to TQStrings where
Python uses longs to represent a character.
Allow for spaces in the path to the SIP binary.
@@ -856,16 +856,16 @@ Fixed debug builds on Windows.
2004/12/05 14:53:42 phil
-Fixed pyuic bug (introduced in 3.13) that broke support for QAxWidget based
+Fixed pyuic bug (introduced in 3.13) that broke support for TQAxWidget based
instances.
2004/12/03 19:00:06 phil
-Added a missing /TransferThis/ to QSyntaxHighlighter.
+Added a missing /TransferThis/ to TQSyntaxHighlighter.
2004/10/31 16:33:07 phil
-Sync'd to the current QScintilla snapshot.
+Sync'd to the current TQScintilla snapshot.
2004/10/17 19:27:08 phil
@@ -892,8 +892,8 @@ Updated the NEWS file.
2004/09/15 12:40:09 phil
-Added the QMetaObject and QMetaProperty classes.
-Added the QObject.metaObject() method.
+Added the TQMetaObject and TQMetaProperty classes.
+Added the TQObject.metaObject() method.
2004/09/12 11:41:49 phil
@@ -901,45 +901,45 @@ Added support for the QextScintillaLexerBash class.
2004/09/10 22:38:09 phil
-Removed redundant implementations of QSqlRecord.field().
+Removed redundant implementations of TQSqlRecord.field().
Replaced whrandom with random in all examples.
2004/08/25 15:29:20 phil
-Added explicit support for QScintilla to pyuic.
+Added explicit support for TQScintilla to pyuic.
2004/08/22 15:51:05 phil
-Added support for what will become QScintilla v1.4.
+Added support for what will become TQScintilla v1.4.
2004/08/20 11:07:56 phil
Brought the documentation up to date.
-Added support for QUuid.
+Added support for TQUuid.
2004/08/19 10:32:31 phil
-Pushed out support of QAxObject to SIP v4.2.
-Added /ReleaseGIL/ to any QApplication and QThread method that might cause
+Pushed out support of TQAxObject to SIP v4.2.
+Added /ReleaseGIL/ to any TQApplication and TQThread method that might cause
events to be dispatched.
2004/08/15 23:34:28 phil
-Updated pyuic from Qt 3.3.3.
+Updated pyuic from TQt 3.3.3.
pyuic now never uses the SLOT() macro in case the connection is to a method of
a Python custom widget.
2004/08/04 18:05:25 phil
-Added the comparison operators between QChar and QChar and char.
+Added the comparison operators between TQChar and TQChar and char.
2004/08/04 14:06:41 phil
-Implemented all the QDataStream << and >> operators for classes.
+Implemented all the TQDataStream << and >> operators for classes.
2004/08/03 22:19:59 phil
-Build system fix for when QWindowsXPStyle is a plugin.
+Build system fix for when TQWindowsXPStyle is a plugin.
2004/07/19 18:41:53 phil
@@ -951,22 +951,22 @@ Minor internal changes.
2004/06/27 08:43:19 phil
-Added a missing /TransferThis/ from one of the QPushButton ctors.
+Added a missing /TransferThis/ from one of the TQPushButton ctors.
2004/05/26 22:15:40 phil
-Added another missing /ReleaseGIL/ to QApplication.
+Added another missing /ReleaseGIL/ to TQApplication.
2004/05/25 17:05:27 phil
-Fixed bug in QArray for old versions of Qt.
-Fixed QAssistantClient bug in configure.py for old versions of Qt.
-Fixed QSocket bug for old versions of Qt.
+Fixed bug in TQArray for old versions of TQt.
+Fixed TQAssistantClient bug in configure.py for old versions of TQt.
+Fixed TQSocket bug for old versions of TQt.
Released as v3.12.
2004/05/25 13:55:07 phil
-Added missing /ReleaseGIL/ to QThread.
+Added missing /ReleaseGIL/ to TQThread.
2004/05/25 11:26:37 phil
@@ -976,7 +976,7 @@ Internal build system changes.
2004/05/18 18:33:03 phil
Added the webbrowser.py example (which will have to wait until SIP v4.1 before
it works).
-Added missing /ReleaseGIL/ to QWaitCondition, QMutex and QMutexLocker.
+Added missing /ReleaseGIL/ to TQWaitCondition, TQMutex and TQMutexLocker.
2004/05/15 14:18:24 phil
@@ -985,25 +985,25 @@ Disabled the qtaxcontainer module until SIP v4.1.
2004/05/09 11:19:26 phil
-Minor pyuic3 changes to support QAxWidget.
+Minor pyuic3 changes to support TQAxWidget.
Marked the qtaxcontainer classes as experimental.
2004/05/04 16:01:57 phil
qwindowdefs.sip for all platforms is now included in the commercial package.
Changed the SIP3 dependency to v3.10.2.
-QValueList is now dependent on the Qt_ICONVIEW feature.
+TQValueList is now dependent on the TQt_ICONVIEW feature.
pyuic and pylupdate will now build on the Enterprise Edition even if the qtxml
module has been disabled.
Compiler error messages during configuration are suppressed if possible, but
can be seen with the new -w flag.
-configure.py now explicitly checks QAssistantClient rather than assume it is
+configure.py now explicitly checks TQAssistantClient rather than assume it is
present in the Enterprise Edition.
The qtaxcontainer module now builds on Windows.
2004/05/02 00:38:16 phil
-Sync with the latest QScintilla snapshot.
+Sync with the latest TQScintilla snapshot.
2004/05/01 17:10:57 phil
@@ -1013,7 +1013,7 @@ The commercial version now has identical code on all platforms.
2004/04/30 21:50:33 phil
Fixed an internal build problem.
-Implemented QValueList as a mapped type. (Done in the previous
+Implemented TQValueList as a mapped type. (Done in the previous
commit but I forgot to mention it.)
@@ -1023,15 +1023,15 @@ anything.
2004/04/24 08:43:22 phil
-Update the documentation to say that Qt v3.3.2 is supported.
+Update the documentation to say that TQt v3.3.2 is supported.
2004/04/18 15:45:12 phil
-Changed the build system to deal with the evaluation version of PyQt.
+Changed the build system to deal with the evaluation version of PyTQt.
2004/04/13 18:24:04 phil
-QAssistantClient is disabled for the Professional Edition because it requires
+TQAssistantClient is disabled for the Professional Edition because it retquires
code from the Enterprise Edition (only seems to affect Windows though).
@@ -1041,25 +1041,25 @@ Added the QextScintillaLexerPerl class to the qtext module.
2004/04/04 17:01:11 phil
Minor fixes to the dirview.py example.
-Sync'ed with the current QScintilla snapshot.
+Sync'ed with the current TQScintilla snapshot.
2004/03/30 18:22:25 phil
-Fixed a bug where the destruction of QTab instances wasn't noticed.
+Fixed a bug where the destruction of TQTab instances wasn't noticed.
2004/03/28 15:16:50 phil
-Updated to the latest QScintilla snapshot.
+Updated to the latest TQScintilla snapshot.
2004/03/27 18:26:02 phil
-Updated for the latest changes to QScintilla.
+Updated for the latest changes to TQScintilla.
2004/03/21 21:09:25 phil
Changed the configure.py message when testing for plugins to be the right
"sense".
-Updated the QScintilla support for v1.3.
+Updated the TQScintilla support for v1.3.
2004/03/11 19:05:38 phil
@@ -1076,13 +1076,13 @@ Brought the documentation up to date.
Minor internal build system changes.
The build system now disables style classes built as plugins.
Changed the handwritten code to use the SIP generated feature #defines rather
-than the unreliable (in the case of plugins) Qt ones.
+than the unreliable (in the case of plugins) TQt ones.
2004/02/26 18:56:39 phil
-Updated the documentation to say that PyQt has been tested against Qt v3.3.1.
+Updated the documentation to say that PyTQt has been tested against TQt v3.3.1.
Updated the internal build system to exploit distcc.
-Fixed bug in the conversion from Python lists to QMemArrays.
+Fixed bug in the conversion from Python lists to TQMemArrays.
2004/02/15 22:34:39 phil
@@ -1090,7 +1090,7 @@ Fixed the canvas.py example's handling of multiple views.
2004/02/11 19:24:10 phil
-Fixed the old build system for Qt v3.3.0.
+Fixed the old build system for TQt v3.3.0.
2004/02/07 17:38:52 phil
@@ -1098,25 +1098,25 @@ Fixed a couple of bugs in pyuic3 and added the spacer.ui form to verify it.
2004/02/02 22:27:48 phil
-Updated pyuic from Qt v3.3.0.
+Updated pyuic from TQt v3.3.0.
2004/02/01 14:38:18 phil
-Added the QLocale class from Qt v3.3.0.
-Updated all existing classes for Qt v3.3.0.
-Added the missing += operators for QString.
-Added the missing QSocketDevice class.
+Added the TQLocale class from TQt v3.3.0.
+Updated all existing classes for TQt v3.3.0.
+Added the missing += operators for TQString.
+Added the missing TQSocketDevice class.
2004/01/31 23:09:45 phil
-Added the missing /Transfer/ from QMimeSourceFactory.setData() and
-QMimeSourceFactory.setDefaultFactory().
-Added the missing /TransferBack/ from QMimeSourceFactory.takeDefaultFactory().
-Added the missing /Factory/ from createEditor() in QTableItem and sub-classes.
-Added the missing /Factory/ in QTextCodec.makeDecoder(),
-QTextCodec.makeEncoder() and QTextEdit.createPopupMenu().
-Added Qt v3.3.0 support to the build system.
-PyQt now builds against Qt v3.3.0.
+Added the missing /Transfer/ from TQMimeSourceFactory.setData() and
+TQMimeSourceFactory.setDefaultFactory().
+Added the missing /TransferBack/ from TQMimeSourceFactory.takeDefaultFactory().
+Added the missing /Factory/ from createEditor() in TQTableItem and sub-classes.
+Added the missing /Factory/ in TQTextCodec.makeDecoder(),
+TQTextCodec.makeEncoder() and TQTextEdit.createPopupMenu().
+Added TQt v3.3.0 support to the build system.
+PyTQt now builds against TQt v3.3.0.
2004/01/29 19:19:36 phil
@@ -1125,14 +1125,14 @@ Added README.AIX from Ulli Berning.
2004/01/27 08:34:21 phil
-Reverted the accidental change to QTextEdit.find().
+Reverted the accidental change to TQTextEdit.find().
Fixed a couple of markup problems in the documentation.
-Added the missing QHttp, QFtp and QLocalFs to the appropriate
+Added the missing TQHttp, TQFtp and TQLocalFs to the appropriate
%ConvertToSubClassCode.
2004/01/21 18:34:02 phil
-Added some fixes for Qtopia v1.6 from Mickey Lauer.
+Added some fixes for TQtopia v1.6 from Mickey Lauer.
2004/01/16 20:53:09 phil
@@ -1140,7 +1140,7 @@ Released as v3.10.
2004/01/15 20:04:11 phil
-Changed configure.py to check that SIP was built with Qt support enabled as
+Changed configure.py to check that SIP was built with TQt support enabled as
early as possible.
@@ -1155,7 +1155,7 @@ Minor updates to the build system.
2004/01/03 23:57:31 phil
Updated the copyright notices.
-Changed pyuic3 to only #include zlib.h for Qt versions before 3.1.0.
+Changed pyuic3 to only #include zlib.h for TQt versions before 3.1.0.
Documented pyqtconfig.
@@ -1169,12 +1169,12 @@ Changes to the build system based on patches from Ulrich Berning.
2003/12/26 19:32:31 phil
-Added the missing QFtp class.
+Added the missing TQFtp class.
2003/12/26 19:31:23 phil
-Added the missing QHttp, QHttpHeader, QHttpRequestHeader, QHttpResponseHeader,
-QLocalFs classes.
+Added the missing TQHttp, TQHttpHeader, TQHttpRequestHeader, TQHttpResponseHeader,
+TQLocalFs classes.
2003/12/21 17:28:16 phil
@@ -1182,7 +1182,7 @@ Documented sip.voidptr.asstring().
2003/12/21 16:07:00 phil
-Fixed a bug when automatically converting to a QKeySequence.
+Fixed a bug when automatically converting to a TQKeySequence.
2003/12/06 20:21:54 phil
@@ -1208,16 +1208,16 @@ Windows related changes to the new build system.
2003/11/22 00:50:23 phil
-Portability fixes for Qt v2 and Qtopia.
+Portability fixes for TQt v2 and TQtopia.
2003/11/21 23:06:14 phil
-More changes to the new build system. Tested with SIP v4 and Qt Professional
+More changes to the new build system. Tested with SIP v4 and TQt Professional
on Linux and SIP v3 and Python v1.5.2 on Linux.
2003/11/21 07:32:01 phil
-SCons is now completely removed from the new build system. PyQt will now build
+SCons is now completely removed from the new build system. PyTQt will now build
with SIP v3 and SIP v4 on Linux.
@@ -1226,35 +1226,35 @@ More changes to the new build system.
2003/11/13 19:41:35 phil
-More changes to the new build system. PyQt now builds against the Professional
+More changes to the new build system. PyTQt now builds against the Professional
Edition.
2003/11/13 13:12:47 phil
-New build system changes. PyQt now builds correctly on Linux for SIP v3 and SIP
+New build system changes. PyTQt now builds correctly on Linux for SIP v3 and SIP
v4.
2003/11/12 22:22:50 phil
Added more of the new build system.
Fixed a bug in pyuic3 handling of encoded strings (thanks to Joerg Kaercher).
-Added the QImageIO class.
+Added the TQImageIO class.
2003/11/05 20:33:43 phil
-Added QListViewItemIterator.
-Added the QDockArea << and >> operators.
+Added TQListViewItemIterator.
+Added the TQDockArea << and >> operators.
Started on the new build system.
2003/10/27 23:23:07 phil
Removed more handwritten code now that SIP fully supports pointers and
references to base types.
-Fixed a GIL problem with the QCanvasItem sub-class conversion code.
+Fixed a GIL problem with the TQCanvasItem sub-class conversion code.
2003/10/26 22:53:03 phil
-Added the missing QSettings.readBoolEntry().
+Added the missing TQSettings.readBoolEntry().
Removed lots of non-virtual %MethodCode now that SIP automatically handles
returning multiple arguments.
@@ -1271,7 +1271,7 @@ Used %ModuleCode and %TypeCode rather than the deprecated %C++Code.
2003/10/22 18:40:32 phil
-Added %ConvertToSubClassCode for QTableItem and QCanvasItem.
+Added %ConvertToSubClassCode for TQTableItem and TQCanvasItem.
Added the missing qtui module documentation.
Refactored the internal and external build systems so that the .sip files are
arranged in a hierarchy and are installed.
@@ -1290,25 +1290,25 @@ Fixed internal build.py to generate Mac packages properly.
2003/10/20 18:50:07 phil
More MacOS/X related changes.
Compiler warnings are now enabled when building with SIP v4.
-PyQt builds with no warnings with SIP v4.
+PyTQt builds with no warnings with SIP v4.
2003/10/19 19:47:35 phil
Documentation updates.
-Removed the tests for missing functions in early versions of Qt for MacOS/X.
+Removed the tests for missing functions in early versions of TQt for MacOS/X.
Updates to the build system for MacOS/X.
2003/10/16 15:50:38 phil
-Replaced the use of __cmp__ in QString because it doesn't work with SIP v4 if
+Replaced the use of __cmp__ in TQString because it doesn't work with SIP v4 if
the argument isn't of the same type - it's just the way new-style classes work.
-Removed the QString.__cmp__() unit test as the implementation no longer uses
+Removed the TQString.__cmp__() unit test as the implementation no longer uses
handwritten code.
2003/10/15 18:19:07 phil
Added the "-r" flag to build.py to build with tracing enabled.
-Rewrote all the unit tests to work with PyQt generated with SIP v4.
+Rewrote all the unit tests to work with PyTQt generated with SIP v4.
2003/10/11 21:57:20 phil
@@ -1322,7 +1322,7 @@ Fixed the internal build system (again).
2003/10/07 19:33:13 phil
-Fixed QIODevice handwritten code which looked very broken.
+Fixed TQIODevice handwritten code which looked very broken.
Checked all virtual abstract functions that need handwritten code.
Added /TransferBack/ for function return values where needed.
Added the missing qInstallPath(), qInstallPathDocs(), qInstallPathHeaders(),
@@ -1337,16 +1337,16 @@ Changed how sipClassName() is used now that it returns a new reference.
2003/10/04 11:16:21 phil
Migrated the remaining %MemberCode to %MethodCode.
-Changed the QApplication dtor code slightly to keep the public SIP API simple.
+Changed the TQApplication dtor code slightly to keep the public SIP API simple.
(It means that disowning a top level widget now adds the extra reference, but
this shouldn't make a difference.)
2003/10/02 22:54:43 phil
-Documented QLayoutIterator.next().
+Documented TQLayoutIterator.next().
Fixed problem with build system that was preventing snapshots being generated
after the addition of %MethodCode.
-Fixed QSpinBox.mapTextToValue() to take zero parameters.
+Fixed TQSpinBox.mapTextToValue() to take zero parameters.
Converted most of %MemberCode to %MethodCode (ie. the easy ones).
@@ -1365,7 +1365,7 @@ Changes to the build system for SIP v4's new build system.
2003/09/19 00:28:39 phil
-Fixed converting Python wide Unicode strings to QString for Qt v2. (Actually
+Fixed converting Python wide Unicode strings to TQString for TQt v2. (Actually
done with an earlier change but I forgot to mention it.)
Updated the documentation on application deployment to reflect the changes to
the build system.
@@ -1379,12 +1379,12 @@ More changes to the build system after initial testing.
2003/09/17 18:28:40 phil
Re-factored build.py to use the sipconfig module. Only tested on Linux with
-Qt v3.2.1 Enterprise and Python v2.3.
+TQt v3.2.1 Enterprise and Python v2.3.
2003/09/06 13:35:02 phil
-QWMatrix fixes from Torsten Marek.
-Added the undocumented "*" operators to QWMatrix.
+TQWMatrix fixes from Torsten Marek.
+Added the undocumented "*" operators to TQWMatrix.
Updated the educational version to v3.2.0.
Released as v3.8.1.
@@ -1392,16 +1392,16 @@ Released as v3.8.1.
2003/08/24 18:43:40 phil
Updated the tutorials so that they have a consistent coding style and don't use
"import *".
-Updated the documentation to say that Qt v3.2.1 is supported.
+Updated the documentation to say that TQt v3.2.1 is supported.
2003/08/17 12:25:57 phil
-Fixed QPrinter.winPageSize() for Qt versions before v3.
+Fixed TQPrinter.winPageSize() for TQt versions before v3.
Released as v3.8.
2003/08/17 10:02:11 phil
-Fixed problem with QRect | and & operators.
+Fixed problem with TQRect | and & operators.
2003/08/16 21:14:09 phil
@@ -1411,43 +1411,43 @@ Brought the documentation up to date.
2003/08/13 17:50:14 phil
-The == and != operators have been implemented for QBrush, QColor, QDomNode,
-QFont, QImage, QKeySequence, QPalette, QPen and QRegExp.
+The == and != operators have been implemented for TQBrush, TQColor, TQDomNode,
+TQFont, TQImage, TQKeySequence, TQPalette, TQPen and TQRegExp.
The +, +=, -, -=, *, *=, /, /=, ==, != and __nonzero__() operators have been
-implemented for QSize.
-The ==, != and QString() operators have been implemented for QUrl.
+implemented for TQSize.
+The ==, != and TQString() operators have been implemented for TQUrl.
The &, &=, |, |=, ==, !=, __contains__() and __nonzero__() operators have been
-implemented for QRect.
+implemented for TQRect.
The |, |=, +, +=, &, &=, -, -=, ^, ^=, ==, !=, __contains__() and __nonzero__()
-operators have been implemented for QRegion.
-The ==, != and *= operators have been added to QWMatrix.
+operators have been implemented for TQRegion.
+The ==, != and *= operators have been added to TQWMatrix.
The __len__(), __contains__(), == and != operators have been implemented for
-QDir.
-The comparison operators and __nonzero__() have been implemented for QDate,
-QDateTime and QTime.
-Added some consts to the QString operators.
-Added the QDate, QDateTime, QDir, QRect, QRegion, QSize and QTime unit tests.
+TQDir.
+The comparison operators and __nonzero__() have been implemented for TQDate,
+TQDateTime and TQTime.
+Added some consts to the TQString operators.
+Added the TQDate, TQDateTime, TQDir, TQRect, TQRegion, TQSize and TQTime unit tests.
Added the runtests.py master unit test runner.
2003/08/12 20:34:29 phil
-Fixed memory leak in QStringList * operator.
-Added the QPoint operators (thanks to Torsten Marek).
-Added the QPoint unit test.
+Fixed memory leak in TQStringList * operator.
+Added the TQPoint operators (thanks to Torsten Marek).
+Added the TQPoint unit test.
2003/08/12 15:31:24 phil
Fixed deprecated use of iostream.h in pyuic3.
-Updated the QScintilla support.
+Updated the TQScintilla support.
2003/08/11 18:52:45 phil
-Fixed version problem with QToolBox.
+Fixed version problem with TQToolBox.
2003/08/01 09:42:10 phil
-Added the missing Qt.ButtonState.MetaButton.
-Added support for the [], in, len and comparison operators to QString (thanks
+Added the missing TQt.ButtonState.MetaButton.
+Added support for the [], in, len and comparison operators to TQString (thanks
to Torsten Marek).
Added the test_QString.py test script.
@@ -1462,20 +1462,20 @@ Some pyuic3 format changes from Detlev.
2003/07/25 12:13:44 phil
-Updated pyuic for Qt v3.2.0.
+Updated pyuic for TQt v3.2.0.
2003/07/24 17:20:59 phil
-Added QSplashScreen, QSqlSelectCursor and QToolBox for Qt v3.2.0.
+Added TQSplashScreen, TQSqlSelectCursor and TQToolBox for TQt v3.2.0.
Fix to build.py error message.
2003/07/24 10:52:38 phil
Minor license handling changes.
-Fixed memory leak in QStringList[] when using slices.
+Fixed memory leak in TQStringList[] when using slices.
Added the -k flag to build.py to create static modules.
Updated README.MacOSX from Willard Myers.
-Updated all existing classes for Qt v3.2.0.
+Updated all existing classes for TQt v3.2.0.
2003/07/05 10:31:55 phil
@@ -1501,8 +1501,8 @@ Added lots of new examples from Jorge Arroyo.
Changed all handwritten code to use the new 'L' format character where
appropriate.
Implemented __setitem__(), __delitem__(), __add__(), __iadd__(), __mul__(),
-__imul__(), __eq__() and __ne__() for QStringList.
-Added the internal QStringList unit tests.
+__imul__(), __eq__() and __ne__() for TQStringList.
+Added the internal TQStringList unit tests.
2003/06/22 11:26:32 phil
@@ -1514,16 +1514,16 @@ Fixed the internal build process to deal with the new %DtorCode.
2003/06/19 23:53:49 phil
-More changes to QCustomEvent which shouldn't now leak memory under any
+More changes to TQCustomEvent which shouldn't now leak memory under any
circumstances.
2003/06/19 16:31:57 phil
-QEvent.data() now returns a Python object without increasing it's reference
+TQEvent.data() now returns a Python object without increasing it's reference
count.
-The QEvent dtor is now virtual so that the Python wrapper object gets garbage
-collected when Qt deletes the event when it's passed to
-QApplication.postEvent().
+The TQEvent dtor is now virtual so that the Python wrapper object gets garbage
+collected when TQt deletes the event when it's passed to
+TQApplication.postEvent().
2003/06/10 14:51:23 phil
@@ -1537,8 +1537,8 @@ Lots of build tidy ups from Hans-Peter Jansen.
2003/06/06 12:59:26 phil
pylupdate now recognises the __tr() and __trUtf8() methods generated by pyuic.
-Added some missing /Transfer/ flags from QMenuData.
-Updated the menu.py example so that it matches the latest Qt version.
+Added some missing /Transfer/ flags from TQMenuData.
+Updated the menu.py example so that it matches the latest TQt version.
2003/05/31 12:19:22 phil
@@ -1562,11 +1562,11 @@ Documented the issues related to translations.
2003/05/23 22:03:05 phil
Fixed some bugs and inefficiencies in the canvas.py example so that it no
longer segfaults on exit when a sprite has been created.
-Added bits(), scanLine(), jumpTable() and colorTable() to QImage.
+Added bits(), scanLine(), jumpTable() and colorTable() to TQImage.
2003/05/22 21:50:05 phil
-Added the QWindowsXPStyle class. (Thanks to Ulrich Berning.)
+Added the TQWindowsXPStyle class. (Thanks to Ulrich Berning.)
2003/05/20 10:36:10 phil
@@ -1577,17 +1577,17 @@ Added QextScintilla.modificationAttempted().
Added QextScintillaBase.SCN_MODIFYATTEMPTRO.
Fixed pyuic3's broken handling of the -x flag.
Fixed pyuic3's broken generation of embedded images.
-Fixed QImage ctor to use an internal colour table instead of an external one
+Fixed TQImage ctor to use an internal colour table instead of an external one
that was garbage collected too soon.
2003/05/13 09:50:54 phil
-Added the QSignalMapper class (thanks to Gordon Tyler).
+Added the TQSignalMapper class (thanks to Gordon Tyler).
2003/05/12 10:00:59 phil
Added toShort(), toUShort(), toInt(), toUInt(), toLong(), toULong(), toFloat()
-and toDouble() to QCString and QString.
+and toDouble() to TQCString and TQString.
2003/05/11 10:26:44 phil
@@ -1596,14 +1596,14 @@ Added the QextScintillaLexerHTML class.
2003/05/07 21:07:04 phil
Changed the handling of version numbers so that we assume the latest SIP tags
-if we find a QScintilla snapshot.
+if we find a TQScintilla snapshot.
2003/05/07 16:53:05 phil
Updated the documentation to explicitly mention the problems of using lambda
expressions as slots.
Added the QextScintillaLexerSQL class.
-Changed build.py to support QScintilla version control.
+Changed build.py to support TQScintilla version control.
2003/05/04 09:57:19 phil
@@ -1638,17 +1638,17 @@ Changed to the C++ style operators where possible.
2003/04/22 16:05:10 phil
Adjusted handwritten code for Python slots so that it will be compatible with
SIP v3 and v4.
-QStringList.__getitem__ will now handle extended slices.
+TQStringList.__getitem__ will now handle extended slices.
2003/04/18 22:17:26 phil
-Tracked the latest QScintilla changes.
+Tracked the latest TQScintilla changes.
2003/04/16 11:42:45 phil
Fixed build.py for when SIP v4 is used.
-Python v2.3 is now required if SIP v4 is being used.
-Changed QCustomEvent.data() to deal with the changed support of SIP_PYOBJECT.
+Python v2.3 is now retquired if SIP v4 is being used.
+Changed TQCustomEvent.data() to deal with the changed support of SIP_PYOBJECT.
2003/04/13 15:42:08 phil
@@ -1659,12 +1659,12 @@ Fix to pyuic3 related to pixmaps.
2003/04/07 11:52:33 phil
-QCommonStyle is now always included (to fit with Qt v3), but it should still be
+TQCommonStyle is now always included (to fit with TQt v3), but it should still be
configured properly for the Zaurus.
2003/04/04 14:24:00 phil
-Fixed typo in qpixmap.sip where some Qt v3 methods had been added to the Qt v2
+Fixed typo in qpixmap.sip where some TQt v3 methods had been added to the TQt v2
definition.
Fixed some pyuic3 problems with embedded and external images.
@@ -1672,8 +1672,8 @@ Fixed some pyuic3 problems with embedded and external images.
2003/04/04 10:32:45 phil
SIP v4 related fixes to %VirtualCode.
Fixed some sipParseArgs() format bugs in qtxml handwritten code.
-Added missing /TransferThis/ from QTableItem (and derived classes) ctors.
-Added other missing transfer flags from some QTable methods.
+Added missing /TransferThis/ from TQTableItem (and derived classes) ctors.
+Added other missing transfer flags from some TQTable methods.
2003/04/01 20:44:55 phil
@@ -1689,14 +1689,14 @@ Made sure Python.h is included before stdio.h for LFS support under Solaris.
Removed all uses of %ExportedHeaderCode for compatibility with SIP v4.
Implemented the %VirtualCode that is to be used with SIP v4.
Fixed some bugs in existing %VirtualCode.
-Removed QTextEdit.getFormat() and QTextEdit.getParagraphFormat() as they are
+Removed TQTextEdit.getFormat() and TQTextEdit.getParagraphFormat() as they are
undocumented and marked as "don't use".
2003/03/26 22:21:58 phil
-Slightly changed the implementation of QObject.sender() to maintain
+Slightly changed the implementation of TQObject.sender() to maintain
compatibility with SIP v4.
-The build process no longer checks for sipQt.h as it isn't in SIP v4.
+The build process no longer checks for sipTQt.h as it isn't in SIP v4.
Added a missing #include in qnetwork.sip that only showed up with SIP v4.
@@ -1708,17 +1708,17 @@ SIP v4.)
2003/03/21 00:20:19 phil
Reverted the "fix" for libqassistantclient on HP-UX, and wait to see if anybody
complains.
-pyuic now includes the PyQt version number in the generated output.
-Fixed QPixmap handling bug in pyuic.
+pyuic now includes the PyTQt version number in the generated output.
+Fixed TQPixmap handling bug in pyuic.
2003/03/16 16:24:24 phil
-Tracked latest QScintilla changes.
+Tracked latest TQScintilla changes.
Fixed an internal build problem with the documentation.
2003/03/15 23:42:55 phil
-Tracked the latest QScintilla changes.
+Tracked the latest TQScintilla changes.
Brought the documentation up to date.
@@ -1727,61 +1727,61 @@ Added the missing %ConvertToSubClass code for the qtext module.
2003/03/13 12:59:44 phil
-Tracked the latest QScintilla changes.
+Tracked the latest TQScintilla changes.
2003/03/09 18:37:13 phil
-Tracked the latest QScintilla changes.
+Tracked the latest TQScintilla changes.
2003/03/06 10:35:32 phil
-Tracked latest QScintilla changes.
+Tracked latest TQScintilla changes.
Fixes for the mdi.py example from Ken Godee.
Further improvements to the build system's parsing of the Python version
number.
-Fixes to the Qt class and pyuic to deal with the use of the internal
+Fixes to the TQt class and pyuic to deal with the use of the internal
WState_Polished.
2003/03/03 18:03:41 phil
-Tracked the latest QScintilla changes.
+Tracked the latest TQScintilla changes.
2003/02/27 16:21:33 phil
-Updates for Qt v3.2.1.
+Updates for TQt v3.2.1.
Build system changes for alpha and beta versions of Python.
2003/02/26 23:40:22 phil
-Tracked latest QScintilla changes.
+Tracked latest TQScintilla changes.
2003/02/26 19:31:26 phil
-Tracked latest QScintilla changes.
-Fixed QListBox.eventFilter().
+Tracked latest TQScintilla changes.
+Fixed TQListBox.eventFilter().
Added the qtui module.
Added /Factory/ to everywhere it seems to be needed.
Fixed Python 1.5.2 problems in the build system.
-Updated the menu.py example for Qt3 (thanks to Selim Tuvi).
-Fixed a bug in pyuic3 related to pixmaps in QListViewItems.
+Updated the menu.py example for TQt3 (thanks to Selim Tuvi).
+Fixed a bug in pyuic3 related to pixmaps in TQListViewItems.
Fixed a bug in the canvas.py example.
PYQT_VERSION is now the version encoded as a hexadecimal value.
Added PYQT_VERSION_STR as the ASCII version (unless it is a snapshot).
2003/01/25 15:39:58 phil
-Fixed bug in QPointArray.putPoints().
+Fixed bug in TQPointArray.putPoints().
The sub-class convertors are now declared as static as SIP now puts them in the
main module code.
-Changed the way that the QAssistantClient library is linked in to work around
+Changed the way that the TQAssistantClient library is linked in to work around
problems linking static and shared libraries under HP-UX.
-Fixed QSpinBox.eventFilter().
+Fixed TQSpinBox.eventFilter().
2003/01/20 10:24:19 phil
-Applied Lars Heete's patch for QString for when Python is built with wide
+Applied Lars Heete's patch for TQString for when Python is built with wide
Unicode support.
-Tracked the latest QScintilla changes.
+Tracked the latest TQScintilla changes.
2003/01/14 09:55:52 phil
@@ -1816,8 +1816,8 @@ SIP v4.
2002/12/25 10:48:22 phil
Added the checklists.py and drawlines.py examples from Oleksandr Yakovlyev.
Added support for PEP 263 in the code generated by pyuic3.
-Tracked latest QScintilla changes.
-Implemented the QTextStream << QMainWindow and QTextStream >> QMainWindow
+Tracked latest TQScintilla changes.
+Implemented the TQTextStream << TQMainWindow and TQTextStream >> TQMainWindow
operators.
@@ -1826,7 +1826,7 @@ Added the biff.py example from Oleksandr Yakovlyev.
2002/12/20 18:46:10 phil
-QString.startsWith() was introduced in Qt v2.2.0 and not Qt v3.0.0.
+TQString.startsWith() was introduced in TQt v2.2.0 and not TQt v3.0.0.
Added the updated buttongroups.py example from Oleksandr Yakovlyev.
@@ -1836,7 +1836,7 @@ in a .ui file and copy it to the generated output.
2002/12/17 13:20:37 phil
-Tracked the latest QScintilla changes, including the new QextScintillaPrinter
+Tracked the latest TQScintilla changes, including the new QextScintillaPrinter
class.
@@ -1844,7 +1844,7 @@ class.
Change the build system to ensure that SIP .h files in the location specified
by the -s flag are used in preference to any others in the standard Python
location.
-Added the Qtopia QCopEnvelope class.
+Added the TQtopia TQCopEnvelope class.
2002/12/11 13:50:58 phil
@@ -1859,48 +1859,48 @@ Brought the NEWS file up to date.
2002/12/10 14:21:09 phil
-Changes related to Qt v3.1.1.
-Made Qtopia v1.5.0 the baseline version.
+Changes related to TQt v3.1.1.
+Made TQtopia v1.5.0 the baseline version.
Added the AppLnk, AppLnkSet, Config, DateFormat, DocLnk, DocLnkSet,
FileManager, FileSelector, FileSelectorItem, FontDatabase, Global, MenuButton,
-QDawg, QList, QList and Resource Qtopia classes.
-Added QArray for Qt 1.x and Qt 2.x.
+TQDawg, TQList, TQList and Resource TQtopia classes.
+Added TQArray for TQt 1.x and TQt 2.x.
2002/12/09 10:40:54 phil
-Minor changes for building under Qt/E.
+Minor changes for building under TQt/E.
2002/12/08 17:56:27 phil
-Worked around the Qt Windows bug in QSemaphore += and -= so that the
-semaphore.py example now works properly with affected versions of Qt.
+Worked around the TQt Windows bug in TQSemaphore += and -= so that the
+semaphore.py example now works properly with affected versions of TQt.
2002/12/05 17:28:24 phil
Added the script to create the test database for the SQL examples for
PostgreSQL (thanks to Kenneth Godee).
-pyuic3 and pylupdate3 changes so that they compile against the Qt Professional
+pyuic3 and pylupdate3 changes so that they compile against the TQt Professional
Edition.
Brought the documentation up to date.
-Build system change for Qt v3.0.x and FORCE in Makefiles.
+Build system change for TQt v3.0.x and FORCE in Makefiles.
2002/11/29 10:59:32 phil
Fixed bugs in pyuic3 related to menus and embedded images.
-Implemented QMenuItem.setText(), even though it is an internal class, because
+Implemented TQMenuItem.setText(), even though it is an internal class, because
it is used in code generated by pyuic3.
2002/11/26 12:50:45 phil
eric is now no longer part of the distribution.
-Tracked the latest QScintilla changes.
+Tracked the latest TQScintilla changes.
Removed the automatic test for -fno-exceptions and added the -f flag to the
build system so that it can be explicitly set.
Fixed a pyuic3 indentation bug.
2002/11/22 22:43:29 phil
-Tracked the latest QScintilla changes.
+Tracked the latest TQScintilla changes.
2002/11/22 10:15:46 phil
@@ -1908,43 +1908,43 @@ Fixed a couple of bugs in pyuic3's handling of embedded images.
2002/11/21 18:57:34 phil
-Tracked the latest QScintilla changes.
+Tracked the latest TQScintilla changes.
2002/11/18 19:36:53 phil
-The missing Windows QEventLoop methods should be added to Qt v3.1.1.
-Fixed generation of QString::null in pyuic3.
-Tracked latest QScintilla changes.
+The missing Windows TQEventLoop methods should be added to TQt v3.1.1.
+Fixed generation of TQString::null in pyuic3.
+Tracked latest TQScintilla changes.
2002/11/14 22:44:42 phil
-Fixed problems compiling against Qt v3.0.x introduced with the support for Qt
+Fixed problems compiling against TQt v3.0.x introduced with the support for TQt
v3.1.0.
2002/11/14 22:32:14 phil
Minor build changes for Windows.
-Removed the QEventLoop methods that seem to be missing under Windows.
-QGLColormap was actually introduced in Qt v3.0 rather than Qt v3.1.
+Removed the TQEventLoop methods that seem to be missing under Windows.
+TQGLColormap was actually introduced in TQt v3.0 rather than TQt v3.1.
2002/11/13 20:23:43 phil
-Tracked the latest QScintilla changes.
+Tracked the latest TQScintilla changes.
2002/11/11 11:59:24 phil
-Added the missing QDockWindow.drawFrame() and QGLWidget.reparent() methods.
-The build system will now recognise Qt v3.1.0.
-Added the QAssistantClient, QEventLoop, QGLColormap, QIconFactory,
-QIMComposeEvent, QMutexLocker and QSyntaxHighlighter Qt 3.1.0 classes.
-QListView.sort() is now virtual for Qt3.
-Fixed a bug in the widgets.py example for both Qt2 and Qt3.
-Updated pyuic from Qt 3.1.0.
-Added the qCompress and qUncompress Qt 3.1.0 functions.
+Added the missing TQDockWindow.drawFrame() and TQGLWidget.reparent() methods.
+The build system will now recognise TQt v3.1.0.
+Added the TQAssistantClient, TQEventLoop, TQGLColormap, TQIconFactory,
+TQIMComposeEvent, TQMutexLocker and TQSyntaxHighlighter TQt 3.1.0 classes.
+TQListView.sort() is now virtual for TQt3.
+Fixed a bug in the widgets.py example for both TQt2 and TQt3.
+Updated pyuic from TQt 3.1.0.
+Added the qCompress and qUncompress TQt 3.1.0 functions.
2002/11/06 23:56:57 phil
-Fixed QWidgetStack.addWidget().
+Fixed TQWidgetStack.addWidget().
2002/11/05 15:08:21 phil
@@ -1952,34 +1952,34 @@ Addition of new licenses to the internal build system.
2002/11/03 20:15:36 phil
-Tracked the latest version of QScintilla, including updating to Scintilla
+Tracked the latest version of TQScintilla, including updating to Scintilla
v1.49.
2002/10/25 19:00:47 phil
Updated the canvas.py example.
-Tracked the latest QScintilla changes.
+Tracked the latest TQScintilla changes.
2002/10/24 08:55:46 phil
-Tracked the latest QScintilla changes.
+Tracked the latest TQScintilla changes.
2002/10/22 21:28:20 phil
-Tracked the latest QScintilla changes.
+Tracked the latest TQScintilla changes.
2002/10/21 21:25:52 phil
-Tracked the latest QScintilla changes.
+Tracked the latest TQScintilla changes.
2002/10/20 22:28:46 phil
-Tracked the latest changes to QScintilla.
-Added the missing QMainWindow.lineUpDockWindows().
+Tracked the latest changes to TQScintilla.
+Added the missing TQMainWindow.lineUpDockWindows().
2002/10/19 18:43:13 phil
-Tracked the latest changes to QScintilla.
+Tracked the latest changes to TQScintilla.
2002/10/18 17:30:24 phil
@@ -1987,19 +1987,19 @@ More build system changes to fix directory names containing spaces.
Added the QextScintillaLexerCPP, QextScintillaLexerCSharp,
QextScintillaLexerIDL, QextScintillaLexerJava and QextScintillaLexerJavaScript
classes.
-Added support for Qt v3.0.6.
+Added support for TQt v3.0.6.
2002/10/12 23:45:52 phil
-Tracked the latest QScintilla changes.
-QStringList.__getitem__() now handles slices and negative indices properly.
+Tracked the latest TQScintilla changes.
+TQStringList.__getitem__() now handles slices and negative indices properly.
2002/10/11 14:11:53 phil
Fixed the build system where the Python directory path contains spaces.
Another go at fixing the internal build system so that it generates .sip files
-for the GPL version that support both X11 and Qt/E.
-Updated the QScintilla bindings.
+for the GPL version that support both X11 and TQt/E.
+Updated the TQScintilla bindings.
2002/10/06 21:21:05 phil
@@ -2013,7 +2013,7 @@ QextScintillaLexer and QextScintillaLexerPython.
2002/10/05 15:03:01 phil
-Fixed the internal build system to make sure Qt/Embedded support isn't stripped
+Fixed the internal build system to make sure TQt/Embedded support isn't stripped
out of the GPL version.
@@ -2021,17 +2021,17 @@ out of the GPL version.
Changed the internal build system so that internal development versions are
marked as such.
The user build system now handles conflicting licenses.
-pyuic and pylupdate should now build using the professional edition of Qt3.
+pyuic and pylupdate should now build using the professional edition of TQt3.
Added support for margins and markers to QextScintilla.
2002/10/03 10:42:28 phil
-Synchronised to the latest QScintilla snapshot.
+Synchronised to the latest TQScintilla snapshot.
2002/10/01 17:38:18 phil
Fixed the i18n example script.
-Changed the qtext module build for QScintilla under Windows.
+Changed the qtext module build for TQScintilla under Windows.
2002/09/30 15:32:53 phil
@@ -2041,7 +2041,7 @@ Added the QextScintillaBase.SendScintilla() overload.
2002/09/28 08:57:26 phil
Further separated out the Windows .sip files.
Added QextScintillaBase.Colourise().
-Fixed the problem with QTextEdit.find().
+Fixed the problem with TQTextEdit.find().
2002/09/22 00:39:05 phil
@@ -2059,11 +2059,11 @@ version.
2002/09/18 08:36:18 phil
-Added the qtext module containing support for QScintilla.
+Added the qtext module containing support for TQScintilla.
2002/09/13 07:20:57 phil
-Fixed QFontDatabase.families() for Qt3.
+Fixed TQFontDatabase.families() for TQt3.
2002/09/10 12:55:34 phil
@@ -2084,7 +2084,7 @@ The user now has to explicitly accept any non-GPL license.
2002/09/07 20:50:13 phil
-Added QApplication.winEventFilter(), QWidget.winEvent(), MSG and POINT under
+Added TQApplication.winEventFilter(), TQWidget.winEvent(), MSG and POINT under
Windows.
@@ -2124,7 +2124,7 @@ Added the pylupdate program from Detlev.
2002/08/10 20:01:47 phil
-Fixed problems with QObject.tr() and QObject.trUtf8().
+Fixed problems with TQObject.tr() and TQObject.trUtf8().
Brought the NEWS file up to date.
@@ -2141,7 +2141,7 @@ Another eric update from Detlev, including the help browser.
2002/07/29 14:16:11 phil
-Added QTextEdit.WrapPolicy.AtWhiteSpace as it isn't clear if this is deprecated
+Added TQTextEdit.WrapPolicy.AtWhiteSpace as it isn't clear if this is deprecated
or not. (The header file says one thing, the documentation says the opposite.)
@@ -2165,7 +2165,7 @@ Changed the build system so that it uses "opengl" when necessary.
2002/07/12 13:04:44 phil
-Fixed a problem detecting the Qt version in the build system.
+Fixed a problem detecting the TQt version in the build system.
Released as 3.3.2.
@@ -2178,12 +2178,12 @@ Internal build system changes.
2002/07/11 12:07:40 phil
-Added missing /TransferThis/ to all relevant QListBoxText and QListBoxPixmap
+Added missing /TransferThis/ to all relevant TQListBoxText and TQListBoxPixmap
ctors.
2002/07/09 22:07:10 phil
-Added support for Qt 3.0.5.
+Added support for TQt 3.0.5.
Released as 3.3.1.
@@ -2202,18 +2202,18 @@ argument.
2002/07/05 21:56:20 phil
Backed out the change in the order of attempts to convert Python objects to
-QStrings so it is now Unicode objects before string objects.
+TQStrings so it is now Unicode objects before string objects.
2002/07/05 17:59:16 phil
Fixed a few indentation issues with the dirview examples.
-Fixed the same bug in every mapped type based on the QValueList template.
+Fixed the same bug in every mapped type based on the TQValueList template.
2002/07/05 08:54:46 phil
More eric patches from Detlev.
-QSqlRecordInfo is now implemented as a Python list of QSqlFieldInfo instances.
-The build system now ignores qmake if present when building for Qt 1.x and 2.x.
+TQSqlRecordInfo is now implemented as a Python list of TQSqlFieldInfo instances.
+The build system now ignores qmake if present when building for TQt 1.x and 2.x.
2002/07/04 10:08:24 phil
@@ -2240,7 +2240,7 @@ Changes to the build system for the qtpe module.
2002/07/02 14:55:45 phil
More eric patches from Detlev.
-Added the missing QString.compare() and QString.localeAwareCompare() overloads.
+Added the missing TQString.compare() and TQString.localeAwareCompare() overloads.
Changed the build system in line with the way SIP now handles features.
@@ -2250,22 +2250,22 @@ Removed support for the -r flag in the build system as tmake handles -fno-rtti.
Added the -e flag to the build system to explicitly specify the location of the
SIP header files (usually used when cross compiling).
More eric patches from Detlev.
-Fixed QDataBrowser.setSqlCursor().
+Fixed TQDataBrowser.setSqlCursor().
2002/06/29 18:57:01 phil
-The build system now determines the Qt version by parsing qglobal.h rather than
+The build system now determines the TQt version by parsing qglobal.h rather than
running a program (which is no good when cross compiling).
-The sipQtFeatures.h file is only generated by the build system is it doesn't
+The sipTQtFeatures.h file is only generated by the build system is it doesn't
already exist (again to help cross compiling).
Updated the SQL examples.
Fixed an SQL related bug in pyuic3.
-Added %MemberCode to QDataTable.setSqlCursor() to transfer ownership of the
+Added %MemberCode to TQDataTable.setSqlCursor() to transfer ownership of the
cursor if the autoDelete flag is set.
2002/06/29 13:09:51 phil
-The build system now installs eric for Qt3.
+The build system now installs eric for TQt3.
More eric patches from Detlev.
@@ -2274,15 +2274,15 @@ More build.py fixes.
Changed the build system so that project files are restored to their original
contents.
Added the -c flag to the build system to concatenate a module's C++ files prior
-to compilation. Compiling PyQt on my 750MHz PIII now takes 10 minutes. (Thanks
+to compilation. Compiling PyTQt on my 750MHz PIII now takes 10 minutes. (Thanks
to Jim Bublitz and Ricardo Cardenes.)
2002/06/28 12:45:25 phil
Added the missing qtpemod.sip.
-Added the missing /TransferThis/ to the obsolete QToolBar ctor.
-Added the missing %MemberCode for QStyle.getButtonShift(),
-QStyle.scrollBarMetrics() and Qstyle.tabbarMetrics().
+Added the missing /TransferThis/ to the obsolete TQToolBar ctor.
+Added the missing %MemberCode for TQStyle.getButtonShift(),
+TQStyle.scrollBarMetrics() and Qstyle.tabbarMetrics().
More eric patches from Detlev Offenbach.
Added Hans-Peter Jansen's SQL examples.
Fixed a bug in the build system where the path to tmake was explicitly
@@ -2292,9 +2292,9 @@ Released as 3.3rc2.
2002/06/23 19:44:58 phil
-Added support for the evaluation version of Qt to the build system.
+Added support for the evaluation version of TQt to the build system.
Applied more eric patches from Detlev Offenbach.
-SQL related fixes for pyuic for Qt3.
+SQL related fixes for pyuic for TQt3.
2002/06/22 14:29:05 phil
@@ -2305,34 +2305,34 @@ Released as 3.3rc1.
2002/06/22 00:53:57 phil
The documentation is now up to date.
Added notes about the limitations on custom editor widgets to the
-QSqlPropertyMap documentation.
+TQSqlPropertyMap documentation.
The default installation directory for pyuic under UNIX/Linux is now
/usr/local/bin rather than where the Python executable is installed.
Fixed a bug with the build system under Windows.
-Fixed a problem with QVariant where a numeric value would be recognised as a
-QKeySequence.
-Added the -i flag to build.py to allow the directory containing the Qt header
+Fixed a problem with TQVariant where a numeric value would be recognised as a
+TQKeySequence.
+Added the -i flag to build.py to allow the directory containing the TQt header
files to be explicitly specified.
2002/06/20 21:33:34 phil
-Fixed bug in QDataTable that stopped in working properly.
+Fixed bug in TQDataTable that stopped in working properly.
2002/06/20 18:52:31 phil
Added the qmag.py example script from Hans-Peter Jansen.
Added Christian Bird's notes about his pyuic patch.
-Changes to the build system to support Qt/Embedded.
+Changes to the build system to support TQt/Embedded.
Changes to the build system to handle the lack of site-packages under Windows
before Python v2.2.
2002/06/19 17:43:26 phil
-Minor changes to eric so that it seems to work under Qt3.
+Minor changes to eric so that it seems to work under TQt3.
2002/06/19 17:29:06 phil
-Applied Christian Bird's patch to pyuic for Qt3 to extract slot code written in
+Applied Christian Bird's patch to pyuic for TQt3 to extract slot code written in
Python.
@@ -2341,9 +2341,9 @@ Added the missing qtsqlmod.sip.
2002/06/19 07:56:07 phil
-Added the missing /Transfer/ from QCanvasPixmapArray.setImage(),
-QDataTable.installEditorFactory(), QDataTable.installPropertyMap() and
-QSqlForm.installPropertyMap().
+Added the missing /Transfer/ from TQCanvasPixmapArray.setImage(),
+TQDataTable.installEditorFactory(), TQDataTable.installPropertyMap() and
+TQSqlForm.installPropertyMap().
Added Hans-Peter Jansen's bigtable.py, lineedits.py, smalltable.py and
tablestatistics.py example scripts.
Added the missing qxmlmod.sip.
@@ -2376,8 +2376,8 @@ Minor build changes.
2002/06/13 16:16:19 phil
-Added the missing QFontMetrics.boundingRect() variant and QFontMetrics.size().
-Removed the incorrect /TransferBack/ from QTabBar.removeTab().
+Added the missing TQFontMetrics.boundingRect() variant and TQFontMetrics.size().
+Removed the incorrect /TransferBack/ from TQTabBar.removeTab().
The new build system has been tested on Python v2.2/qmake/Linux.
@@ -2393,20 +2393,20 @@ Set the release number to v3.2.4 to align with the last official release.
2002/06/04 23:04:40 phil
-Initial import of PyQt to the Riverbank Computing repository.
+Initial import of PyTQt to the Riverbank Computing repository.
2002/06/01 11:08:36 phil
-Correction to signature of QDir.rename().
+Correction to signature of TQDir.rename().
Added README.SunOS.
-QValueList is now fully implemented as a mapping to a Python list of
-QPixmap instances.
-Added the missing QDoubleValidator.setBottom(), QDoubleValidator.setDecimals(),
-QDoubleValidator.setTop, QIntValidator.setBottom() and QIntValidator.setTop().
+TQValueList is now fully implemented as a mapping to a Python list of
+TQPixmap instances.
+Added the missing TQDoubleValidator.setBottom(), TQDoubleValidator.setDecimals(),
+TQDoubleValidator.setTop, TQIntValidator.setBottom() and TQIntValidator.setTop().
2002/05/21 14:40:56 phil
-Added the missing /Transfer/ to QClipboard.setData().
+Added the missing /Transfer/ to TQClipboard.setData().
Fixed a pyuic3 bug that generates an extra ')' when using the -subimpl flag.
@@ -2421,12 +2421,12 @@ Removed MacOS X support from the build process - until SIP v4.
2002/05/15 17:11:34 phil
Modules are now created as simple .so files, ie. without any release number.
-The obsolete QMainWindow.setToolBarsMovable() was replaced with
-QMainWindow.setDockWindowsMovable().
+The obsolete TQMainWindow.setToolBarsMovable() was replaced with
+TQMainWindow.setDockWindowsMovable().
2002/05/15 11:31:23 phil
-Fixed a bug in QInputDialog.getText() for Qt3.
+Fixed a bug in TQInputDialog.getText() for TQt3.
2002/05/11 17:38:20 phil
@@ -2435,14 +2435,14 @@ Released as v3.2.2.
2002/05/09 00:19:11 phil
-Fixed QPrinter ctor for Qt3.
+Fixed TQPrinter ctor for TQt3.
2002/05/07 21:17:32 phil
Added information about "--without-x" to the MacOS installation notes.
Put the -module flag back in for MacOS.
-Fixed a bug in pyuic3 where QPixmaps needed to be explicitly converted to
-QIconSets.
+Fixed a bug in pyuic3 where TQPixmaps needed to be explicitly converted to
+TQIconSets.
2002/05/05 13:42:46 phil
@@ -2462,24 +2462,24 @@ Updated the documentation regarding support for void *.
2002/04/30 07:52:35 phil
-configure will now search fro Qt v3.0.4.
-Changes required for Qt v3.0.4.
-Another minor bug fix related to X11 support and Qt/E.
+configure will now search fro TQt v3.0.4.
+Changes retquired for TQt v3.0.4.
+Another minor bug fix related to X11 support and TQt/E.
2002/04/29 18:10:04 phil
-Added README.Linux describing the broken Qt packages in Mandrake and Debian.
+Added README.Linux describing the broken TQt packages in Mandrake and Debian.
2002/04/29 10:17:47 phil
-configure doesn't search for X11 for Qt/E.
-Added the QPEMenuBar and QPEToolBar classes.
+configure doesn't search for X11 for TQt/E.
+Added the TQPEMenuBar and TQPEToolBar classes.
2002/04/27 14:19:22 phil
Removed the bug description at the top of the semaphore.py example now that it
is fixed.
-Changed %ConvertToSubClassCode for QObject to conform to the latest SIP.
+Changed %ConvertToSubClassCode for TQObject to conform to the latest SIP.
Replaced calls to sipMapCppToSelf() with sipMapCppToSelfSubClass() where
appropriate.
@@ -2491,26 +2491,26 @@ Added -module to all LDFLAGS.
2002/04/21 19:08:25 phil
-QCustomEvent now expects a PyObject * as its data.
+TQCustomEvent now expects a PyObject * as its data.
2002/04/20 22:43:13 phil
-Convert instances of the internal class QTableHeader to QHeader.
-Fixed a bug in pyuic for Qt3 relating to the format of slot signatures.
+Convert instances of the internal class TQTableHeader to TQHeader.
+Fixed a bug in pyuic for TQt3 relating to the format of slot signatures.
2002/04/20 16:02:00 phil
-Added missing /Transfer/ to QTable.setCellWidget() and QTable.setItem().
+Added missing /Transfer/ to TQTable.setCellWidget() and TQTable.setItem().
2002/04/18 23:17:07 phil
-Disabled QFont.dirty(), QClipboard.ownsClipboard(), QClipboard.ownsSelection()
+Disabled TQFont.dirty(), TQClipboard.ownsClipboard(), TQClipboard.ownsSelection()
and qAppName() for MacOS.
2002/04/18 12:10:42 phil
Updated the NEWS file regarding MacOS X support.
-qt.py now defines PYQT_VERSION as the PyQt release as a string.
+qt.py now defines PYQT_VERSION as the PyTQt release as a string.
configure no longer fails if X11 couldn't be found (for MacOS X).
@@ -2519,8 +2519,8 @@ Added support for MacOS X (untested).
2002/04/17 09:00:35 phil
-Added the missing /TransferThis/ options from all QCanvasItem ctors.
-Fixed QCanvasItem.setCanvas() to handle acquiring and losing a parent canvas.
+Added the missing /TransferThis/ options from all TQCanvasItem ctors.
+Fixed TQCanvasItem.setCanvas() to handle actquiring and losing a parent canvas.
2002/04/16 14:17:44 phil
@@ -2528,46 +2528,46 @@ Removed all the /ReleaseLock/ options.
Added Py_BEGIN_ALLOW_THREADS, Py_END_ALLOW_THREADS, SIP_BLOCK_THREADS and
SIP_UNBLOCK_THREADS to all handwritten code.
Thread support is only enabled if it is also enabled in Python.
-Added /CreatesThread/ and /NewThread/ to QThread.
+Added /CreatesThread/ and /NewThread/ to TQThread.
2002/04/14 18:07:56 phil
-Reinstated PyQtDisownTopLevelWidgets() because it solves the problem where we
+Reinstated PyTQtDisownTopLevelWidgets() because it solves the problem where we
can't guarantee that the order in which qApp and the top level widgets will be
destroyed.
Changed -MT to -MD for Windows (thanks to Paul Felix).
2002/04/06 17:38:53 phil
-Added the %ConvertToSubClassCode for QObject and all its sub-classes.
-Added the missing QToolTip.setEnabled() and QToolTip.enabled() methods.
-Fixed the build process so that the naming of the Qtopia package is more
+Added the %ConvertToSubClassCode for TQObject and all its sub-classes.
+Added the missing TQToolTip.setEnabled() and TQToolTip.enabled() methods.
+Fixed the build process so that the naming of the TQtopia package is more
consistent with other packages.
2002/03/30 00:50:10 phil
Make sure the ChangeLog is distributed and that autom4te.cache isn't.
-Merged the different versions of QEvent.Type.
-Fixed a bug in QStringList.__getitem__().
+Merged the different versions of TQEvent.Type.
+Fixed a bug in TQStringList.__getitem__().
2002/03/22 10:52:29 phil
Released as v3.1.
Slight change to the build process so make sure that Windows Makefiles always
-use the very latest Qt library.
+use the very latest TQt library.
2002/03/22 10:40:21 phil
configure will now use qt-mt in preference to qt if it finds both.
Removed build.py from the distribution until it is finished.
-Added /Transfer/ to QThread.postEvent().
-Added /ReleaseLock/ to QThread.postEvent(), which might not be required but
+Added /Transfer/ to TQThread.postEvent().
+Added /ReleaseLock/ to TQThread.postEvent(), which might not be retquired but
shouldn't do any harm.
2002/03/20 15:58:33 phil
-configure now handles Qt v3.0.3.
-Integration of uic changes in Qt v3.0.3.
+configure now handles TQt v3.0.3.
+Integration of uic changes in TQt v3.0.3.
Applied Rene Hogendoorn's latest patch for slot signatures for pyuic3.
@@ -2589,14 +2589,14 @@ Fixed a couple of pyuic3 bugs related to SQL forms (thanks to Rene Hogendoom).
2002/03/09 18:15:48 phil
Various build changes for Windows.
-Fixed a bug in QDomDocument.setContent().
+Fixed a bug in TQDomDocument.setContent().
Fixed the qtxml module so that it doesn't get a DLL load failure on Windows.
2002/03/04 17:18:31 phil
A couple of changes to eric to reflect the new module structure.
-Fixed QThread for Qt v2.
-Fixed QTable.setNumRows() in pyuic for Qt v3.
+Fixed TQThread for TQt v2.
+Fixed TQTable.setNumRows() in pyuic for TQt v3.
2002/02/25 16:26:19 phil
@@ -2609,22 +2609,22 @@ Went through everything adding /ReleaseLock/ to methods that might block.
2002/02/24 01:36:06 phil
-configure now searches for Qt v3.0.2.
-Added QLineEdit.setPasswordChar() and QLineEdit.passwordChar() for Qt v3.0.2
+configure now searches for TQt v3.0.2.
+Added TQLineEdit.setPasswordChar() and TQLineEdit.passwordChar() for TQt v3.0.2
but left them commented out at they are marked as incompatible add ons.
-Updated pyuic3 from the changes in Qt v3.0.2.
-Added thread support, ie. QApplication.lock(), QApplication.unlock(),
-QApplication.locked(), QApplication.tryLock() and the QMutex, QSemaphore,
-QThread and QWaitCondition classes.
+Updated pyuic3 from the changes in TQt v3.0.2.
+Added thread support, ie. TQApplication.lock(), TQApplication.unlock(),
+TQApplication.locked(), TQApplication.tryLock() and the TQMutex, TQSemaphore,
+TQThread and TQWaitCondition classes.
Re-did all of the special methods following the SIP changes.
2002/02/15 14:45:33 phil
-Added the missing QPixmap.grabWidget().
+Added the missing TQPixmap.grabWidget().
2002/02/14 14:18:35 phil
-Fixed bug in pyuic fro Qt v3 related to "black" and "white".
+Fixed bug in pyuic fro TQt v3 related to "black" and "white".
2002/02/08 15:51:02 phil
@@ -2634,14 +2634,14 @@ The tr() methods now honour QT_NO_TRANSLATION.
2002/02/08 11:54:11 phil
More work on the new build system.
-Fixed a bug in eric for PyQt v3.
-Fixed a couple of QTable related bugs in pyuic for Qt v3.
-Fixed a QToolBar related bug in pyuic for Qt v3.
-Fixed bugs with QSqlCursor.
+Fixed a bug in eric for PyTQt v3.
+Fixed a couple of TQTable related bugs in pyuic for TQt v3.
+Fixed a TQToolBar related bug in pyuic for TQt v3.
+Fixed bugs with TQSqlCursor.
2002/01/28 13:42:24 phil
-Fixed bug relating to escaping double quotes in pyuic for Qt v2.x.
+Fixed bug relating to escaping double quotes in pyuic for TQt v2.x.
2002/01/28 11:09:08 phil
@@ -2653,21 +2653,21 @@ or tmake.
2002/01/09 11:47:32 phil
Put version control into the qtpe module and changed the build system so that
-it uses a version compatible with both Qtopia and the Zaurus v1.02 ROMs.
+it uses a version compatible with both TQtopia and the Zaurus v1.02 ROMs.
Updated README.Zaurus.
Removed the qtpe module from the documentation until SIP is changed to be
tolerant of missing version information.
2002/01/08 20:17:11 phil
-Removed PyQtDisownTopLevelWidgets() from the QApplication and QPEApplication
-dtors because the Qt widget mapper doesn't delete the widgets in the map.
+Removed PyTQtDisownTopLevelWidgets() from the TQApplication and TQPEApplication
+dtors because the TQt widget mapper doesn't delete the widgets in the map.
2002/01/05 13:16:45 phil
Added the warning about using flash devices as swap on the Zaurus.
-Added the missing QActionGroup.add() and QActionGroup.addSeparator() methods.
-Implemented enough additional features for the Large configuration of Qt/E.
+Added the missing TQActionGroup.add() and TQActionGroup.addSeparator() methods.
+Implemented enough additional features for the Large configuration of TQt/E.
2002/01/04 23:32:42 phil
@@ -2681,9 +2681,9 @@ Minor updates to READMEs etc.
2002/01/03 00:41:26 phil
The build script now copes when tmake and/or sgmltools is missing.
-Added support to the build system for QPE.
+Added support to the build system for TQPE.
Added the qtpe module.
-Added the QPEApplication class (not yet working).
+Added the TQPEApplication class (not yet working).
Changed the build system so that there is only one instance of the helper code
and it is more a part of the build system rather than being so closely tied in
which SIP.
@@ -2692,37 +2692,37 @@ to be specified.
2001/12/27 12:28:07 phil
-Fixed all Qt3 writeBlock() methods.
-Changes required by the latest SIP.
-Support for Qt/Embedded on the Sharp Zaurus.
-Removed the QDragResponseEvent internal class.
-Added the missing QImageTextKeyLang class.
-Added the missing QImage.dotsPerMeterX(), QImage.dotsPerMeterY(),
-QImage.setDotsPerMeterX(), QImage.setDotsPerMeterY(), QImage.offset(),
-QImage.setOffset(), QImage.textList(), QImage.textLanguages(),
-QImage.textKeys(), QImage.text() and QImage.setText() methods.
-Added the QValueList mapped type.
+Fixed all TQt3 writeBlock() methods.
+Changes retquired by the latest SIP.
+Support for TQt/Embedded on the Sharp Zaurus.
+Removed the TQDragResponseEvent internal class.
+Added the missing TQImageTextKeyLang class.
+Added the missing TQImage.dotsPerMeterX(), TQImage.dotsPerMeterY(),
+TQImage.setDotsPerMeterX(), TQImage.setDotsPerMeterY(), TQImage.offset(),
+TQImage.setOffset(), TQImage.textList(), TQImage.textLanguages(),
+TQImage.textKeys(), TQImage.text() and TQImage.setText() methods.
+Added the TQValueList mapped type.
2001/12/09 11:38:47 phil
-configure now looks for Qt v3.0.1.
-The build system now handles Qt v3.0.1.
-.sip file changes needed by Qt v3.0.1.
-Updated pyuic3 from Qt v3.0.1.
+configure now looks for TQt v3.0.1.
+The build system now handles TQt v3.0.1.
+.sip file changes needed by TQt v3.0.1.
+Updated pyuic3 from TQt v3.0.1.
2001/12/06 11:03:29 phil
Fixed more pyuic3 bugs.
-Fixed the ownership bug in all QCheckListItem ctors.
+Fixed the ownership bug in all TQCheckListItem ctors.
2001/12/04 10:40:56 phil
-Fixed bugs in QSocket.readLine() and QSocket.readBlock().
+Fixed bugs in TQSocket.readLine() and TQSocket.readBlock().
2001/12/01 18:37:31 phil
-Fixed QWidget.reparent().
-Removed the QDateTimeEditBase internal class.
+Fixed TQWidget.reparent().
+Removed the TQDateTimeEditBase internal class.
Bug fixes for pyuic3.
configure now allows the location of zlib to be specified.
Used AC_HELP_STRING throughout acinclude.m4.
@@ -2734,22 +2734,22 @@ Minor fixes for pyuic3.
2001/11/17 14:48:19 phil
Added the missing qInitNetworkProtocols() function to the qtnetwork module.
-Added the missing QRect.contains() variant.
-Changed QByteArray, QCString and QString %ConvertToTypeCode to convert None
+Added the missing TQRect.contains() variant.
+Changed TQByteArray, TQCString and TQString %ConvertToTypeCode to convert None
objects to empty instances.
-Changed QFileInfoList, QKeySequence, QList, QMemArray,
-QObjectList, QPair, QPtrList,
-QPtrList, QStrList, QValueList, QValueList and
-QWidgetList %ConvertToTypeCode to handle None objects.
+Changed TQFileInfoList, TQKeySequence, TQList, TQMemArray,
+TQObjectList, TQPair, TQPtrList,
+TQPtrList, TQStrList, TQValueList, TQValueList and
+TQWidgetList %ConvertToTypeCode to handle None objects.
Fixes to the .spec file.
-Fixed ownership issues with QWidget.reparent().
+Fixed ownership issues with TQWidget.reparent().
2001/11/11 19:01:27 phil
-configure will search for Qt v2.3.2.
-Fixed bugs in pyuic for Qt3 (thanks to Andreas Gerstlauer).
+configure will search for TQt v2.3.2.
+Fixed bugs in pyuic for TQt3 (thanks to Andreas Gerstlauer).
Fixed bug in Windows detection (thanks to Andreas Gerstlauer).
-Fixed the Qt3 QSizePolicy ctor.
+Fixed the TQt3 TQSizePolicy ctor.
2001/10/28 10:33:03 phil
@@ -2763,47 +2763,47 @@ Fixed the ChangeLog.
2001/10/26 23:32:23 phil
Changed the way Python special methods are defined to conform to the latest
SIP.
-Added __unicode__ to QString for Python v2.2.
-Fixed a couple of bugs in pyuic for Qt3.
-Changed QString.__str__() to do the "right thing".
+Added __unicode__ to TQString for Python v2.2.
+Fixed a couple of bugs in pyuic for TQt3.
+Changed TQString.__str__() to do the "right thing".
2001/10/21 13:51:26 phil
-Fixed the new QImage ctor.
-Fixed the long standing problem converting a QString to Python using unicode().
-Fixed bugs with QFile.readBlock() and QFile.readLine().
+Fixed the new TQImage ctor.
+Fixed the long standing problem converting a TQString to Python using unicode().
+Fixed bugs with TQFile.readBlock() and TQFile.readLine().
2001/10/19 23:34:04 phil
Applied Alan Eldridge's patch for the .spec file.
-Made the second parameter to QObject.tr() and QObject.trUtf8() optional.
-Added the missing QImage ctor.
-Fixed pyuic for Qt3.
+Made the second parameter to TQObject.tr() and TQObject.trUtf8() optional.
+Added the missing TQImage ctor.
+Fixed pyuic for TQt3.
2001/10/13 11:20:53 phil
-Fixed problem with QMenuData.insertItem() when the QKeySequence argument was
+Fixed problem with TQMenuData.insertItem() when the TQKeySequence argument was
omitted.
Ported the remaining examples.
2001/10/12 22:46:59 phil
Minor fixes to get the SQL module to build.
-Created a separate examples directory for Qt3.
-Changes required for the final release of Qt v3.0.0.
+Created a separate examples directory for TQt3.
+Changes retquired for the final release of TQt v3.0.0.
2001/10/12 10:19:27 phil
Added the qtsql module.
-Added the QDataBrowser, QDataTable, QDataView, QEditorFactory, QGridView,
-QLibrary, QObjectCleanupHandler, QProcess, QSql, QSqlCursor, QSqlDatabase,
-QSqlDriver, QSqlEditorFactory, QSqlError, QSqlField, QSqlFieldInfo, QSqlForm,
-QSqlIndex, QSqlPropertyMap, QSqlQuery, QSqlRecord, QSqlRecordInfo, QSqlResult,
-QStyleFactory and QWindowsMime Qt3 classes.
-Implemented QPtrList.
-Renamed QLineEdit.del() to QLineEdit.delChar().
-Renamed QMultiLineEdit.deleteChar() to QMultiLineEdit.delChar().
-Fixed QLineEdit super class for Qt3.
+Added the TQDataBrowser, TQDataTable, TQDataView, TQEditorFactory, TQGridView,
+TQLibrary, TQObjectCleanupHandler, TQProcess, TQSql, TQSqlCursor, TQSqlDatabase,
+TQSqlDriver, TQSqlEditorFactory, TQSqlError, TQSqlField, TQSqlFieldInfo, TQSqlForm,
+TQSqlIndex, TQSqlPropertyMap, TQSqlQuery, TQSqlRecord, TQSqlRecordInfo, TQSqlResult,
+TQStyleFactory and TQWindowsMime TQt3 classes.
+Implemented TQPtrList.
+Renamed TQLineEdit.del() to TQLineEdit.delChar().
+Renamed TQMultiLineEdit.deleteChar() to TQMultiLineEdit.delChar().
+Fixed TQLineEdit super class for TQt3.
2001/10/07 18:47:03 phil
@@ -2812,78 +2812,78 @@ Fixed a bug in the build process.
2001/10/06 18:20:00 phil
-Fixed QLayoutIterator.next().
-configure now handles multi-threaded Qt.
+Fixed TQLayoutIterator.next().
+configure now handles multi-threaded TQt.
Moved Canvas module classes to the new qtcanvas module.
Moved Network module classes to the new qtnetwork module.
Moved Table module classes to the new qttable module.
Moved XML module classes to the new qtxml module.
-Added the QSound class.
+Added the TQSound class.
2001/10/04 21:33:48 phil
-Added the Qt3 classes QDateEdit, QDateTimeEdit, QTimeEdit, QErrorMessage,
-QPixmapCache and QSettings.
-Added the Qt2 class QDns.
-Added QCustomMenuEvent, QIMEvent and QTabletEvent to the list of new Qt3
+Added the TQt3 classes TQDateEdit, TQDateTimeEdit, TQTimeEdit, TQErrorMessage,
+TQPixmapCache and TQSettings.
+Added the TQt2 class TQDns.
+Added TQCustomMenuEvent, TQIMEvent and TQTabletEvent to the list of new TQt3
classes in the documentation.
Restructure the top-level SIP files so that the documentation is completely
separate.
2001/09/30 10:48:01 phil
-Implemented QPair.
+Implemented TQPair.
Bug fixing of revised hand-written code.
-Changes to get pyuic to compile against Qt3.
+Changes to get pyuic to compile against TQt3.
2001/09/28 23:13:01 phil
-Upgraded to Qt v3.0.0Beta6.
-Changes required to handwritten code by the new sipParseArgs().
-Added the missing QObject.connect() variant.
-Renamed QDate.isValidDate() to QDate.isValid().
-Renamed QTime.isValidTime() to QTime.isValid().
-Renamed QFile.fileExists() to QFile.exists().
-Renamed QFile.removeFile() to QFile.remove().
+Upgraded to TQt v3.0.0Beta6.
+Changes retquired to handwritten code by the new sipParseArgs().
+Added the missing TQObject.connect() variant.
+Renamed TQDate.isValidDate() to TQDate.isValid().
+Renamed TQTime.isValidTime() to TQTime.isValid().
+Renamed TQFile.fileExists() to TQFile.exists().
+Renamed TQFile.removeFile() to TQFile.remove().
2001/09/23 20:04:21 phil
-Re-added QInterlaceStyle.
-Changes required by Qt v3.0.0 Beta5.
-Implemented QMenuItem as an opaque class.
-Added the missing QSGIStyle class.
-Added the missing QMenuData.findItem(), QMotifPlusStyle.drawMenuBarItem(),
-QMotifPlusStyle.drawPopupMenuItem(), QMotifStyle.drawPopupMenuItem(),
-QMotifStyle.extraPopupMenuItemWidth(), QMotifStyle.popupMenuItemHeight(),
-QPlatinumStyle.drawPopupMenuItem(), QPlatinumStyle.extraPopupMenuItemWidth(),
-QPlatinumStyle.popupMenuItemHeight(), QPopupMenu.drawItem(),
-QPopupMenu.itemHeight(), QStyle.drawPopupMenuItem(), QStyle.drawMenuBarItem(),
-QStyle.extraPopupMenuItemWidth(), QStyle.popupMenuItemHeight(),
-QWindowsStyle.drawMenuBarItem(), QWindowsStyle.extraPopupMenuItemWidth(),
-QWindowsStyle.popupMenuItemHeight().
-Added the QStyleOption Qt3 class.
-Classes converted to Qt3: QGL et al, QCDEStyle, QCommonStyle, QMotifPlusStyle,
-QMotifStyle, QPlatinumStyle, QStyle, QWindowsStyle.
+Re-added TQInterlaceStyle.
+Changes retquired by TQt v3.0.0 Beta5.
+Implemented TQMenuItem as an opaque class.
+Added the missing TQSGIStyle class.
+Added the missing TQMenuData.findItem(), TQMotifPlusStyle.drawMenuBarItem(),
+TQMotifPlusStyle.drawPopupMenuItem(), TQMotifStyle.drawPopupMenuItem(),
+TQMotifStyle.extraPopupMenuItemWidth(), TQMotifStyle.popupMenuItemHeight(),
+TQPlatinumStyle.drawPopupMenuItem(), TQPlatinumStyle.extraPopupMenuItemWidth(),
+TQPlatinumStyle.popupMenuItemHeight(), TQPopupMenu.drawItem(),
+TQPopupMenu.itemHeight(), TQStyle.drawPopupMenuItem(), TQStyle.drawMenuBarItem(),
+TQStyle.extraPopupMenuItemWidth(), TQStyle.popupMenuItemHeight(),
+TQWindowsStyle.drawMenuBarItem(), TQWindowsStyle.extraPopupMenuItemWidth(),
+TQWindowsStyle.popupMenuItemHeight().
+Added the TQStyleOption TQt3 class.
+Classes converted to TQt3: TQGL et al, TQCDEStyle, TQCommonStyle, TQMotifPlusStyle,
+TQMotifStyle, TQPlatinumStyle, TQStyle, TQWindowsStyle.
2001/09/21 17:12:07 phil
-The following classes were fully converted to Qt3: QFile, QFileDialog,
-QFileInfo, QFontDatabase, QFontDialog, QIconView, QIconViewItem, QInputDialog,
-QNetworkProtocol, QPaintDeviceMetrics, QPrintDialog, QPrinter, QProgressBar,
-QProgressDialog, QRadioButton, QSemiModal, QServerSocket, QSimpleRichText,
-QSizeGrip, QSocket, QSpinBox, QTabDialog, QTextBrowser, QTextStream, QUrl,
-QUrlOperator, QWhatsThis, QWidgetStack, QWizard, QWorkspace.
-Added the missing QFileIconProvider, QFontDialog, QTextBrowser and QWidgetStack
+The following classes were fully converted to TQt3: TQFile, TQFileDialog,
+TQFileInfo, TQFontDatabase, TQFontDialog, TQIconView, TQIconViewItem, TQInputDialog,
+TQNetworkProtocol, TQPaintDeviceMetrics, TQPrintDialog, TQPrinter, TQProgressBar,
+TQProgressDialog, TQRadioButton, TQSemiModal, TQServerSocket, TQSimpleRichText,
+TQSizeGrip, TQSocket, TQSpinBox, TQTabDialog, TQTextBrowser, TQTextStream, TQUrl,
+TQUrlOperator, TQWhatsThis, TQWidgetStack, TQWizard, TQWorkspace.
+Added the missing TQFileIconProvider, TQFontDialog, TQTextBrowser and TQWidgetStack
private copy ctors.
-Added the missing QFileDialog.done(), QIconView.dropped(),
-QIconViewItem.dropped(), QNetworkProtocol.newChildren(),
-QPrintDialog.addButton(), QProgressDialog.forceShow(),
-QUrlOperator.newChildren() and QUrlOperator.startNextCopy() methods.
-Added the missing QIconDrag and QIconDragItem classes.
-Implemented QList, QPtrList,
-QValueList and QValueList.
-Added the missing TransferThis to the QPrintDialog ctor.
-Moved the QList<> and QPtrList<> templates to their own files.
+Added the missing TQFileDialog.done(), TQIconView.dropped(),
+TQIconViewItem.dropped(), TQNetworkProtocol.newChildren(),
+TQPrintDialog.addButton(), TQProgressDialog.forceShow(),
+TQUrlOperator.newChildren() and TQUrlOperator.startNextCopy() methods.
+Added the missing TQIconDrag and TQIconDragItem classes.
+Implemented TQList, TQPtrList,
+TQValueList and TQValueList.
+Added the missing TransferThis to the TQPrintDialog ctor.
+Moved the TQList<> and TQPtrList<> templates to their own files.
2001/09/21 00:32:29 phil
@@ -2891,101 +2891,101 @@ Forgot to add the new qmemarray.sip file.
2001/09/21 00:31:34 phil
-Fully converted the following classes to Qt3: QAction, QActionGroup,
-QColorDialog, QDial, QDom et al, QMessageBox, QPopupMenu, QPushButton,
-QScrollBar, QScrollView, QSplitter, QStatusBar, QTable, QTableItem, QTabWidget,
-QToolButton, QToolTip, QToolTipGroup.
-Added the following missing methods: QColorDialog.customColor(),
-QColorDialog.customCount(), QColorDialog.getRgba(),
-QColorDialog.setCustomColor(), QScrollBar.minValue(), QScrollBar.maxValue(),
-QScrollBar.setMinValue(), QScrollBar.setMaxValue(), QScrollBar.lineStep(),
-QScrollBar.pageStep(), QScrollBar.setLineStep(), QScrollBar.setPageStep(),
-QScrollBar.value(), QScrollBar.setValue(), QToolTip.hide(),
-QToolTipGroup.enabled(), QToolTipGroup.setEnabled().
-Added the missing QDir.match() variant.
-Removed the handling of QValueList out of QSplitter and made it generic.
-Added the following Qt3 classes: QCheckTableItem, QComboItem.
-Removed QTabWidget.selected() as it is not part of the official API.
+Fully converted the following classes to TQt3: TQAction, TQActionGroup,
+TQColorDialog, TQDial, TQDom et al, TQMessageBox, TQPopupMenu, TQPushButton,
+TQScrollBar, TQScrollView, TQSplitter, TQStatusBar, TQTable, TQTableItem, TQTabWidget,
+TQToolButton, TQToolTip, TQToolTipGroup.
+Added the following missing methods: TQColorDialog.customColor(),
+TQColorDialog.customCount(), TQColorDialog.getRgba(),
+TQColorDialog.setCustomColor(), TQScrollBar.minValue(), TQScrollBar.maxValue(),
+TQScrollBar.setMinValue(), TQScrollBar.setMaxValue(), TQScrollBar.lineStep(),
+TQScrollBar.pageStep(), TQScrollBar.setLineStep(), TQScrollBar.setPageStep(),
+TQScrollBar.value(), TQScrollBar.setValue(), TQToolTip.hide(),
+TQToolTipGroup.enabled(), TQToolTipGroup.setEnabled().
+Added the missing TQDir.match() variant.
+Removed the handling of TQValueList out of TQSplitter and made it generic.
+Added the following TQt3 classes: TQCheckTableItem, TQComboItem.
+Removed TQTabWidget.selected() as it is not part of the official API.
2001/09/16 18:12:22 phil
-Removed the Transfer flag from the QWidget parameter to QLayout.add(),
-QGridLayout.addWidget(), QGridLayout.addMultiCellWidget(),
-QBoxLayout.addWidget() and QBoxLayout.insertWidget().
+Removed the Transfer flag from the TQWidget parameter to TQLayout.add(),
+TQGridLayout.addWidget(), TQGridLayout.addMultiCellWidget(),
+TQBoxLayout.addWidget() and TQBoxLayout.insertWidget().
Fixes to the build process so it works with the latest automake.
2001/09/14 16:40:03 phil
-Added the missing QLayoutIterator.next() method.
+Added the missing TQLayoutIterator.next() method.
2001/09/14 15:17:17 phil
-Changes to QObject.tr() and QObject.trUtf8() so that they work as expected with
-Qt3.
-Put back the separate builds for Qt v2.3.0 and v2.3.1.
-Put back QPrinter.PageSize.Custom for Qt v2.3.1.
+Changes to TQObject.tr() and TQObject.trUtf8() so that they work as expected with
+TQt3.
+Put back the separate builds for TQt v2.3.0 and v2.3.1.
+Put back TQPrinter.PageSize.Custom for TQt v2.3.1.
Added the new /AutoGen/ option where needed.
2001/09/09 16:26:16 phil
-QGrid, QLCDNumber, QListBox, QListBoxItem, QListBoxPixmap, QListBoxText,
-QMenuBar, QMenuData, QRangeControl and QSlider fully converted to Qt3.
-A QString or int can now be supplied whenever a QKeySequence is expected.
-The missing QListBox.isRubberSelecting(), QMenuBar.activateItemAt(),
-QMenuBar.focusInEvent(), QMenuBar.isDefaultUp(), QMenuBar.minimumSize(),
-QMenuBar.minimumSizeHint(), QMenuBar.setDefaultUp() methods have been added.
+TQGrid, TQLCDNumber, TQListBox, TQListBoxItem, TQListBoxPixmap, TQListBoxText,
+TQMenuBar, TQMenuData, TQRangeControl and TQSlider fully converted to TQt3.
+A TQString or int can now be supplied whenever a TQKeySequence is expected.
+The missing TQListBox.isRubberSelecting(), TQMenuBar.activateItemAt(),
+TQMenuBar.focusInEvent(), TQMenuBar.isDefaultUp(), TQMenuBar.minimumSize(),
+TQMenuBar.minimumSizeHint(), TQMenuBar.setDefaultUp() methods have been added.
2001/09/07 16:15:28 phil
-Added the new QKeySequence .sip file and remove the QInterlaceStyle .sip file.
+Added the new TQKeySequence .sip file and remove the TQInterlaceStyle .sip file.
2001/09/07 16:13:22 phil
-Added the missing QAccel ctor.
-Added the missing QHeader.setUpdatesEnabled(), QHeader.showEvent() and
-QLineEdit.displayText() methods.
-Added the missing QColorDrag class.
-Converted all the Qt3 changes to Beta4.
-Added the QKeySequence Qt3 class.
-Fully converted QComboBox, QDialog, QDragObject, QGridLayout, QHeader, QLayout,
-QLineEdit, QUriDrag and QWidgetItem to Qt3.
-Removed the QBitArray related methods from QVariant.
-Removed the QInterlaceStyle class.
-Remove QPrinter.PageSize.Custom so that the v2.3.1 build is the same as v2.3.0.
-QObject.className() now works with Python classes.
+Added the missing TQAccel ctor.
+Added the missing TQHeader.setUpdatesEnabled(), TQHeader.showEvent() and
+TQLineEdit.displayText() methods.
+Added the missing TQColorDrag class.
+Converted all the TQt3 changes to Beta4.
+Added the TQKeySequence TQt3 class.
+Fully converted TQComboBox, TQDialog, TQDragObject, TQGridLayout, TQHeader, TQLayout,
+TQLineEdit, TQUriDrag and TQWidgetItem to TQt3.
+Removed the TQBitArray related methods from TQVariant.
+Removed the TQInterlaceStyle class.
+Remove TQPrinter.PageSize.Custom so that the v2.3.1 build is the same as v2.3.0.
+TQObject.className() now works with Python classes.
Upgraded to libtool-1.4.1.
2001/09/02 17:13:50 phil
-Fully converted the following classes to Qt3: QButton, QButtonGroup, QCanvas et
-al, QCheckBox, QCheckListItem, QGroupBox, QLabel, QListView, QListViewItem.
+Fully converted the following classes to TQt3: TQButton, TQButtonGroup, TQCanvas et
+al, TQCheckBox, TQCheckListItem, TQGroupBox, TQLabel, TQListView, TQListViewItem.
pyuic now generates double quoted strings rather than single quoted strings.
Upgraded to autoconf-2.52 and automake-1.5.
2001/08/15 19:18:39 phil
-Added the Qt3 classes QRegExpValidator and QTextEdit.
-Added the missing QPainter.pos() and QTranslator.messages() methods.
-Added all methods that use QDataStream now that it has been implemented.
-Removed QTableHeader as it isn't part of the documented API.
-Fully converted the QFrame, QHBox, QPainter, QPicture, QPointArray, QRect,
-QRegExp, QSessionManager, QStyleSheet, QStyleSheetItem, QTab, QTabBar,
-QTextCodec, QTextView, QTranslator, QTranslatorMessage, QVariant, QVBox and
-QWMatrix classes to Qt3.
+Added the TQt3 classes TQRegExpValidator and TQTextEdit.
+Added the missing TQPainter.pos() and TQTranslator.messages() methods.
+Added all methods that use TQDataStream now that it has been implemented.
+Removed TQTableHeader as it isn't part of the documented API.
+Fully converted the TQFrame, TQHBox, TQPainter, TQPicture, TQPointArray, TQRect,
+TQRegExp, TQSessionManager, TQStyleSheet, TQStyleSheetItem, TQTab, TQTabBar,
+TQTextCodec, TQTextView, TQTranslator, TQTranslatorMessage, TQVariant, TQVBox and
+TQWMatrix classes to TQt3.
2001/08/14 16:10:26 phil
-Added the QDesktopWidget, QDockArea and QDockWindow Qt3 widgets.
-Fully converted the QApplication, QClipboard, QChar, QColorGroup, QDate,
-QDateTime, QFontMetrics, QIconSet, QMainWindow, QMimeSource,
-QMimeSourceFactory, QPalette, QString, QTime and QToolBar classes to Qt3.
-Added the missing QChar.nbsp, QChar.isLetterOrNumber(), QChar.mirroredChar(),
-QImage.inputFormatList(), QImage.outputFormatList(),
-QMimeSourceFactory.filePath(), QMimeSourceFactory.addFilePath() and
-QPalette.inactive() methods.
-Added the missing QString.append() and QString.prepend() variants.
-Renamed QTime.IsValidTime() to QTime.isValidTime().
-Made QList a mapped type now that SIP can handle mapped templates.
+Added the TQDesktopWidget, TQDockArea and TQDockWindow TQt3 widgets.
+Fully converted the TQApplication, TQClipboard, TQChar, TQColorGroup, TQDate,
+TQDateTime, TQFontMetrics, TQIconSet, TQMainWindow, TQMimeSource,
+TQMimeSourceFactory, TQPalette, TQString, TQTime and TQToolBar classes to TQt3.
+Added the missing TQChar.nbsp, TQChar.isLetterOrNumber(), TQChar.mirroredChar(),
+TQImage.inputFormatList(), TQImage.outputFormatList(),
+TQMimeSourceFactory.filePath(), TQMimeSourceFactory.addFilePath() and
+TQPalette.inactive() methods.
+Added the missing TQString.append() and TQString.prepend() variants.
+Renamed TQTime.IsValidTime() to TQTime.isValidTime().
+Made TQList a mapped type now that SIP can handle mapped templates.
2001/08/10 18:03:56 phil
@@ -2993,33 +2993,33 @@ Final documentation changes for v2.5.
2001/08/10 14:54:29 phil
-Fixed typo in the Qt3 versioning.
+Fixed typo in the TQt3 versioning.
2001/08/08 23:28:38 phil
-User events get converted to QCustomEvents rather than QEvents.
+User events get converted to TQCustomEvents rather than TQEvents.
Finally decided to implement Display * as void *.
-QEvent etc., QFont, QFontInfo, QMultiLineEdit and QTableView converted to Qt3.
+TQEvent etc., TQFont, TQFontInfo, TQMultiLineEdit and TQTableView converted to TQt3.
2001/08/07 22:37:16 phil
-QWidget is now converted to Qt3.
-Added the missing QWidget.customEvent().
+TQWidget is now converted to TQt3.
+Added the missing TQWidget.customEvent().
Changed Display to be a class rather than a struct.
-Fix a problem with the normal build process caused by the new Qt3 stuff.
+Fix a problem with the normal build process caused by the new TQt3 stuff.
Added the temporary qt3.sip-in file.
2001/08/07 19:57:06 phil
Fixed a typo in the clean target.
-Added Qt3 support for QColor, QCursor, QObject, QPaintDevice, QPixmap and
-QSizePolicy.
-Added QColor.getHsv().
+Added TQt3 support for TQColor, TQCursor, TQObject, TQPaintDevice, TQPixmap and
+TQSizePolicy.
+Added TQColor.getHsv().
Added the Display opaque structure.
Added qt_xdisplay(), qt_xscreen() and qt_xrootwin().
-Added QPaintDevice.x11Display(), QPaintDevice.x11AppDisplay,
-QPaintDevice.x11SetAppDpiX() and QPaintDevice.x11SetAppDpiY().
-Added the missing QPixmap.save() variant.
+Added TQPaintDevice.x11Display(), TQPaintDevice.x11AppDisplay,
+TQPaintDevice.x11SetAppDpiX() and TQPaintDevice.x11SetAppDpiY().
+Added the missing TQPixmap.save() variant.
2001/08/06 19:57:09 phil
@@ -3031,7 +3031,7 @@ Changed the configure test for OpenGL support.
2001/08/01 22:15:38 phil
More minor build changes.
-Fixed QApplication.winVersion().
+Fixed TQApplication.winVersion().
Fixed Windows pyuic Makefiles.
@@ -3039,15 +3039,15 @@ Fixed Windows pyuic Makefiles.
Changed the build process so that the current version doesn't have to be the
latest version.
Changed AMTAR to TAR.
-Generate Makefiles that support Qt-NC (untested).
+Generate Makefiles that support TQt-NC (untested).
2001/07/27 22:18:26 phil
The different types that are mapped to Python lists will now return an empty
list (rather than None) when given a NULL pointer.
Fixed a problem detecting -fno-exceptions.
-Added QDataStream.
-Added the QDom classes.
+Added TQDataStream.
+Added the TQDom classes.
2001/07/21 15:46:35 phil
@@ -3057,13 +3057,13 @@ Added version control to the qtgl module.
2001/07/20 23:19:06 phil
Fixed the memory leaks related to sipMapCppToSelf() in hand-written code.
-Changed the build system to handle different versions of PyQt for different
-versions of Qt.
+Changed the build system to handle different versions of PyTQt for different
+versions of TQt.
2001/07/17 07:44:09 phil
Changes needed by the latest SIP - Version and %MappedType.
-Fixed QScrollView.addChild().
+Fixed TQScrollView.addChild().
2001/06/29 16:24:55 phil
@@ -3081,43 +3081,43 @@ Moved the BlackAdder specific stuff to its own directory.
2001/06/19 15:54:23 phil
-Fixed the problems with QLineEdit.event() and QMultiLineEdit.event().
+Fixed the problems with TQLineEdit.event() and TQMultiLineEdit.event().
2001/06/18 10:35:45 phil
-Re-enabled QInterlaceStype for Qt v2.3.1+.
-configure now looks for Qt v2.3.1.
-Added QPrinter.PageSize.Custom.
-Updates to pyuic from Qt v2.3.1.
+Re-enabled TQInterlaceStype for TQt v2.3.1+.
+configure now looks for TQt v2.3.1.
+Added TQPrinter.PageSize.Custom.
+Updates to pyuic from TQt v2.3.1.
2001/06/02 17:02:01 phil
-Fixed the QTranslatorMessage documentation.
+Fixed the TQTranslatorMessage documentation.
2001/05/31 21:01:16 phil
-Added the missing QTranslator methods.
-Added the QTranslatorMessage class.
+Added the missing TQTranslator methods.
+Added the TQTranslatorMessage class.
2001/05/30 21:22:42 phil
-Fixed incorrect definition of QTextView.setText().
+Fixed incorrect definition of TQTextView.setText().
Added the /Constraint/ argument everywhere it was needed.
Removed all methods that could never be called because they had different C++
signatures, but the same Python signatures.
2001/05/22 19:36:24 phil
-Added the missing QWidget.reparent() variant.
+Added the missing TQWidget.reparent() variant.
Added the qtgl module.
2001/05/14 20:14:36 phil
-Removed the QInterlaceStyle class untill Trolltech fix the Windows port.
+Removed the TQInterlaceStyle class untill Trolltech fix the Windows port.
2001/05/13 17:16:43 phil
-Added the missing variant of QInputDialog.getText().
+Added the missing variant of TQInputDialog.getText().
2001/05/07 16:50:14 phil
@@ -3129,7 +3129,7 @@ Minor configuration changes.
2001/04/22 15:26:48 phil
-Added the missing QFileDialog.getExistingDirectory() method.
+Added the missing TQFileDialog.getExistingDirectory() method.
Upgraded to automake v1.4d.
@@ -3138,23 +3138,23 @@ Final changes for the release of v2.4.
2001/04/15 00:38:40 phil
-Added missing methods to QMotifStyle.
-Added missing enum value to QPalette.
+Added missing methods to TQMotifStyle.
+Added missing enum value to TQPalette.
Updated the themes.py example.
2001/04/13 13:52:21 phil
-Added QCustomEvent.
+Added TQCustomEvent.
2001/04/08 13:24:53 phil
-Added the missing final parameter to QMultiLineEdit.insertAt().
+Added the missing final parameter to TQMultiLineEdit.insertAt().
Updated the documentation ready for v2.4.
2001/03/05 23:13:16 phil
-Added the new methods and classes implemented in Qt v2.3.0-beta1.
-Updated pyuic from Qt v2.3.0-beta1.
+Added the new methods and classes implemented in TQt v2.3.0-beta1.
+Updated pyuic from TQt v2.3.0-beta1.
2001/03/04 16:22:05 phil
@@ -3168,11 +3168,11 @@ installed.
2001/02/16 10:53:21 phil
-Added a couple of methods missing from QLineEdit.
+Added a couple of methods missing from TQLineEdit.
2001/02/04 14:39:56 phil
-Configure now checks for Qt v2.2.4 and Python v2.1.
+Configure now checks for TQt v2.2.4 and Python v2.1.
Release as v2.3.
@@ -3182,7 +3182,7 @@ Various packaging changes for BlackAdder.
2001/01/09 11:45:51 phil
-Added some missing QSlider methods.
+Added some missing TQSlider methods.
Added some documentation about multiple inheritance.
@@ -3192,42 +3192,42 @@ Updated the documentation ready for v2.3.
2000/12/19 14:51:01 phil
-Added the pre-hooks just before all calls to the Qt event loop.
-Changed the QApplication hook to use the new sipCallHook() function.
+Added the pre-hooks just before all calls to the TQt event loop.
+Changed the TQApplication hook to use the new sipCallHook() function.
2000/12/13 20:15:55 phil
Really fixed pyuic this time.
pyuic now tries to do something sensible with custom widgets - it assumes they
are in another module and tries to import them. The module name is the header
-file name specified in Qt Designer with any extension removed.
+file name specified in TQt Designer with any extension removed.
2000/12/13 18:00:46 phil
-Repaired some damage to pyuic caused when integrating the Qt v2.2.3 changes.
+Repaired some damage to pyuic caused when integrating the TQt v2.2.3 changes.
2000/12/13 10:42:19 phil
-Changed the configuration to look for Qt v2.2.3.
-Updated pyuic to track changes to uic in Qt v2.2.3.
+Changed the configuration to look for TQt v2.2.3.
+Updated pyuic to track changes to uic in TQt v2.2.3.
2000/12/12 17:46:14 phil
-Added QCustomMenuItem.
-Added the missing QMenuData.insertItem methods.
+Added TQCustomMenuItem.
+Added the missing TQMenuData.insertItem methods.
Changed all the handwritten occurences of sipParseArgs() to use the new version
that supports better error reporting.
2000/12/11 12:15:48 phil
Added the addressbook.py, buttongroups.py and menu.py examples.
-Removed the deprecated behaviour of repr() for QString, QCString and
-QByteArray.
+Removed the deprecated behaviour of repr() for TQString, TQCString and
+TQByteArray.
2000/12/03 17:44:41 phil
-Documented that you can't sub-class QCanvasItem.
-repr() of QString et al. now does the same as repr() of any other class.
+Documented that you can't sub-class TQCanvasItem.
+repr() of TQString et al. now does the same as repr() of any other class.
2000/12/01 01:31:48 phil
@@ -3236,31 +3236,31 @@ Updated the application.py example.
2000/11/30 15:57:54 phil
-Modified the tutorial example scripts to match the C++ ones with Qt v2.x.
-Removed the old Qt v1.x example scripts.
+Modified the tutorial example scripts to match the C++ ones with TQt v2.x.
+Removed the old TQt v1.x example scripts.
2000/11/29 09:37:56 phil
-Added the missing QMessage.setTextFormat() and QMessage.textFormat().
+Added the missing TQMessage.setTextFormat() and TQMessage.textFormat().
2000/11/24 12:04:04 phil
-Added QPushButton.isFlat() and QPushButton.setFlat().
+Added TQPushButton.isFlat() and TQPushButton.setFlat().
2000/11/12 21:22:02 phil
-pyuic fixed to handle QLabel buddies properly.
+pyuic fixed to handle TQLabel buddies properly.
2000/11/11 14:31:07 phil
-Added documentation to QListView and QListViewItem about how to delete child
-QListViewItems.
-Updated pyuic from Qt v2.2.2 uic.
-Updated configure to look for Qt v2.2.2.
+Added documentation to TQListView and TQListViewItem about how to delete child
+TQListViewItems.
+Updated pyuic from TQt v2.2.2 uic.
+Updated configure to look for TQt v2.2.2.
2000/11/09 10:16:24 phil
-Fixed compilation problem with QString with Qt v1.x.
+Fixed compilation problem with TQString with TQt v1.x.
2000/11/08 12:43:56 phil
@@ -3270,22 +3270,22 @@ other modules of the same application.
2000/11/05 20:59:51 phil
-Implemented __str__ for QByteArray, QCString and QString. Changed __repr__ to
+Implemented __str__ for TQByteArray, TQCString and TQString. Changed __repr__ to
not raise an exception on null instances.
-Added a section to the documentation covering Python and Qt strings.
+Added a section to the documentation covering Python and TQt strings.
Released v2.2.
2000/11/02 14:57:18 phil
Added missing %HeaderCode in qsizepolicy.sip.
Added %Copying.
-Added __pyQtQAppHook__
+Added __pyTQtTQAppHook__
Fixed the debugger for Windows.
-Added QSocket, QServerSocket and QHostAddress.
+Added TQSocket, TQServerSocket and TQHostAddress.
2000/10/20 23:30:22 phil
-Added the missing QPalette.setInactive().
+Added the missing TQPalette.setInactive().
Colour related fixes to pyuic (thanks to Robert Roy).
@@ -3300,17 +3300,17 @@ Changed the documentation for v2.1pre1.
2000/10/13 18:58:35 phil
-Fixed pyuic bug related to QToolTip.
-configure will now look for Qt v2.2.1.
+Fixed pyuic bug related to TQToolTip.
+configure will now look for TQt v2.2.1.
2000/10/11 17:21:59 phil
Added the widgets.py example.
-Fixed bugs with slot arguments in QMovie.
+Fixed bugs with slot arguments in TQMovie.
2000/10/11 13:32:25 phil
-The QApplication dtor now makes sure that any top-pevel windows don't get
+The TQApplication dtor now makes sure that any top-pevel windows don't get
deleted twice.
Changed the Shell banner in eric to be closer to Python 2.0.
@@ -3324,18 +3324,18 @@ Added eric the debugger.
2000/10/06 12:55:57 phil
-Updated pyuic for Qt v2.2.1.
-Fixed problems with QInputDialog.getValue() and QInputDialog.getText().
+Updated pyuic for TQt v2.2.1.
+Fixed problems with TQInputDialog.getValue() and TQInputDialog.getText().
2000/10/03 16:35:25 phil
-Added the missing /Transfer/ to QStatusBar.addWidget().
-Added the missing /TransferBack/ to QStatusBar.removeWidget().
+Added the missing /Transfer/ to TQStatusBar.addWidget().
+Added the missing /TransferBack/ to TQStatusBar.removeWidget().
2000/10/02 21:45:56 phil
-Added the missing QCanvasPixmapArray ctor.
-Added the len, [] and in operators to QStringList.
+Added the missing TQCanvasPixmapArray ctor.
+Added the len, [] and in operators to TQStringList.
2000/10/01 12:37:31 phil
@@ -3346,33 +3346,33 @@ repaired.
2000/10/01 00:50:32 phil
-Added the missing QMenuData.setItemParameter(), QMenuData.itemParameter() and
-QMenuData.activateItemAt().
-QMenuData.insertItem() and QAccel.connectItem() now expect slots that will take
+Added the missing TQMenuData.setItemParameter(), TQMenuData.itemParameter() and
+TQMenuData.activateItemAt().
+TQMenuData.insertItem() and TQAccel.connectItem() now expect slots that will take
an argument. THIS WILL BREAK SCRIPTS - but is the correct behaviour because
-PyQt doesn't support the Qt feature of a slot consuming fewer arguments than a
+PyTQt doesn't support the TQt feature of a slot consuming fewer arguments than a
signal provides.
2000/09/28 23:09:51 phil
-Added the missing /TransferThis/ in the QWorkspace ctor.
+Added the missing /TransferThis/ in the TQWorkspace ctor.
2000/09/28 16:31:19 phil
-Added missing QWidget.isHidden(), QWidget.isMaximized() and
-QMultiLineEdit.getCursorPosition().
+Added missing TQWidget.isHidden(), TQWidget.isMaximized() and
+TQMultiLineEdit.getCursorPosition().
2000/09/28 10:27:39 phil
-Added /Transfer/ to QApplication::postEvent().
+Added /Transfer/ to TQApplication::postEvent().
2000/09/27 17:21:27 phil
-Fixed the QDir ctor for Qt v2+.
+Fixed the TQDir ctor for TQt v2+.
2000/09/25 12:02:15 phil
-Fixed QBoxLayout::findWidget() so that it compiles under Qt v2.0.x.
+Fixed TQBoxLayout::findWidget() so that it compiles under TQt v2.0.x.
2000/09/20 11:03:00 phil
@@ -3382,8 +3382,8 @@ Minor changes prior to moving the CVS tree to theKompany.com.
2000/09/19 08:25:47 phil
Added the automatic ChangeLog.
-Added the missing keyReleaseEvent() from QButton.
-Added the missing QValidator::State::Intermediate.
-pyuic was generating bad code for QWizards. Also improved the standalone
+Added the missing keyReleaseEvent() from TQButton.
+Added the missing TQValidator::State::Intermediate.
+pyuic was generating bad code for TQWizards. Also improved the standalone
support code.
diff --git a/LICENSE b/LICENSE
index c7aea18..fc80518 100644
--- a/LICENSE
+++ b/LICENSE
@@ -109,9 +109,9 @@ above, provided that you also meet all of these conditions:
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
- the Program is not required to print an announcement.)
+ the Program is not retquired to print an announcement.)
-These requirements apply to the modified work as a whole. If
+These retquirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
@@ -177,7 +177,7 @@ However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
- 5. You are not required to accept this License, since you have not
+ 5. You are not retquired to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
@@ -263,14 +263,14 @@ OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
-TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+TO THE TQUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
- 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+ 12. IN NO EVENT UNLESS RETQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
-INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSETQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
diff --git a/NEWS b/NEWS
index a57a711..ebcbefb 100644
--- a/NEWS
+++ b/NEWS
@@ -10,9 +10,9 @@ v3.17.6 17th November 2008
v3.17.5 8th November 2008
- Added the /Constrained/ argument annotations for enums needed by SIP v4.7.8
and later.
- - Added the missing QRegion.rects() (based on a patch from Hans-Peter
+ - Added the missing TQRegion.rects() (based on a patch from Hans-Peter
Jansen).
- - Added the missing QWidget.stackUnder() slot.
+ - Added the missing TQWidget.stackUnder() slot.
v3.17.4 6th December 2007
- Changes to be able to be built by SIP v4.7.2 and later.
@@ -25,100 +25,100 @@ v3.17.2 25th April 2007
- A minor bug fix release for a regression in v3.17.1.
v3.17.1 10th April 2007
- - This version requires SIP v4.6 (or later).
+ - This version retquires SIP v4.6 (or later).
- Changes to ensure compatibility with future SIP releases.
v3.17 4th November 2006
- Added support for Python v2.5.
- - Added the missing QImage.bitBlt() function.
- - Added the missing QListView.setSelectionAnchor() method.
- - Added the missing QStringList.__iadd__(QString) method.
- - Updated the QScintilla bindings for v1.17.
+ - Added the missing TQImage.bitBlt() function.
+ - Added the missing TQListView.setSelectionAnchor() method.
+ - Added the missing TQStringList.__iadd__(TQString) method.
+ - Updated the TQScintilla bindings for v1.17.
v3.16 24th March 2006
- - This version requires SIP v4.4 (or later).
- - PyQt3 can be installed alongside PyQt4.
- - Concatenating Python strings and QStrings is now supported.
- - QString now supports the * and *= operators that behave as they do for
+ - This version retquires SIP v4.4 (or later).
+ - PyTQt3 can be installed alongside PyTQt4.
+ - Concatenating Python strings and TQStrings is now supported.
+ - TQString now supports the * and *= operators that behave as they do for
Python strings.
- - Removed some QString methods that weren't appropriate in a Python context
+ - Removed some TQString methods that weren't appropriate in a Python context
and would have caused problems had they ever been used.
- - QString is more interoperable with Python string and unicode objects. For
+ - TQString is more interoperable with Python string and unicode objects. For
example they can be passed as arguments to open() and to most (but not all)
string methods.
- - QObject.sender() now handles Python signals.
+ - TQObject.sender() now handles Python signals.
- Added the missing MacintoshVersion enum.
- The convention for converting between a C/C++ null pointer and Python's
None object has now been universally applied. In previous versions a null
- pointer to, for example, a Qt list container would often be converted to an
+ pointer to, for example, a TQt list container would often be converted to an
empty list rather than None.
- PYQT_BUILD has been removed.
- - QPopupMenu (and sub-classes) instances now transfer ownership of the menu
+ - TQPopupMenu (and sub-classes) instances now transfer ownership of the menu
to Python in the call to exec_loop(). This means the menu's resources are
all released when the Python wrapper is garbage collected without needing
- to call QObject.deleteLater().
+ to call TQObject.deleteLater().
v3.15.1 14th November 2005
- - Added the missing QApplication constructor.
+ - Added the missing TQApplication constructor.
- Added the -f flag to configure.py to use any existing features file (by
default it is recreated).
v3.15 30th August 2005
- - This version requires SIP v4.3 (or later).
- - Added registerWeakActiveObject() and revokeActiveObject() to QAxBase.
- - Added the missing QString + operator.
- - PyQt classes now support Python's cyclic garbage collector.
- - QDialog (and sub-classes) instances now transfer ownership of the dialog to
+ - This version retquires SIP v4.3 (or later).
+ - Added registerWeakActiveObject() and revokeActiveObject() to TQAxBase.
+ - Added the missing TQString + operator.
+ - PyTQt classes now support Python's cyclic garbage collector.
+ - TQDialog (and sub-classes) instances now transfer ownership of the dialog to
Python in the call to exec_loop(). This means the dialog's resources are
all released when the Python wrapper is garbage collected without needing
- to call QObject.deleteLater().
+ to call TQObject.deleteLater().
- Automatic type conversion to more specific sub-classes using available
real-time type information has been improved so that, if a sub-class isn't
recognised then the most specific sub-class is used rather than the base
class.
- - Automatic type conversion for QLayoutItem and sub-classes has been added.
- - Added support for QScintilla v1.6.
+ - Automatic type conversion for TQLayoutItem and sub-classes has been added.
+ - Added support for TQScintilla v1.6.
v3.14.1 6th March 2005
- A minor bug fix release.
v3.14 19th February 2005
- - This version requires SIP v4.2 (or later) or SIP v3.12 (or later).
+ - This version retquires SIP v4.2 (or later) or SIP v3.12 (or later).
- Added the qInstallMsgHandler() function.
- - Added support for QScintilla v1.5.
+ - Added support for TQScintilla v1.5.
- Added support for the VendorID package.
- Added the qdir.py example.
v3.13 21st September 2004
- - Added the QUuid, QMetaObject and QMetaProperty classes.
- - Added metaObject() to QObject.
- - Added the comparison operators between QChar and QChar and char.
- - Added all the QDataStream << and >> operators for classes.
- - Added support for QScintilla v1.4.
- - Added explicit support for QScintilla to pyuic.
+ - Added the TQUuid, TQMetaObject and TQMetaProperty classes.
+ - Added metaObject() to TQObject.
+ - Added the comparison operators between TQChar and TQChar and char.
+ - Added all the TQDataStream << and >> operators for classes.
+ - Added support for TQScintilla v1.4.
+ - Added explicit support for TQScintilla to pyuic.
v3.12 25th May 2004
- - QValueList is implemented as a Python list of QVariant instances.
- - Added support for QScintilla v1.3.
+ - TQValueList is implemented as a Python list of TQVariant instances.
+ - Added support for TQScintilla v1.3.
- Compiler error messages are suppressed during configuration but can be seen
using the new -w flag to configure.py.
v3.11 11th March 2004
- - Added the QIconDragEvent and QLocale classes from Qt v3.3.0.
- - Updated all existing classes to Qt v3.3.1.
- - Added the missing QSocketDevice class.
- - Added the missing QString += operators.
+ - Added the TQIconDragEvent and TQLocale classes from TQt v3.3.0.
+ - Updated all existing classes to TQt v3.3.1.
+ - Added the missing TQSocketDevice class.
+ - Added the missing TQString += operators.
v3.10 16th January 2004
- - Added the QFtp, QHttp, QHttpHeader, QHttpRequestHeader,
- QHttpResponseHeader, QLocalFs classes.
+ - Added the TQFtp, TQHttp, TQHttpHeader, TQHttpRequestHeader,
+ TQHttpResponseHeader, TQLocalFs classes.
v3.9 7th December 2003
- - This version requires SIP v3.9 (or later) or SIP v4.0rc1 (or later).
- - QLayoutIterator.next() is now documented.
- - Added the QImageIO and QListViewItemIterator classes.
- - Added the QDockArea << and >> operators.
- - Added readBoolEntry() to QSettings.
+ - This version retquires SIP v3.9 (or later) or SIP v4.0rc1 (or later).
+ - TQLayoutIterator.next() is now documented.
+ - Added the TQImageIO and TQListViewItemIterator classes.
+ - Added the TQDockArea << and >> operators.
+ - Added readBoolEntry() to TQSettings.
- Added qInstallPath(), qInstallPathDocs(), qInstallPathHeaders(),
qInstallPathLibs(), qInstallPathBins(), qInstallPathPlugins(),
qInstallPathData(), qInstallPathTranslations(), qInstallPathSysconf().
@@ -130,33 +130,33 @@ v3.9 7th December 2003
.sip files.
v3.8.1 6th September 2003
- - Added the missing QWMatrix.mapRect() * operators.
- - The supported educational version is now Qt v3.2.0.
+ - Added the missing TQWMatrix.mapRect() * operators.
+ - The supported educational version is now TQt v3.2.0.
v3.8 17th August 2003
- - Added the -k flag to build.py to build the PyQt modules as static
+ - Added the -k flag to build.py to build the PyTQt modules as static
libraries.
- - Added operators to QBrush, QColor, QDate, QDateTime, QDir, QDomeNode,
- QFont, QImage, QKeySequence, QPalette, QPen, QPoint, QRect, QRegExp,
- QRegion, QSize, QString, QTime, QUrl and QWMatrix (thanks to Torsten
+ - Added operators to TQBrush, TQColor, TQDate, TQDateTime, TQDir, TQDomeNode,
+ TQFont, TQImage, TQKeySequence, TQPalette, TQPen, TQPoint, TQRect, TQRegExp,
+ TQRegion, TQSize, TQString, TQTime, TQUrl and TQWMatrix (thanks to Torsten
Marek).
- - Added the missing Qt.MetaButton.
- - Updated all classes for Qt v3.2.0.
- - Added the QSplashScreen, QSqlSelectCursor and QToolBox classes for Qt
+ - Added the missing TQt.MetaButton.
+ - Updated all classes for TQt v3.2.0.
+ - Added the TQSplashScreen, TQSqlSelectCursor and TQToolBox classes for TQt
v3.2.0.
- - Added support for QScintilla v1.2.
+ - Added support for TQScintilla v1.2.
v3.7 5th July 2003
- Implemented __setitem__(), __delitem__(), __add__(), __iadd__(), __mul__(),
- __imul__(), __eq__() and __ne__() for QStringList.
+ __imul__(), __eq__() and __ne__() for TQStringList.
- Lots of new examples from Jorge Arroyo.
- - dir() of a PyQt class now returns all attributes.
- - Added bits(), scanLine(), jumpTable() and colorTable() to QImage.
+ - dir() of a PyTQt class now returns all attributes.
+ - Added bits(), scanLine(), jumpTable() and colorTable() to TQImage.
- Added toShort(), toUShort(), toInt(), toUInt(), toLong(), toULong(),
- toFloat() and toDouble() to QCString and QString.
- - Added the QWindowsXPStyle (Windows XP only), QextScintillaLexerHTML,
- QextScintillaLexerSQL and QSignalMapper classes.
- - pyuic (for Qt v3) now accepts a "-test" command line argument to allow
+ toFloat() and toDouble() to TQCString and TQString.
+ - Added the TQWindowsXPStyle (Windows XP only), QextScintillaLexerHTML,
+ QextScintillaLexerSQL and TQSignalMapper classes.
+ - pyuic (for TQt v3) now accepts a "-test" command line argument to allow
generated code to be run to completion without needing any user
interaction.
- Added modificationAttempted() to QextScintilla.
@@ -164,33 +164,33 @@ v3.7 5th July 2003
v3.6 26th April 2003
- Added the QextScintillaAPIs, QextScintillaCommand, QextScintillaCommandSet,
QextScintillaMacros and QextScintillaPrinter classes to the qtext module.
- - Added the QCopEnvelope class to the qtpe module.
- - QString.startsWith() was missing for Qt v2 starting with Qt v2.2.0.
- - Implemented the QTextStream << QMainWindow and QTextStream >> QMainWindow
+ - Added the TQCopEnvelope class to the qtpe module.
+ - TQString.startsWith() was missing for TQt v2 starting with TQt v2.2.0.
+ - Implemented the TQTextStream << TQMainWindow and TQTextStream >> TQMainWindow
operators.
- pyuic will now extract Python code from the comments section of a .ui file.
- pyuic now supports PEP 263.
- Added the biff.py, checklists.py, drawlines.py and modified buttongroups.py
examples from Oleksandr Yakovlyev.
- Added the qtui module (thanks to Hans-Peter Jansen).
- - Support for Qt v3.1.2 added.
+ - Support for TQt v3.1.2 added.
- PYQT_VERSION is now the version encoded as a hexadecimal value.
- Added PYQT_VERSION_STR.
v3.5 11th December 2002
- - Added the qtext module containing the bindings for QScintilla.
- - Added the missing QDockWindow.drawFrame(), QGLWidget.reparent() and
- QMainWindow.lineUpDockWindows() methods.
- - Added the missing QGLColorMap class.
- - Support for Qt v3.0.6, v3.1.0 and v3.1.1 added.
- - Added the Qt v3.1.x QAssistantClient, QEventLoop, QIconFactory,
- - QIMComposeEvent, QMutexLocker and QSyntaxHighlighter classes, and
+ - Added the qtext module containing the bindings for TQScintilla.
+ - Added the missing TQDockWindow.drawFrame(), TQGLWidget.reparent() and
+ TQMainWindow.lineUpDockWindows() methods.
+ - Added the missing TQGLColorMap class.
+ - Support for TQt v3.0.6, v3.1.0 and v3.1.1 added.
+ - Added the TQt v3.1.x TQAssistantClient, TQEventLoop, TQIconFactory,
+ - TQIMComposeEvent, TQMutexLocker and TQSyntaxHighlighter classes, and
qCompress() and qUncompress functions.
- Removed eric from the distribution as it is now packaged separately.
- The SQL examples now support PostgreSQL as well as MySQL.
- - Added the Qtopia v1.5.0 AppLnk, AppLnkSet, Config, DateFormat, DocLnk,
+ - Added the TQtopia v1.5.0 AppLnk, AppLnkSet, Config, DateFormat, DocLnk,
DocLnkSet, FileManager, FileSelector, FileSelectorItem, FontDatabase,
- Global, MenuButton, QDawg, QList, QList and Resource
+ Global, MenuButton, TQDawg, TQList, TQList and Resource
classes.
v3.4 10th September 2002
@@ -199,33 +199,33 @@ v3.4 10th September 2002
- Added the progress.py example from Hans-Peter Jansen.
- Added the mdi.py and canvas.py examples from Sadi Kose.
- Added QT_TR_NOOP() and QT_TRANSLATE_NOOP().
- - Added QApplication.winEventFilter(), QWidget.winEvent(), MSG and POINT
+ - Added TQApplication.winEventFilter(), TQWidget.winEvent(), MSG and POINT
under Windows.
- - PyQt is now licensed under several licenses including the GPL and a
+ - PyTQt is now licensed under several licenses including the GPL and a
commercial license.
v3.3.2 12th July 2002
- Build system changes.
v3.3.1 9th July 2002
- - Support for Qt v3.0.5 added.
+ - Support for TQt v3.0.5 added.
v3.3 7th July 2002
- Added README.SunOS.
- - QValueList is now fully implemented as a mapping to a Python list
- of QPixmap instances.
- - QSqlRecordInfo is now implemented as a Python list of QSqlFieldInfo
+ - TQValueList is now fully implemented as a mapping to a Python list
+ of TQPixmap instances.
+ - TQSqlRecordInfo is now implemented as a Python list of TQSqlFieldInfo
instances.
- - Added the missing QDoubleValidator.setBottom(),
- QDoubleValidator.setDecimals(), QDoubleValidator.setTop,
- QFontMetrics.boundingRect(), QFontMetrics.size(),
- QIntValidator.setBottom(), QIntValidator.setTop(), QString.compare() and
- QString.localeAwareCompare().
+ - Added the missing TQDoubleValidator.setBottom(),
+ TQDoubleValidator.setDecimals(), TQDoubleValidator.setTop,
+ TQFontMetrics.boundingRect(), TQFontMetrics.size(),
+ TQIntValidator.setBottom(), TQIntValidator.setTop(), TQString.compare() and
+ TQString.localeAwareCompare().
- Added the qmake based build system.
- Added lots of eric patches from Detlev Offenbach. (eric should now work
again and has new features.)
- Added the SQL examples from Hans-Peter Jansen.
- - pyuic for Qt v3 can now extract Python code from .ui files (thanks to
+ - pyuic for TQt v3 can now extract Python code from .ui files (thanks to
Christian Bird).
v3.2.4 18th May 2002
@@ -239,332 +239,332 @@ v3.2.1 5th May 2002
- Bug fixes only from the latest SIP.
v3.2 5th May 2002
- - Instances that are sub-classes of QObject and created by Qt (by factory
+ - Instances that are sub-classes of TQObject and created by TQt (by factory
methods, or plugin managers for example) will now have the correct Python
class.
- - Added the missing QToolTip.setEnabled() and QToolTip.enabled().
+ - Added the missing TQToolTip.setEnabled() and TQToolTip.enabled().
- Added support for MacOS X.
- - Added PYQT_VERSION as the PyQt release number as a string.
+ - Added PYQT_VERSION as the PyTQt release number as a string.
- Added the semaphore.py example.
- - Any Python object can now be passed as the data element of a QCustomEvent.
- - configure now searches for Qt v3.0.4.
+ - Any Python object can now be passed as the data element of a TQCustomEvent.
+ - configure now searches for TQt v3.0.4.
v3.1 23rd March 2002
- - Removed the internal QDateTimeEditBase and QDragResponseEvent classes.
- - Added the QValueList mapped class.
- - Added the missing QImageTextLangKey class.
- - Added the missing QActionGroup.add(), QActionGroup.addSeparator(),
- QImage.dotsPerMeterX(), QImage.dotsPerMeterY(), QImage.setDotsPerMeterX(),
- QImage.setDotsPerMeterY(), QImage.offset(), QImage.setOffset(),
- QImage.textList(), QImage.textLanguages(), QImage.textKeys(), QImage.text()
- and QImage.setText() methods.
- - Added support for Qt/Embedded on the Sharp Zaurus.
- - Added the start of the qtpe (Qt Palmtop Environment) module.
- - Changes required for Qt v3.0.1 and v3.0.2.
+ - Removed the internal TQDateTimeEditBase and TQDragResponseEvent classes.
+ - Added the TQValueList mapped class.
+ - Added the missing TQImageTextLangKey class.
+ - Added the missing TQActionGroup.add(), TQActionGroup.addSeparator(),
+ TQImage.dotsPerMeterX(), TQImage.dotsPerMeterY(), TQImage.setDotsPerMeterX(),
+ TQImage.setDotsPerMeterY(), TQImage.offset(), TQImage.setOffset(),
+ TQImage.textList(), TQImage.textLanguages(), TQImage.textKeys(), TQImage.text()
+ and TQImage.setText() methods.
+ - Added support for TQt/Embedded on the Sharp Zaurus.
+ - Added the start of the qtpe (TQt Palmtop Environment) module.
+ - Changes retquired for TQt v3.0.1 and v3.0.2.
- configure now allows the location of zlib to be specified.
- configure now allows the directory to where the Python modules are
installed to be specified.
- - configure now searches for Qt v3.0.1, v3.0.2 and v3.0.3.
- - Changes required by the latest SIP.
+ - configure now searches for TQt v3.0.1, v3.0.2 and v3.0.3.
+ - Changes retquired by the latest SIP.
- Added the dragdrop example from Issac Trotts.
- Added /ReleaseLock/ to everything that might block.
- Upgraded to autoconf-2.53 and automake-1.6.
v3.0 17th November 2001
- - Added the missing QChar.nbsp class variable.
- - Added the missing QChar.isLetterOrNumber(), QChar.mirroredChar(),
- QColorDialog.customColor(), QCustomDialog.customCount(),
- QColorDialog.getRgba(), QCustomDialog.setCustomColor(), QFileDialog.done(),
- QHeader.setUpdatesEnabled(), QHeader.showEvent(), QIconView.dropped(),
- QIconViewItem.dropped(), QImage.inputFormatList(),
- QImage.outputFormatList(), QLayoutIterator.next(), QLineEdit.displayText(),
- QListBox.isRubberSelecting(), QMenuBar.activateItemAt(),
- QMenuBar.focusInEvent(), QMenuBar.isDefaultUp(), QMenuBar.minimumSize(),
- QMenuBar.minimumSizeHint(), QMenuBar.setDefaultUp(), QMenuData.findItem(),
- QMimeSourceFactory.filePath(), QMimeSourceFactory.addFilePath(),
- QMotifPlusStyle.drawMenuBarItem(), QMotifPlusStyle.drawPopupMenuItem(),
- QMotifStyle.drawPopupMenuItem(), QMotifStyle.extraPopupMenuItemWidth(),
- QMotifStyle.popupMenuItemHeight(), QNetworkProtocol.newChildren(),
- QPlatinumStyle.drawPopupMenuItem(),
- QPlatinumStyle.extraPopupMenuItemWidth(),
- QPlatinumStyle.popupMenuItemHeight(), QPainter.pos(), QPalette.inactive(),
- QPopupMenu.drawItem(), QPopupMenu.itemHeight(), QPrintDialog.addButton(),
- QProgressDialog.forceShow(), QScrollBar.lineStep(), QScrollBar.maxValue(),
- QScrollBar.minValue(), QScrollBar.pageStep(), QScrollBar.setLineStep(),
- QScrollBar.setMaxValue(), QScrollBar.setMinValue(),
- QScrollBar.setPageStep(), QScrollBar.setValue(), QScrollBar.value(),
- QStyle.drawPopupMenuItem(), QStyle.drawMenuBarItem(),
- QStyle.extraPopupMenuItemWidth(), QStyle.popupMenuItemHeight(),
- QToolTip.hide(), QToolTipGroup.enabled(), QToolTipGroup.setEnabled(),
- QTranslator.messages(), QUrlOperator.newChildren(),
- QUrlOperator.startNextCopy(), QWindowsStyle.drawPopupMenuItem(),
- QWindowsStyle.extraPopupMenuItemWidth() and
- QWindowsStyle.popupMenuItemHeight() methods.
- - Added all missing methods that use QDataStream.
- - Added the missing QDir.match(), QObject.connect(), QRect.contains(),
- QString.append() and QString.prepend() variants.
- - Added the missing QAccel and QImage ctors.
- - Added the missing QColorDrag, QDns, QIconDrag, QIconDragItem, QMenuItem,
- QSGIStyle and QSound classes.
- - Renamed QDate.isValidDate() to QDate.isValid(), QFile.fileExists() to
- QFile.exists(), QFile.removeFile() to QFile.remove(), QLineEdit.del() to
- QLineEdit.delChar(), QMultiLineEdit.deleteChar() to
- QMultiLineEdit.delChar(), and QTime.IsValidTime() to QTime.isValid().
- - Added the QCanvasSpline, QCheckTableItem, QComboTableItem,
- QCustomMenuEvent, QDataBrowser, QDataTable, QDataView, QDateEdit,
- QDateTimeEdit, QDesktopWidget, QDockArea, QDockWindow, QEditorFactory,
- QErrorMessage, QGridView, QIMEvent, QKeySequence, QLibrary,
- QObjectCleanupHandler, QPixmapCache, QProcess, QRegExpValidator, QSettings,
- QSql, QSqlCursor, QSqlDatabase, QSqlDriver, QSqlEditorFactory, QSqlError,
- QSqlField, QSqlFieldInfo, QSqlForm, QSqlIndex, QSqlPropertyMap, QSqlQuery,
- QSqlRecord, QSqlRecordInfo, QSqlResult, QStyleFactory, QStyleOption,
- QTabletEvent, QTextEdit, QTimeEdit and QWindowsMime Qt3 classes.
+ - Added the missing TQChar.nbsp class variable.
+ - Added the missing TQChar.isLetterOrNumber(), TQChar.mirroredChar(),
+ TQColorDialog.customColor(), TQCustomDialog.customCount(),
+ TQColorDialog.getRgba(), TQCustomDialog.setCustomColor(), TQFileDialog.done(),
+ TQHeader.setUpdatesEnabled(), TQHeader.showEvent(), TQIconView.dropped(),
+ TQIconViewItem.dropped(), TQImage.inputFormatList(),
+ TQImage.outputFormatList(), TQLayoutIterator.next(), TQLineEdit.displayText(),
+ TQListBox.isRubberSelecting(), TQMenuBar.activateItemAt(),
+ TQMenuBar.focusInEvent(), TQMenuBar.isDefaultUp(), TQMenuBar.minimumSize(),
+ TQMenuBar.minimumSizeHint(), TQMenuBar.setDefaultUp(), TQMenuData.findItem(),
+ TQMimeSourceFactory.filePath(), TQMimeSourceFactory.addFilePath(),
+ TQMotifPlusStyle.drawMenuBarItem(), TQMotifPlusStyle.drawPopupMenuItem(),
+ TQMotifStyle.drawPopupMenuItem(), TQMotifStyle.extraPopupMenuItemWidth(),
+ TQMotifStyle.popupMenuItemHeight(), TQNetworkProtocol.newChildren(),
+ TQPlatinumStyle.drawPopupMenuItem(),
+ TQPlatinumStyle.extraPopupMenuItemWidth(),
+ TQPlatinumStyle.popupMenuItemHeight(), TQPainter.pos(), TQPalette.inactive(),
+ TQPopupMenu.drawItem(), TQPopupMenu.itemHeight(), TQPrintDialog.addButton(),
+ TQProgressDialog.forceShow(), TQScrollBar.lineStep(), TQScrollBar.maxValue(),
+ TQScrollBar.minValue(), TQScrollBar.pageStep(), TQScrollBar.setLineStep(),
+ TQScrollBar.setMaxValue(), TQScrollBar.setMinValue(),
+ TQScrollBar.setPageStep(), TQScrollBar.setValue(), TQScrollBar.value(),
+ TQStyle.drawPopupMenuItem(), TQStyle.drawMenuBarItem(),
+ TQStyle.extraPopupMenuItemWidth(), TQStyle.popupMenuItemHeight(),
+ TQToolTip.hide(), TQToolTipGroup.enabled(), TQToolTipGroup.setEnabled(),
+ TQTranslator.messages(), TQUrlOperator.newChildren(),
+ TQUrlOperator.startNextCopy(), TQWindowsStyle.drawPopupMenuItem(),
+ TQWindowsStyle.extraPopupMenuItemWidth() and
+ TQWindowsStyle.popupMenuItemHeight() methods.
+ - Added all missing methods that use TQDataStream.
+ - Added the missing TQDir.match(), TQObject.connect(), TQRect.contains(),
+ TQString.append() and TQString.prepend() variants.
+ - Added the missing TQAccel and TQImage ctors.
+ - Added the missing TQColorDrag, TQDns, TQIconDrag, TQIconDragItem, TQMenuItem,
+ TQSGIStyle and TQSound classes.
+ - Renamed TQDate.isValidDate() to TQDate.isValid(), TQFile.fileExists() to
+ TQFile.exists(), TQFile.removeFile() to TQFile.remove(), TQLineEdit.del() to
+ TQLineEdit.delChar(), TQMultiLineEdit.deleteChar() to
+ TQMultiLineEdit.delChar(), and TQTime.IsValidTime() to TQTime.isValid().
+ - Added the TQCanvasSpline, TQCheckTableItem, TQComboTableItem,
+ TQCustomMenuEvent, TQDataBrowser, TQDataTable, TQDataView, TQDateEdit,
+ TQDateTimeEdit, TQDesktopWidget, TQDockArea, TQDockWindow, TQEditorFactory,
+ TQErrorMessage, TQGridView, TQIMEvent, TQKeySequence, TQLibrary,
+ TQObjectCleanupHandler, TQPixmapCache, TQProcess, TQRegExpValidator, TQSettings,
+ TQSql, TQSqlCursor, TQSqlDatabase, TQSqlDriver, TQSqlEditorFactory, TQSqlError,
+ TQSqlField, TQSqlFieldInfo, TQSqlForm, TQSqlIndex, TQSqlPropertyMap, TQSqlQuery,
+ TQSqlRecord, TQSqlRecordInfo, TQSqlResult, TQStyleFactory, TQStyleOption,
+ TQTabletEvent, TQTextEdit, TQTimeEdit and TQWindowsMime TQt3 classes.
- Added the missing qInitNetworkProtocols() function to the qtnetwork module.
- - Removed the QTableHeader class and QTabWidget.selected() as they are not
+ - Removed the TQTableHeader class and TQTabWidget.selected() as they are not
part of the documented API.
- - Removed the /Transfer/ flag on the QWidget parameters of
- QBoxLayout.addWidget(), QBoxLayout.insertWidget(),
- QGridLayout.addMultiCellWidget(), QGridLayout.addWidget() and
- QLayout.add().
- - QObject.className() now works with Python classes that sub-class from
- QObject derived classes.
+ - Removed the /Transfer/ flag on the TQWidget parameters of
+ TQBoxLayout.addWidget(), TQBoxLayout.insertWidget(),
+ TQGridLayout.addMultiCellWidget(), TQGridLayout.addWidget() and
+ TQLayout.add().
+ - TQObject.className() now works with Python classes that sub-class from
+ TQObject derived classes.
- pyuic now generates double quoted strings rather than single quoted strings
- (to help Qt Linguist).
+ (to help TQt Linguist).
- Moved the Canvas module classes to the new qtcanvas module.
- Moved the Network module classes to the new qtnetwork module.
- Moved the Table module classes to the new qttable module.
- Moved the XML module classes to the new qtxml module.
- - configure now handles Qt-mt.
+ - configure now handles TQt-mt.
- Upgraded to autoconf-2.52, automake-1.5 and libtool-1.4.1.
v2.5 11th August 2001
Minor configuration changes. Added the missing variants of
- QPixmap.save(), QWidget.reparent() and QInputDialog.getText(). Added
+ TQPixmap.save(), TQWidget.reparent() and TQInputDialog.getText(). Added
the qtgl module and the gears.py example script (thanks to Toby J
- Sargeant). QObject.sender() will now return an appropriate value.
- Fixed QTextView.setText() and QScrollView.addChild(). Fixed the
+ Sargeant). TQObject.sender() will now return an appropriate value.
+ Fixed TQTextView.setText() and TQScrollView.addChild(). Fixed the
problems with overloads with different C++ signatures but similar
- Python signatures - QCString.setNum(), QLabel.setNum(),
- QLCDNumber.checkOverflow(), QString.arg(), QString.number(),
- QString.setNum(), QVariant() and QWMatrix.map(). Added the missing
- QTranslator methods. Added the QTranslatorMessage class. configure
- will now look for Qt v2.3.1. QInterlaceStyle is enabled only for Qt
+ Python signatures - TQCString.setNum(), TQLabel.setNum(),
+ TQLCDNumber.checkOverflow(), TQString.arg(), TQString.number(),
+ TQString.setNum(), TQVariant() and TQWMatrix.map(). Added the missing
+ TQTranslator methods. Added the TQTranslatorMessage class. configure
+ will now look for TQt v2.3.1. TQInterlaceStyle is enabled only for TQt
v2.3.1+ as it is broken in 2.3.0 on Windows. Fixed problems with
- QLineEdit.event() and QMultiLineEdit.event(). Added post-hooks to
- complement the existing pre-hooks. Added the Pizza example from the Qt
+ TQLineEdit.event() and TQMultiLineEdit.event(). Added post-hooks to
+ complement the existing pre-hooks. Added the Pizza example from the TQt
Designer manual. Removed the Version keyword for the latest SIP.
Fixed the memory leaks related to sipMapCppToSelf() in handwritten
- code. Changed the build system to handle different versions of PyQt
- for different versions of Qt. NULL QCanvasItemList, QFileInfoList,
- QObjectList, QStrList and QWidgetList pointers are now converted to an
- empty Python list rather than None. Added QDataStream and the QDom
+ code. Changed the build system to handle different versions of PyTQt
+ for different versions of TQt. NULL TQCanvasItemList, TQFileInfoList,
+ TQObjectList, TQStrList and TQWidgetList pointers are now converted to an
+ empty Python list rather than None. Added TQDataStream and the TQDom
classes (thanks to Jim Bublitz). Added the qt_xdisplay(), qt_xscreen()
- and qt_xrootwin() functions. Added the QColor.getHsv(),
- QPaintDevice.x11Display(), QPaintDevice.x11AppDisplay(),
- QPaintDevice.x11SetAppDpiX(), QPaintDevice.x11SetAppDpiY() and
- QWidget.customEvent() methods.
+ and qt_xrootwin() functions. Added the TQColor.getHsv(),
+ TQPaintDevice.x11Display(), TQPaintDevice.x11AppDisplay(),
+ TQPaintDevice.x11SetAppDpiX(), TQPaintDevice.x11SetAppDpiY() and
+ TQWidget.customEvent() methods.
v2.4 22nd April 2001
- Added the missing QFileDialog.getExistingDirectory(),
- QLineEdit.setReadOnly(), QLineEdit.readOnly(),
- QMotifStyle.comboButtonFocusRect(), QMotifStyle.comboButtonRect() and
- QMotifStyle.drawComboButton() methods. Added the missing
- QFileDialog.DirectoryOnly and QPalette.Inactive enum values. Updated
+ Added the missing TQFileDialog.getExistingDirectory(),
+ TQLineEdit.setReadOnly(), TQLineEdit.readOnly(),
+ TQMotifStyle.comboButtonFocusRect(), TQMotifStyle.comboButtonRect() and
+ TQMotifStyle.drawComboButton() methods. Added the missing
+ TQFileDialog.DirectoryOnly and TQPalette.Inactive enum values. Updated
the themes.py example. configure now uses the python executable to get
- the various Python locations. Added support of Qt v2.3.0, ie.
- QApplication.type(), QFontDatabase.isFixedPitch(),
- QScrollView.AutoOneFit, QToolBar.styleChange() and QInterlaceStyle.
- Added the missing final argument to QMultiLineEdit.insertAt(). Added
- the QCustomEvent class. Upgraded to automake v1.4d and libtool v1.3d.
+ the various Python locations. Added support of TQt v2.3.0, ie.
+ TQApplication.type(), TQFontDatabase.isFixedPitch(),
+ TQScrollView.AutoOneFit, TQToolBar.styleChange() and TQInterlaceStyle.
+ Added the missing final argument to TQMultiLineEdit.insertAt(). Added
+ the TQCustomEvent class. Upgraded to automake v1.4d and libtool v1.3d.
v2.3 4th February 2001
- Added the missing QMessage.setTextFormat(), QMessage.textFormat(),
- QPushButton.isFlat(), QPushButton.setFlat() and QMenuData.insertItem()
- methods. Added the QCustomMenuItem class. pyuic assumes that custom
+ Added the missing TQMessage.setTextFormat(), TQMessage.textFormat(),
+ TQPushButton.isFlat(), TQPushButton.setFlat() and TQMenuData.insertItem()
+ methods. Added the TQCustomMenuItem class. pyuic assumes that custom
widgets are in another module and generates code to import them. Other
- pyuic bug fixes and changes to keep track with Qt v2.2.4. eric bug
+ pyuic bug fixes and changes to keep track with TQt v2.2.4. eric bug
fixes. Added the addressbook.py, buttongroups.py and menu.py examples.
- Updated all the tutorial scripts to match those in Qt v2.x. Removed
- the Qt v1.x specific examples. Removed the deprecated behaviour of
- repr() for QString, QCString and QByteArray. The Python objects that
- correspond to C++ instances that are "owned" by Qt are now kept alive
+ Updated all the tutorial scripts to match those in TQt v2.x. Removed
+ the TQt v1.x specific examples. Removed the deprecated behaviour of
+ repr() for TQString, TQCString and TQByteArray. The Python objects that
+ correspond to C++ instances that are "owned" by TQt are now kept alive
without the Python program having to keep an explicit reference.
configure now looks for Python 2.1.
v2.2 6th November 2000
Added the %Copying directive. Added the missing %HeaderCode in
- qsizepolicy.sip. Added classes QServerSocket, QSocket and
- QHostAddress. Added hooks to the QApplication ctors to tell the
- debugger when it is safe to create QSocketNotifiers (with UNIX you can
- create QSocketNotifiers before you create the QApplication, with
+ qsizepolicy.sip. Added classes TQServerSocket, TQSocket and
+ TQHostAddress. Added hooks to the TQApplication ctors to tell the
+ debugger when it is safe to create TQSocketNotifiers (with UNIX you can
+ create TQSocketNotifiers before you create the TQApplication, with
Windows you can't). Other fixes to eric to get it working with
- Windows. Implemented __str__ of QByteArray, QCString and QString to
+ Windows. Implemented __str__ of TQByteArray, TQCString and TQString to
return an empty string for null instances. Changed __repr__ of the
same classes to return a descriptive string for null instances. Added
- the missing QPalette.setInactive(). Colour related fixes to pyuic
+ the missing TQPalette.setInactive(). Colour related fixes to pyuic
(thanks to Robert Roy). Added the documentation section on Python
- strings, Qt strings and Unicode.
+ strings, TQt strings and Unicode.
v2.1 18th October 2000
- Added support for Qt v2.2.1. Added the widgets.py example. Added the
- eric debugger. Added the missing QCanvasPixmapArray ctor. Added the
- missing QMenuData.setItemParameter(), QMenuData.itemParameter(),
- QMenuData.activateItemAt(), QWidget.isHidden(), QWidget.isMaximized(),
- QMultiLineEdit.getCursorPosition() and QButton.keyReleaseEvent(). Add
- the len, [] and in operators to QStringList. Various other bug fixes
+ Added support for TQt v2.2.1. Added the widgets.py example. Added the
+ eric debugger. Added the missing TQCanvasPixmapArray ctor. Added the
+ missing TQMenuData.setItemParameter(), TQMenuData.itemParameter(),
+ TQMenuData.activateItemAt(), TQWidget.isHidden(), TQWidget.isMaximized(),
+ TQMultiLineEdit.getCursorPosition() and TQButton.keyReleaseEvent(). Add
+ the len, [] and in operators to TQStringList. Various other bug fixes
(see ChangeLog).
v2.0 14th September 2000
*NOTE* The implementation of enums has changed meaning that your
- scripts will be need to be changed. Also repr() of a QString will
+ scripts will be need to be changed. Also repr() of a TQString will
return a unicode object (rather than a string) with versions of Python
that support Unicode.
- Added /Transfer/ to QObject.insertChild(). Added /TransferBack/ to
- QObject.removeChild() and QTabBar.removeTab(). Changes needed by the
- latest SIP. Fixed QFontInfo.family() for Qt v2.x (thanks to Joerg
- Kollmann). Added /Transfer/ etc. to several places in QScrollView,
- QObject, QHeader, QListView and QListViewItem (thanks to Pete Ware).
- Updated everything for Qt v2.2.0. Added pyuic. Updated the examples
+ Added /Transfer/ to TQObject.insertChild(). Added /TransferBack/ to
+ TQObject.removeChild() and TQTabBar.removeTab(). Changes needed by the
+ latest SIP. Fixed TQFontInfo.family() for TQt v2.x (thanks to Joerg
+ Kollmann). Added /Transfer/ etc. to several places in TQScrollView,
+ TQObject, TQHeader, TQListView and TQListViewItem (thanks to Pete Ware).
+ Updated everything for TQt v2.2.0. Added pyuic. Updated the examples
to handle to new form of enums. Added full support for Windows.
Install in site-packages if it exists. Changes to handwritten code to
- support Python 1.6. Integrate QString with Python's Unicode support.
+ support Python 1.6. Integrate TQString with Python's Unicode support.
v0.12 18th May 2000
- The versions of the examples specific to Qt v1.x now get installed in
- RPMs. Added QListBoxItem.selected(), QStringList.append() and
- QStringList.prepend(). Added /Transfer/ to QApplication.setStyle(),
- QLayout.addItem(), QBoxLayout.addItem() and QGridLayout.addItem().
+ The versions of the examples specific to TQt v1.x now get installed in
+ RPMs. Added TQListBoxItem.selected(), TQStringList.append() and
+ TQStringList.prepend(). Added /Transfer/ to TQApplication.setStyle(),
+ TQLayout.addItem(), TQBoxLayout.addItem() and TQGridLayout.addItem().
Added themes.py to the examples. Clarified the software license.
Changes needed by the latest SIP.
v0.11.1 1st April 2000
- Fixed the documentation for QPixmap::fill(). Code now compiles with
+ Fixed the documentation for TQPixmap::fill(). Code now compiles with
gcc v2.95.2.
v0.11 28th March 2000
- Added Qt v2.x classes QCDEStyle, QChar, QColorDialog, QCommonStyle,
- QCString, QFontDialog, QGLayoutIterator, QGrid, QHBox, QHButtonGroup,
- QHGroupBox, QLayoutItem, QLayoutIterator, QMimeSource,
- QMimeSourceFactory, QMotifStyle, QPlatinumStyle, QSessionManager,
- QSimpleRichText, QSizeGrip, QSizePolicy, QSpacerItem, QStringList,
- QStyle, QStyleSheet, QStyleSheetItem, Qt, QTabWidget, QTextBrowser,
- QTextCodec, QTextDecoder, QTextEncoder, QTextIStream, QTextOStream,
- QTextStream, QTextView, QTranslator, QUriDrag, QVBox, QVButtonGroup,
- QVGroupBox, QWheelEvent, QWidgetItem, QWindowsStyle and QWizard. Many
- other smaller changes for Qt v2.x. Added TransferThis where needed.
+ Added TQt v2.x classes TQCDEStyle, TQChar, TQColorDialog, TQCommonStyle,
+ TQCString, TQFontDialog, TQGLayoutIterator, TQGrid, TQHBox, TQHButtonGroup,
+ TQHGroupBox, TQLayoutItem, TQLayoutIterator, TQMimeSource,
+ TQMimeSourceFactory, TQMotifStyle, TQPlatinumStyle, TQSessionManager,
+ TQSimpleRichText, TQSizeGrip, TQSizePolicy, TQSpacerItem, TQStringList,
+ TQStyle, TQStyleSheet, TQStyleSheetItem, TQt, TQTabWidget, TQTextBrowser,
+ TQTextCodec, TQTextDecoder, TQTextEncoder, TQTextIStream, TQTextOStream,
+ TQTextStream, TQTextView, TQTranslator, TQUriDrag, TQVBox, TQVButtonGroup,
+ TQVGroupBox, TQWheelEvent, TQWidgetItem, TQWindowsStyle and TQWizard. Many
+ other smaller changes for TQt v2.x. Added TransferThis where needed.
v0.10.1 21st January 2000
- Fixed a bug in the repr() functions for QString and QByteArray by
+ Fixed a bug in the repr() functions for TQString and TQByteArray by
generating the code using the latest SIP.
v0.10 19th December 1999
The .pyc files are now created by the installation process. Added
- qAppName(), QCursor.handle(), QFont.handle(), QPaintDevice.handle(),
- QPainter.handle(). Added most of the typedefs. Changed
+ qAppName(), TQCursor.handle(), TQFont.handle(), TQPaintDevice.handle(),
+ TQPainter.handle(). Added most of the typedefs. Changed
examples/application.py so as not to use the obsolete (and
- unimplemented) QMessageBox.message(). Fixed bug in QPixmap ctor.
+ unimplemented) TQMessageBox.message(). Fixed bug in TQPixmap ctor.
Changed the format of version qualifiers for the latest SIP. Various
- small changes to port to Windows. Added ReleaseLock to QDialog.exec().
- Fixed a bug in QRect.coords(). Changed QString and QByteArray from
+ small changes to port to Windows. Added ReleaseLock to TQDialog.exec().
+ Fixed a bug in TQRect.coords(). Changed TQString and TQByteArray from
being mapped classes to being regular classes. Changed
examples/application.py, examples/dclock.py and examples/dirview.py to
- explicitly convert from QString where needed.
+ explicitly convert from TQString where needed.
v0.9 6th September 1999
- Separated the Qt and KDE bindings. These are the Qt bindings. Various
+ Separated the TQt and KDE bindings. These are the TQt bindings. Various
changes needed by the latest SIP. Re-introduced SLOT(). Changed the
- examples to use SLOT() where possible. Added QObject.disconnect(),
- QAccel.disconnectItem(), QMenuData.disconnectItem(),
- QMovie.disconnectResize(), QMovie.disconnectStatus(),
- QMovie.disconnectUpdate() and QApplication.clipboard(). Added the
- QClipboard and QSocketNotifier classes. QEvent is automatically
- converted to the correct sub-class. The Qt event loop now cooperates
- with Python threads. Tested with Qt v1.44, Python v1.5.2, egcs v1.1.2
+ examples to use SLOT() where possible. Added TQObject.disconnect(),
+ TQAccel.disconnectItem(), TQMenuData.disconnectItem(),
+ TQMovie.disconnectResize(), TQMovie.disconnectStatus(),
+ TQMovie.disconnectUpdate() and TQApplication.clipboard(). Added the
+ TQClipboard and TQSocketNotifier classes. TQEvent is automatically
+ converted to the correct sub-class. The TQt event loop now cooperates
+ with Python threads. Tested with TQt v1.44, Python v1.5.2, egcs v1.1.2
and glibc v2.1.
v0.8 29th May 1999
- Hopefully fixed the SuSE configuration problems. Fixed the QPointArray
- ctor and QPointArray.setPoints() that took a list of points. Removed
+ Hopefully fixed the SuSE configuration problems. Fixed the TQPointArray
+ ctor and TQPointArray.setPoints() that took a list of points. Removed
the section in the documentation referring to the inability to handle
C++ references. Added lots of const keywords to suppress new warning
messages from the compiler. Changed the handwritten code for mapped
classes to follow the new NULL/None conventions, and for the
introduction of sipParseArgs(). Added Drag-and-Drop support to kmyapp.
- Added Matt Gerassimoff's Qt examples. Added the QCursor global
- cursors. Added QPainter.boundingRect(), KApplication.addDropZone(),
+ Added Matt Gerassimoff's TQt examples. Added the TQCursor global
+ cursors. Added TQPainter.boundingRect(), KApplication.addDropZone(),
KApplication.removeDropZone, KApplication.setRootDropZone(). Added
- QDragEnterEvent, QDragLeaveEvent, QDragMoveEvent, QDragObject,
- QDragResponseEvent, QDropEvent, QDropSite, QHideEvent, QImageDrag,
- QPaintDeviceMetrics, QShowEvent, QStoredDrag, QTextDrag, QTimer,
- QUrlDrag, QWindow, KDNDDropZone, KDNDIcon, KDNDWidget, KPath, KSpell,
- KSpellConfig, KSpellDlg, KTreeList, KTreeListItem. Tested with Qt
+ TQDragEnterEvent, TQDragLeaveEvent, TQDragMoveEvent, TQDragObject,
+ TQDragResponseEvent, TQDropEvent, TQDropSite, TQHideEvent, TQImageDrag,
+ TQPaintDeviceMetrics, TQShowEvent, TQStoredDrag, TQTextDrag, TQTimer,
+ TQUrlDrag, TQWindow, KDNDDropZone, KDNDIcon, KDNDWidget, KPath, KSpell,
+ KSpellConfig, KSpellDlg, KTreeList, KTreeListItem. Tested with TQt
v1.44, KDE v1.1.1, Python v1.5.2, egcs v1.1.2 and glibc v2.1.1.
v0.7.1 3rd May 1999
Fixed the detection of -fno-exceptions support. Added the necessary
- Py_DECREF(sipArgs) to all handwritten code. Tested with Qt v1.44, KDE
+ Py_DECREF(sipArgs) to all handwritten code. Tested with TQt v1.44, KDE
v1.1.1, Python v1.5.2, egcs v1.1.2 and glibc v2.1.
v0.7 16th April 1999
Build with -fno-exceptions if supported. Converted the documentation
- to SGML. Replaced QT_VERSION and KDE_VERSION with the proper Qt and
- KDE version constants. Fixed a bad bug converting from QStrings to
+ to SGML. Replaced QT_VERSION and KDE_VERSION with the proper TQt and
+ KDE version constants. Fixed a bad bug converting from TQStrings to
Python strings. The "connect" convenience function has been removed.
Added the class variables for all supported classes. Removed SLOT()
- from all examples. Renamed some static functions in QDate, QTime and
- QFile (needed because of the new implementation of static member
+ from all examples. Renamed some static functions in TQDate, TQTime and
+ TQFile (needed because of the new implementation of static member
functions). Added the ordinary functions related to supported classes.
- Added QListView, QListViewItem, QCheckListItem, KButton, KButtonBox,
+ Added TQListView, TQListViewItem, TQCheckListItem, KButton, KButtonBox,
KContainerLayout, KContainerLayoutItem, KControlApplication,
KControlDialog, KConfigWidget, KDatePicker, KDateTable, KDialog,
KDirectionButton, KGradientSelector, KIntegerLine, KLed, KLedLamp,
KListSpinBox, KNewPanner, KNumericSpinBox, KPanner, KPopupMenu,
KQuickHelp, KQuickHelpWindow, KRestrictedLine, KRuler, KSelector,
KSeparator, KSlider, KSpinBox, KTabBar, KTabButton, KTabCtl,
- KToolBoxManager, KWizard, KWizardPage, KXYSelector. Tested with Qt
+ KToolBoxManager, KWizard, KWizardPage, KXYSelector. Tested with TQt
v1.44, KDE v1.1, Python v1.5.2, egcs v1.1.2 and glibc v2.1.
v0.6 20th February 1999
Removed some handwritten code now that SIP automatically handles mapped
- classes and slots. Changed QString to be mapped to/from Python
+ classes and slots. Changed TQString to be mapped to/from Python
strings. Added the static member functions for all supported classes.
- Added new member functions for KDE v1.1. Added QBoxLayout,
- QButtonGroup, QChain, QCheckBox, QChildEvent, QDate, QDateTime,
- QDialog, QDir, QFileDialog, QFileIconProvider, QFileInfo,
- QFileInfoList, QGManager, QGroupBox, QGridLayout, QHBoxLayout, QHeader,
- QIconSet, QLayout, QMainWindow, QMessageBox, QMovie, QMultiLineEdit,
- QObjectList, QPrintDialog, QPrinter, QProgressBar, QProgressDialog,
- QRadioButton, QScrollView, QSemiModal, QSpinBox, QSplitter, QStatusBar,
- QTab, QTabBar, QTabDialog, QTime, QToolBar, QToolButton, QToolTip,
- QToolTipGroup, QVBoxLayout, QWhatsThis, QWidgetList, QWidgetStack.
+ Added new member functions for KDE v1.1. Added TQBoxLayout,
+ TQButtonGroup, TQChain, TQCheckBox, TQChildEvent, TQDate, TQDateTime,
+ TQDialog, TQDir, TQFileDialog, TQFileIconProvider, TQFileInfo,
+ TQFileInfoList, TQGManager, TQGroupBox, TQGridLayout, TQHBoxLayout, TQHeader,
+ TQIconSet, TQLayout, TQMainWindow, TQMessageBox, TQMovie, TQMultiLineEdit,
+ TQObjectList, TQPrintDialog, TQPrinter, TQProgressBar, TQProgressDialog,
+ TQRadioButton, TQScrollView, TQSemiModal, TQSpinBox, TQSplitter, TQStatusBar,
+ TQTab, TQTabBar, TQTabDialog, TQTime, TQToolBar, TQToolButton, TQToolTip,
+ TQToolTipGroup, TQVBoxLayout, TQWhatsThis, TQWidgetList, TQWidgetStack.
Added DlgLocation, KColorButton, KColorCombo, KColorDialog,
KColorGroup, KDirDialog, KDirEntry, KEdit, KFM, KFileBaseDialog,
KFileBookmark, KFileDialog, KFileInfo, KFileInfoContents,
KFileInfoList, KFontDialog, KHTMLView, KIconLoaderButton,
KIconLoaderDialog, KMsgBox, KPixmap, KProgress, KRadioGroup,
- KSimpleConfig, KURL. Tested with Qt v1.42, KDE v1.1, egcs v1.1.1 and
+ KSimpleConfig, KURL. Tested with TQt v1.42, KDE v1.1, egcs v1.1.1 and
glibc v2.1.
v0.5 21st January 1999
The bindings are now packaged with autoconf configure scripts. The
- enum in QFrame is now unnamed as it is in Qt. All the examples changed
+ enum in TQFrame is now unnamed as it is in TQt. All the examples changed
to use the new form of enums. Added support for qApp, the global
- QColors, kapp, i18n(), Icon() and ICON(). Same test environment as
+ TQColors, kapp, i18n(), Icon() and ICON(). Same test environment as
v0.4.
v0.4 9th January 1999
- Enough Qt and KDE classes to implement the 14 Qt tutorials and KMyApp,
+ Enough TQt and KDE classes to implement the 14 TQt tutorials and KMyApp,
but still not that many that implement user interface widgets. Tested
- with Qt v1.42, KDE v1.0 and gcc v2.8.1.
+ with TQt v1.42, KDE v1.0 and gcc v2.8.1.
v0.3 9th December 1998
- Many more Qt classes, but still not many that implement user interface
+ Many more TQt classes, but still not many that implement user interface
widgets. Those classes that are implemented are almost all fully
- implemented. Tested with Qt v1.42.
+ implemented. Tested with TQt v1.42.
v0.2 5th December 1999
Added the definitions of protected and virtual member functions.
v0.1 1st November 1998
First release (with a very small set of classes implemented) to give
- people a flavour. Tested with Qt v1.41.
+ people a flavour. Tested with TQt v1.41.
diff --git a/README b/README
index 1af7d9f..6bef4cd 100644
--- a/README
+++ b/README
@@ -1,9 +1,9 @@
- PyQt - Python Bindings for the Qt Toolkit
+ PyTQt - Python Bindings for the TQt Toolkit
INTRODUCTION
-These are the Python bindings for Qt. You must also have the SIP Python
+These are the Python bindings for TQt. You must also have the SIP Python
bindings generator installed.
The homepage is http://www.riverbankcomputing.co.uk/pyqt/.
@@ -13,9 +13,9 @@ The homepage of SIP is http://www.riverbankcomputing.co.uk/sip/.
COMMERCIAL VERSION
-If you have the Commercial version of PyQt then you should also have a
+If you have the Commercial version of PyTQt then you should also have a
license file that you downloaded separately. The license file must be copied
-to the "sip" directory before starting to build PyQt.
+to the "sip" directory before starting to build PyTQt.
INSTALLATION
@@ -24,7 +24,7 @@ Check for any other README files in this directory that relate to your
particular platform. Feel free to contribute a README for your platform or to
provide updates to any existing documentation.
-The first step is to configure PyQt by running the following command.
+The first step is to configure PyTQt by running the following command.
python configure.py
@@ -39,21 +39,21 @@ interpreter for which you wish to generate bindings for.
The configure.py script takes many options. Use the "-h" command line option
to display a full list of the available options.
-The next step is to build PyQt using your platform's make command.
+The next step is to build PyTQt using your platform's make command.
make
-The final step is to install PyQt by running the following command. (Depending
-on your system you may require root or administrator privileges.)
+The final step is to install PyTQt by running the following command. (Depending
+on your system you may retquire root or administrator privileges.)
make install
THE REST OF THE DISTRIBUTION
-The "examples2" and "examples3" directories contain some examples (for Qt v2.x
-and Qt v3.x respectively) of Python scripts, including versions of the standard
-Qt tutorials and examples.
+The "examples2" and "examples3" directories contain some examples (for TQt v2.x
+and TQt v3.x respectively) of Python scripts, including versions of the standard
+TQt tutorials and examples.
The "doc" directory contains SGML and HTML documentation for the bindings.
This documentation includes a section describing the differences visible to
diff --git a/README.AIX b/README.AIX
index d7db29b..693ca2b 100644
--- a/README.AIX
+++ b/README.AIX
@@ -1,16 +1,16 @@
-This file describes some things to be aware of when building SIP (and PyQt)
+This file describes some things to be aware of when building SIP (and PyTQt)
under AIX.
-I had success building SIP V3/V4 (and PyQt) on AIX 4.3.3 and on AIX 5.1 with
+I had success building SIP V3/V4 (and PyTQt) on AIX 4.3.3 and on AIX 5.1 with
VisualAge C++ and with gcc.
VisualAge C++ was version 6.0 but it should also work with version 5.x.
The GNU compiler was version 3.3.2 downloaded as a binary from
http://aixpdslib.seas.ucla.edu/aixpdslib.html
-The Qt-Version was 3.2.3 but it should also work with previous versions.
+The TQt-Version was 3.2.3 but it should also work with previous versions.
-If you are using Python version 2.3.3 or higher, SIP (and PyQt) should build
+If you are using Python version 2.3.3 or higher, SIP (and PyTQt) should build
out of the box without any changes.
If you are using a Python version before 2.3.3, you have to patch Python,
@@ -57,11 +57,11 @@ diff -uNr Python-2.3.2.orig/configure Python-2.3.2/configure
Darwin/*) DYNLOADFILE="dynload_next.o";;
---8<-------------------------------------------------------------------->8---
-Note: I did not mix the compilers when building Qt, Python, SIP and PyQt. At
-least Qt, SIP and PyQt must be built with the same compiler because of
+Note: I did not mix the compilers when building TQt, Python, SIP and PyTQt. At
+least TQt, SIP and PyTQt must be built with the same compiler because of
different name mangling schemes.
-If you have any problems or questions on building SIP or PyQt on AIX, either
+If you have any problems or questions on building SIP or PyTQt on AIX, either
send an email to ulrich.berning@desys.de or use the PyKDE mailing list.
Ulrich Berning
diff --git a/README.SunOS b/README.SunOS
index 5b176c8..139c964 100644
--- a/README.SunOS
+++ b/README.SunOS
@@ -13,29 +13,29 @@
types in overloaded method signatures and issues a compiler error.
In this case bool is declared in qt/include/qglobal.h as
'typedef int bool;'. To workaround this '#if 0' out the the declaration
- and body of 'proxySlot(bool)' in PyQt/qt/sipqtProxyqt.h and
- PyQt/qt/qtcmodule.cpp. This resolves the compiler error but breaks
+ and body of 'proxySlot(bool)' in PyTQt/qt/sipqtProxyqt.h and
+ PyTQt/qt/qtcmodule.cpp. This resolves the compiler error but breaks
any 'sig(bool)' type signals. To workaround this, save the
- PyQt/qt/sipqtProxyqt.moc generated after fixing the compiler error and
+ PyTQt/qt/sipqtProxyqt.moc generated after fixing the compiler error and
add the following bits of code:
...
- static const QUParameter param_slot_42[] = {
- { 0, &static_QUType_bool, 0, QUParameter::In }
+ static const TQUParameter param_slot_42[] = {
+ { 0, &static_QUType_bool, 0, TQUParameter::In }
};
- static const QUMethod slot_42 = {"proxySlot", 1, param_slot_42 };
- static const QMetaData slot_tbl[] = {
+ static const TQUMethod slot_42 = {"proxySlot", 1, param_slot_42 };
+ static const TQMetaData slot_tbl[] = {
...
- { "proxySlot(bool)", &slot_42, QMetaData::Public }
+ { "proxySlot(bool)", &slot_42, TQMetaData::Public }
};
- metaObj = QMetaObject::new_metaobject(
+ metaObj = TQMetaObject::new_metaobject(
"sipProxyqt", parentObject,
slot_tbl, 43,
...
case 42: proxySlot(static_QUType_bool.get(_o+1)); break;
- You will need to comment out the line in PyQt/qt/Makefile that re-generates
- PyQt/qt/sipqtProxyqt.moc with moc to avoid the above changes from being
+ You will need to comment out the line in PyTQt/qt/Makefile that re-generates
+ PyTQt/qt/sipqtProxyqt.moc with moc to avoid the above changes from being
overwritten.
In order to test that everything has been done correctly, create a
diff --git a/THANKS b/THANKS
index 7204f8a..9a1fc14 100644
--- a/THANKS
+++ b/THANKS
@@ -1,6 +1,6 @@
Torsten Marek
- For going through the Qt classes and adding applicable operators to
- PyQt.
+ For going through the TQt classes and adding applicable operators to
+ PyTQt.
Detlev Offenbach
For picking up and enhancing eric.
@@ -13,20 +13,20 @@ Dimitri Papadopoulos-Orfanos
For all the help with the MacOS X port.
Jim Bublitz
- For QDataStream and the QDom classes, and picking up PyKDE.
+ For TQDataStream and the TQDom classes, and picking up PyKDE.
Pete Ware
- For lots of patches for Qt v2.1+.
+ For lots of patches for TQt v2.1+.
Boudewijn Rempt
For evangelising and providing so much support to other users. Oh, and
writing a book about it all.
Toby J Sargeant
- For QSocketNotifier and getting Python threads working with Qt.
+ For TQSocketNotifier and getting Python threads working with TQt.
Matt Gerassimoff
- For his Python versions of many of the Qt example programs.
+ For his Python versions of many of the TQt example programs.
Matt Gerassimoff, John Filo, Boudewijn Rempt
For testing and excellent bug reports.
diff --git a/build.py b/build.py
index 11e4a0c..692fa50 100644
--- a/build.py
+++ b/build.py
@@ -1,23 +1,23 @@
# 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.
#
-# This is the build script for PyQt. It should be run in the top level
+# This is the build script for PyTQt. It should be run in the top level
# directory of the source distribution and by the Python interpreter for which
# it is being built. It uses either qmake or tmake to do the hard work of
# generating the platform specific Makefiles.
@@ -41,7 +41,7 @@ except:
print "SIP v3.9 or later installed."
sys.exit(1)
-config = sipconfig.SIPConfig("PyQt 3.18.1")
+config = sipconfig.SIPConfig("PyTQt 3.18.1")
# Initialise the globals.
@@ -74,13 +74,13 @@ def usage(rcode = 2):
print " -a tag explicitly enable the qtpe module"
print " -b dir where pyuic and pylupdate will be installed [default %s]" % config.default_bin_dir
print " -c concatenate each module's C++ source files"
- print " -d dir where the PyQt modules will be installed [default %s]" % config.default_mod_dir
+ print " -d dir where the PyTQt modules will be installed [default %s]" % config.default_mod_dir
print " -g always release the GIL (SIP v3.x behaviour)"
print " -j # split the concatenated C++ source files into # pieces [default 1]"
- print " -n dir the directory containing the QScintilla header files [default %s]" % config.qt_inc_dir
- print " -o dir the directory containing the QScintilla library [default %s]" % config.qt_lib_dir
+ print " -n dir the directory containing the TQScintilla header files [default %s]" % config.qt_inc_dir
+ print " -o dir the directory containing the TQScintilla library [default %s]" % config.qt_lib_dir
print " -r generate code with tracing enabled [default disabled]"
- print " -v dir where the PyQt .sip files will be installed [default %s]" % config.default_sip_dir
+ print " -v dir where the PyTQt .sip files will be installed [default %s]" % config.default_sip_dir
sys.exit(rcode)
@@ -117,7 +117,7 @@ SOURCES = qttest.cpp
LIBS += @TEST_QUI_LIB@ @TEST_QSCINTILLA_LIB@
""")
- # Disable OpenGL, qui and QScintilla support by default.
+ # Disable OpenGL, tqui and TQScintilla support by default.
config.patches["@TEST_OPENGL@"] = ""
config.patches["@TEST_QUI_LIB@"] = ""
config.patches["@TEST_QSCINTILLA_INC@"] = ""
@@ -137,11 +137,11 @@ LIBS += @TEST_QUI_LIB@ @TEST_QSCINTILLA_LIB@
def tryModule(maindir, mname, incfile, ctor):
- """See if a PyQt module should be built and update the buildModules list
+ """See if a PyTQt module should be built and update the buildModules list
accordingly.
maindir is the directory containing this script.
- mname is the name of the PyQt module.
+ mname is the name of the PyTQt module.
incfile is the C++ header file that defines the class being used for the
test.
ctor is the constructor of the class being used for the test.
@@ -170,10 +170,10 @@ int main(int argc,char **argv)
sipconfig.run_make("clean")
-def checkQScintilla():
- """See if QScintilla can be found and what its version is.
+def checkTQScintilla():
+ """See if TQScintilla can be found and what its version is.
"""
- # Find the QScintilla header files.
+ # Find the TQScintilla header files.
sciglobal = os.path.join(sciIncDir, "qextscintillaglobal.h")
if os.access(sciglobal,os.F_OK):
@@ -181,26 +181,26 @@ def checkQScintilla():
sipconfig.inform("%s contains qextscintillaglobal.h." % (sciIncDir))
- # Get the QScintilla version number.
+ # Get the TQScintilla version number.
global sciVersion
- sciVersion, sciversstr = sipconfig.read_version(sciglobal, "QScintilla", "QSCINTILLA_VERSION", "QSCINTILLA_VERSION_STR")
+ sciVersion, sciversstr = sipconfig.read_version(sciglobal, "TQScintilla", "TQSCINTILLA_VERSION", "TQSCINTILLA_VERSION_STR")
- sipconfig.inform("QScintilla %s is being used." % (sciversstr))
+ sipconfig.inform("TQScintilla %s is being used." % (sciversstr))
# If we find a snapshot then set the version number to 0 as a special
# case.
if sciversstr[:8] == "snapshot":
sciVersion = 0
- # Find the QScintilla library.
+ # Find the TQScintilla library.
if sys.platform == "win32":
lpatt = "qscintilla.lib"
else:
lpatt = "libqscintilla.*"
if len(glob.glob(os.path.join(sciLibDir, lpatt))):
- sipconfig.inform("%s contains the QScintilla library." % sciLibDir)
+ sipconfig.inform("%s contains the TQScintilla library." % sciLibDir)
global sciLib
@@ -211,57 +211,57 @@ def checkQScintilla():
config.patches["@PYQT_QSCINTILLA_LIB@"] = sciLib
else:
- sipconfig.inform("The QScintilla library could not be found in %s and so the qtext module will not be built. If QScintilla is installed then use the -o argument to explicitly specify the correct directory." % (sciLibDir))
+ sipconfig.inform("The TQScintilla library could not be found in %s and so the qtext module will not be built. If TQScintilla is installed then use the -o argument to explicitly specify the correct directory." % (sciLibDir))
sciVersion = -1
else:
- sipconfig.inform("qextscintillaglobal.h could not be found in %s and so the qtext module will not be built. If QScintilla is installed then use the -n argument to explicitly specify the correct directory." % sciIncDir)
+ sipconfig.inform("qextscintillaglobal.h could not be found in %s and so the qtext module will not be built. If TQScintilla is installed then use the -n argument to explicitly specify the correct directory." % sciIncDir)
sciVersion = -1
def moduleChecks(maindir):
- """See which PyQt modules to build.
+ """See which PyTQt modules to build.
"""
- sipconfig.inform("Checking which additional PyQt modules to build.");
+ sipconfig.inform("Checking which additional PyTQt modules to build.");
- tryModule(maindir,"qtcanvas", "qcanvas.h", "QCanvas()")
- tryModule(maindir,"qtnetwork", "qsocket.h", "QSocket()")
- tryModule(maindir,"qttable", "qtable.h", "QTable()")
- tryModule(maindir,"qtxml", "qdom.h", "QDomImplementation()")
+ tryModule(maindir,"qtcanvas", "qcanvas.h", "TQCanvas()")
+ tryModule(maindir,"qtnetwork", "qsocket.h", "TQSocket()")
+ tryModule(maindir,"qttable", "qtable.h", "TQTable()")
+ tryModule(maindir,"qtxml", "qdom.h", "TQDomImplementation()")
if config.qt_version >= 0x030000:
- tryModule(maindir,"qtsql", "qsql.h", "QSql()")
+ tryModule(maindir,"qtsql", "qsql.h", "TQSql()")
# We need a different Makefile for the qtgl module.
config.patches["@TEST_OPENGL@"] = "opengl"
config.create_makefile("qttest.pro")
- tryModule(maindir,"qtgl", "qgl.h", "QGLWidget()")
+ tryModule(maindir,"qtgl", "qgl.h", "TQGLWidget()")
# Put things back.
config.patches["@TEST_OPENGL@"] = ""
config.create_makefile("qttest.pro")
- # Check for the qui library.
+ # Check for the tqui library.
if config.qt_version >= 0x030000:
if sys.platform == "win32":
- quilib = r"$(QTDIR)\lib\qui.lib"
+ tquilib = r"$(QTDIR)\lib\tqui.lib"
else:
- quilib = "-lqui"
+ tquilib = "-ltqui"
- config.patches["@PYQT_QUI_LIB@"] = quilib
+ config.patches["@PYQT_QUI_LIB@"] = tquilib
- config.patches["@TEST_QUI_LIB@"] = quilib
+ config.patches["@TEST_QUI_LIB@"] = tquilib
config.create_makefile("qttest.pro")
- tryModule(maindir,"qtui", "qwidgetfactory.h", "QWidgetFactory()")
+ tryModule(maindir,"qtui", "qwidgetfactory.h", "TQWidgetFactory()")
# Put things back.
config.patches["@TEST_QUI_LIB@"] = ""
config.create_makefile("qttest.pro")
- # Check for the QScintilla library.
+ # Check for the TQScintilla library.
if sciVersion >= 0:
config.patches["@TEST_QSCINTILLA_INC@"] = sciIncDir
config.patches["@TEST_QSCINTILLA_LIB@"] = sciLib
@@ -276,7 +276,7 @@ def moduleChecks(maindir):
def generateFeatures(featfile):
- """Generate the header file describing the Qt features that are enabled if
+ """Generate the header file describing the TQt features that are enabled if
it doesn't already exist. (If it already exists then we are probably cross
compiling and generated the file through other means.)
@@ -288,8 +288,8 @@ def generateFeatures(featfile):
sipconfig.inform("Generating the features file.")
- # The features that a given Qt configuration may or may not support. Note
- # that STYLE_WINDOWSXP requires special handling.
+ # The features that a given TQt configuration may or may not support. Note
+ # that STYLE_WINDOWSXP retquires special handling.
flist = ["ACTION", "CLIPBOARD", "CODECS", "COLORDIALOG", "DATASTREAM",
"DIAL", "DNS", "DOM", "DRAGANDDROP", "ICONVIEW", "IMAGE_TEXT",
"INPUTDIALOG", "FILEDIALOG", "FONTDATABASE", "FONTDIALOG",
@@ -315,7 +315,7 @@ def generateFeatures(featfile):
int main(int argc,char **argv)
{
FILE *fp;
- QApplication app(argc,argv,0);
+ TQApplication app(argc,argv,0);
if ((fp = fopen("%s","w")) == NULL)
{
@@ -324,12 +324,12 @@ int main(int argc,char **argv)
}
#if !defined(QT_THREAD_SUPPORT)
- fprintf(fp,"-x Qt_THREAD_SUPPORT\\n");
+ fprintf(fp,"-x TQt_THREAD_SUPPORT\\n");
#endif
#if (defined(Q_OS_WIN32) || defined(Q_OS_WIN64)) && QT_VERSION >= 0x030000
- if (qWinVersion() != Qt::WV_XP)
- fprintf(fp,"-x Qt_STYLE_WINDOWSXP\\n");
+ if (qWinVersion() != TQt::WV_XP)
+ fprintf(fp,"-x TQt_STYLE_WINDOWSXP\\n");
#endif
""" % (ffstr, ffstr))
@@ -337,7 +337,7 @@ int main(int argc,char **argv)
f.write(
"""
#if defined(QT_NO_%s)
- fprintf(fp,"-x Qt_%s\\n");
+ fprintf(fp,"-x TQt_%s\\n");
#endif
""" % (feat, feat))
@@ -359,11 +359,11 @@ int main(int argc,char **argv)
def generateSource(mname, plattag, qttag, xtrtag):
- """Generate the C++ source code for a particular PyQt module.
+ """Generate the C++ source code for a particular PyTQt module.
mname is the name of the module.
plattag is the SIP tag for the platform.
- qttag is the SIP tag for the Qt version.
+ qttag is the SIP tag for the TQt version.
xtrtag is an optional extra SIP tag.
"""
sipconfig.inform("Generating the C++ source for the %s module." % mname)
@@ -521,22 +521,22 @@ def main(argv):
else:
sipconfig.error("Please copy the license file %s to the sip directory.\n" % config.license_file)
- # Check the Qt version.
+ # Check the TQt version.
if config.qt_version == 0:
- sipconfig.error("SIP has been built with Qt support disabled.\n")
+ sipconfig.error("SIP has been built with TQt support disabled.\n")
- # Early versions of Qt for the Mac didn't include everything. Rather than
+ # Early versions of TQt for the Mac didn't include everything. Rather than
# maintain these in the future we just mandate a later version.
if sys.platform == "darwin" and config.qt_version < 0x030100:
- sipconfig.error("PyQt for MacOS/X requires Qt v3.1.0 or later.\n")
+ sipconfig.error("PyTQt for MacOS/X retquires TQt v3.1.0 or later.\n")
# Check the installation directory is valid and add it as a patch.
if not os.access(modDir,os.F_OK):
- sipconfig.error("The %s PyQt destination directory does not seem to exist. Use the -d argument to set the correct directory." % (modDir))
+ sipconfig.error("The %s PyTQt destination directory does not seem to exist. Use the -d argument to set the correct directory." % (modDir))
config.patches["@PYQT_MODDIR@"] = sipconfig.escape(modDir)
- sipconfig.inform("%s is the PyQt installation directory." % (modDir))
+ sipconfig.inform("%s is the PyTQt installation directory." % (modDir))
# Enable warnings for SIP v4 generated code.
if sipMajorVersion >= 4:
@@ -573,7 +573,7 @@ def main(argv):
config.patches["@PYQT_RBPROF@"] = rbprof
- # Link in the qassistantclient library for Qt v3.1+.
+ # Link in the qassistantclient library for TQt v3.1+.
qaclib = ""
if config.qt_version >= 0x030100:
@@ -584,9 +584,9 @@ def main(argv):
config.patches["@PYQT_QASSISTANTCLIENT_LIB@"] = qaclib
- # Check for QScintilla.
+ # Check for TQScintilla.
if config.qt_version >= 0x030000:
- checkQScintilla()
+ checkTQScintilla()
# Create a build directory that we can compile test programs.
maindir = mkTempBuildDir()
@@ -595,7 +595,7 @@ def main(argv):
if config.qt_version >= 0x020000:
moduleChecks(maindir)
- # Work out the platform and Qt version tags to pass to SIP to generate the
+ # Work out the platform and TQt version tags to pass to SIP to generate the
# code we need.
if config.qt_lib == "qte":
plattag = "WS_QWS"
@@ -607,36 +607,36 @@ def main(argv):
plattag = "WS_X11"
qttags = {
- 0x020000: "Qt_1_43",
- 0x020100: "Qt_2_00",
- 0x020200: "Qt_2_1_0",
- 0x020300: "Qt_2_2_0",
- 0x020301: "Qt_2_3_0",
- 0x030000: "Qt_2_3_1",
- 0x030001: "Qt_3_0_0",
- 0x030002: "Qt_3_0_1",
- 0x030004: "Qt_3_0_2",
- 0x030005: "Qt_3_0_4",
- 0x030006: "Qt_3_0_5",
- 0x030100: "Qt_3_0_6",
- 0x030101: "Qt_3_1_0",
- 0x030102: "Qt_3_1_1",
- 0x030200: "Qt_3_1_2",
- 0x030300: "Qt_3_2_0",
- 0x040000: "Qt_3_3_0"
+ 0x020000: "TQt_1_43",
+ 0x020100: "TQt_2_00",
+ 0x020200: "TQt_2_1_0",
+ 0x020300: "TQt_2_2_0",
+ 0x020301: "TQt_2_3_0",
+ 0x030000: "TQt_2_3_1",
+ 0x030001: "TQt_3_0_0",
+ 0x030002: "TQt_3_0_1",
+ 0x030004: "TQt_3_0_2",
+ 0x030005: "TQt_3_0_4",
+ 0x030006: "TQt_3_0_5",
+ 0x030100: "TQt_3_0_6",
+ 0x030101: "TQt_3_1_0",
+ 0x030102: "TQt_3_1_1",
+ 0x030200: "TQt_3_1_2",
+ 0x030300: "TQt_3_2_0",
+ 0x040000: "TQt_3_3_0"
}
- qttag = versionToTag(config.qt_version, qttags, "Qt")
+ qttag = versionToTag(config.qt_version, qttags, "TQt")
- # Work out the QScintilla tag.
+ # Work out the TQScintilla tag.
if sciVersion >= 0:
scitags = {
- 0x010100: "QScintilla_1_0",
- 0x010200: "QScintilla_1_1",
- 0x020000: "QScintilla_1_2"
+ 0x010100: "TQScintilla_1_0",
+ 0x010200: "TQScintilla_1_1",
+ 0x020000: "TQScintilla_1_2"
}
- scitag = versionToTag(sciVersion, scitags, "QScintilla")
+ scitag = versionToTag(sciVersion, scitags, "TQScintilla")
else:
scitag = None
@@ -697,7 +697,7 @@ def main(argv):
config.create_makefile("pyuic.pro", [])
sipconfig.pop_dir(olddir)
- # Build pylupdate if Qt v3.0 or later.
+ # Build pylupdate if TQt v3.0 or later.
if config.qt_version >= 0x030000:
sipconfig.inform("Creating Makefile for pylupdate3.")
subdirs.append("pylupdate3")
@@ -708,11 +708,11 @@ def main(argv):
# Generate the top-level Makefile.
sipconfig.inform("Creating top level Makefile.")
- sipconfig.copy_to_file("PyQt.pro.in", "TEMPLATE = subdirs\nSUBDIRS = " + string.join(subdirs) + "\n")
- config.create_makefile("PyQt.pro")
+ sipconfig.copy_to_file("PyTQt.pro.in", "TEMPLATE = subdirs\nSUBDIRS = " + string.join(subdirs) + "\n")
+ config.create_makefile("PyTQt.pro")
# Tell the user what to do next.
- msg = "The build of the PyQt source code for your system is now complete. To compile and install PyQt run \"%s\" and \"%s install\" with appropriate user privileges." % (config.make_bin, config.make_bin)
+ msg = "The build of the PyTQt source code for your system is now complete. To compile and install PyTQt run \"%s\" and \"%s install\" with appropriate user privileges." % (config.make_bin, config.make_bin)
sipconfig.inform(msg)
diff --git a/configure.py b/configure.py
index cbbc1c2..e991a85 100644
--- a/configure.py
+++ b/configure.py
@@ -1,22 +1,22 @@
-# This script generates the PyQt configuration and generates the Makefiles.
+# This script generates the PyTQt configuration and generates the Makefiles.
#
# 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.
@@ -39,7 +39,7 @@ pyqt_version_str = "3.18.1"
sip_min_version = 0x040800
-# Try and find a Qt installation to use as the default.
+# Try and find a TQt installation to use as the default.
try:
qt_dir = os.environ["QTDIR"]
except KeyError:
@@ -62,7 +62,7 @@ qsci_version = 0
disabled_classes = []
if sys.platform == "win32":
- qsci_define = "QEXTSCINTILLA_DLL"
+ qsci_define = "TQEXTSCINTILLA_DLL"
else:
qsci_define = ""
@@ -108,29 +108,29 @@ def usage(rcode = 2):
sys.stdout.write(" -a tag explicitly enable the qtpe module\n")
sys.stdout.write(" -b dir where pyuic and pylupdate will be installed [default %s]\n" % opt_pyqtbindir)
sys.stdout.write(" -c concatenate each module's C/C++ source files\n")
- sys.stdout.write(" -d dir where the PyQt modules will be installed [default %\ns]" % opt_pyqtmoddir)
+ sys.stdout.write(" -d dir where the PyTQt modules will be installed [default %\ns]" % opt_pyqtmoddir)
sys.stdout.write(" -f keep any existing features file (when cross-compiling) [default remove]\n")
- sys.stdout.write(" -g dir where the Qt qconfig.h file can be found [default Qt include directory]\n")
+ sys.stdout.write(" -g dir where the TQt qconfig.h file can be found [default TQt include directory]\n")
sys.stdout.write(" -i enable checking of signed interpreters using the VendorID package [default disabled]\n")
sys.stdout.write(" -j # split the concatenated C++ source files into # pieces [default 1]\n")
- sys.stdout.write(" -k build the PyQt modules as static libraries\n")
+ sys.stdout.write(" -k build the PyTQt modules as static libraries\n")
sys.stdout.write(" -l dir the directory containing the VendorID header file [default %s]\n" % opt_vendincdir)
sys.stdout.write(" -m dir the directory containing the VendorID library [default %s]\n" % opt_vendlibdir)
- sys.stdout.write(" -n dir the directory containing the QScintilla header files [default Qt include directory]\n")
- sys.stdout.write(" -o dir the directory containing the QScintilla library [default Qt lib directory]\n")
- sys.stdout.write(" -q dir the root directory of the Qt installation [default %s]\n" % def_qt_dir)
+ sys.stdout.write(" -n dir the directory containing the TQScintilla header files [default TQt include directory]\n")
+ sys.stdout.write(" -o dir the directory containing the TQScintilla library [default TQt lib directory]\n")
+ sys.stdout.write(" -q dir the root directory of the TQt installation [default %s]\n" % def_qt_dir)
sys.stdout.write(" -r generate code with tracing enabled [default disabled]\n")
- sys.stdout.write(" -s QScintilla is a static library and not a DLL (Windows only)\n")
- sys.stdout.write(" -u build with debugging symbols (requires a debug build of Python on Windows\n")
- sys.stdout.write(" -v dir where the PyQt .sip files will be installed [default %s]\n" % opt_pyqtsipdir)
+ sys.stdout.write(" -s TQScintilla is a static library and not a DLL (Windows only)\n")
+ sys.stdout.write(" -u build with debugging symbols (retquires a debug build of Python on Windows\n")
+ sys.stdout.write(" -v dir where the PyTQt .sip files will be installed [default %s]\n" % opt_pyqtsipdir)
sys.stdout.write(" -w don't suppress compiler output during configuration\n")
- sys.stdout.write(" -y lib explicitly specify the type of Qt library, either qt, qt-mt, qte, qte-mt or qtmt\n")
+ sys.stdout.write(" -y lib explicitly specify the type of TQt library, either qt, qt-mt, qte, qte-mt, qtmt, tqt, tqt-mt, tqte, tqte-mt or tqtmt\n")
sys.exit(rcode)
class ConfigureBase:
- """This is the base class for all PyQt version specific configurer classes.
+ """This is the base class for all PyTQt version specific configurer classes.
Anything here is common to all configurers.
"""
def check_modules(self):
@@ -192,26 +192,26 @@ class ConfigureBase:
return opt_pyqtsipdir
-class ConfigurePyQt3(ConfigureBase):
- """This class defines the methods to configure PyQt v3.
+class ConfigurePyTQt3(ConfigureBase):
+ """This class defines the methods to configure PyTQt v3.
"""
def check_modules(self):
pyqt_modules.append("qt")
- check_module("qtcanvas", "qcanvas.h", "QCanvas()")
- check_module("qtnetwork", "qsocket.h", "QSocket()")
- check_module("qttable", "qtable.h", "QTable()")
- check_module("qtxml", "qdom.h", "QDomImplementation()")
- check_module("qtgl", "qgl.h", "QGLWidget()", opengl=1)
+ check_module("qtcanvas", "qcanvas.h", "TQCanvas()")
+ check_module("qtnetwork", "qsocket.h", "TQSocket()")
+ check_module("qttable", "qtable.h", "TQTable()")
+ check_module("qtxml", "qdom.h", "TQDomImplementation()")
+ check_module("qtgl", "qgl.h", "TQGLWidget()", opengl=1)
if qt_version >= 0x030000:
- check_module("qtui", "qwidgetfactory.h", "QWidgetFactory()", lib="qui")
+ check_module("qtui", "qwidgetfactory.h", "TQWidgetFactory()", lib="tqui")
if qt_edition in ("enterprise", "free"):
- check_module("qtsql", "qsql.h", "QSql()")
+ check_module("qtsql", "qsql.h", "TQSql()")
if sys.platform == "win32" and sipcfg.sip_version >= 0x040200:
- check_module("qtaxcontainer", "qaxobject.h", "QAxObject()", lib="qaxcontainer")
+ check_module("qtaxcontainer", "qaxobject.h", "TQAxObject()", lib="qaxcontainer")
if qsci_version:
check_module("qtext", "qextscintillabase.h", "QextScintillaBase()", define=qsci_define, include_dir=opt_qsciincdir, lib_dir=opt_qscilibdir, lib="qscintilla")
@@ -222,12 +222,12 @@ class ConfigurePyQt3(ConfigureBase):
qtmod_lib = None
if qt_version >= 0x030100:
- sipconfig.inform("Checking to see if the QAssistantClient class is available...")
+ sipconfig.inform("Checking to see if the TQAssistantClient class is available...")
- if check_class("qassistantclient.h", "QAssistantClient(\"foo\")", lib="qassistantclient"):
+ if check_class("qassistantclient.h", "TQAssistantClient(\"foo\")", lib="qassistantclient"):
qtmod_lib = "qassistantclient"
else:
- disabled_classes.append("QAssistantClient")
+ disabled_classes.append("TQAssistantClient")
return qtmod_lib
@@ -237,25 +237,25 @@ class ConfigurePyQt3(ConfigureBase):
def qt_version_tags(self):
return {
0x010403: None,
- 0x020000: "Qt_1_43",
- 0x020100: "Qt_2_00",
- 0x020200: "Qt_2_1_0",
- 0x020300: "Qt_2_2_0",
- 0x020301: "Qt_2_3_0",
- 0x030000: "Qt_2_3_1",
- 0x030001: "Qt_3_0_0",
- 0x030002: "Qt_3_0_1",
- 0x030004: "Qt_3_0_2",
- 0x030005: "Qt_3_0_4",
- 0x030006: "Qt_3_0_5",
- 0x030100: "Qt_3_0_6",
- 0x030101: "Qt_3_1_0",
- 0x030102: "Qt_3_1_1",
- 0x030200: "Qt_3_1_2",
- 0x030300: "Qt_3_2_0",
- 0x030305: "Qt_3_3_0",
- 0x030306: "Qt_3_3_5",
- 0x040000: "Qt_3_3_6"
+ 0x020000: "TQt_1_43",
+ 0x020100: "TQt_2_00",
+ 0x020200: "TQt_2_1_0",
+ 0x020300: "TQt_2_2_0",
+ 0x020301: "TQt_2_3_0",
+ 0x030000: "TQt_2_3_1",
+ 0x030001: "TQt_3_0_0",
+ 0x030002: "TQt_3_0_1",
+ 0x030004: "TQt_3_0_2",
+ 0x030005: "TQt_3_0_4",
+ 0x030006: "TQt_3_0_5",
+ 0x030100: "TQt_3_0_6",
+ 0x030101: "TQt_3_1_0",
+ 0x030102: "TQt_3_1_1",
+ 0x030200: "TQt_3_1_2",
+ 0x030300: "TQt_3_2_0",
+ 0x030305: "TQt_3_3_0",
+ 0x030306: "TQt_3_3_5",
+ 0x040000: "TQt_3_3_6"
}
def code(self, extra_include_dirs, extra_lib_dir, extra_libs):
@@ -271,7 +271,7 @@ class ConfigurePyQt3(ConfigureBase):
generate_code("qtpe", extra_libs=["qpe"], sip_flags=qtpe_sip_flags)
if "qtui" in pyqt_modules:
- generate_code("qtui", extra_libs=["qui"])
+ generate_code("qtui", extra_libs=["tqui"])
if "qtaxcontainer" in pyqt_modules:
generate_code("qtaxcontainer", extra_libs=["qaxcontainer"])
@@ -379,18 +379,18 @@ def inform_user():
else:
edstr = ""
- sipconfig.inform("Qt v%s %sis being used." % (sipconfig.version_to_string(qt_version), edstr))
+ sipconfig.inform("TQt v%s %sis being used." % (sipconfig.version_to_string(qt_version), edstr))
sipconfig.inform("SIP %s is being used." % sipcfg.sip_version_str)
- sipconfig.inform("These PyQt modules will be built: %s." % string.join(pyqt_modules))
+ sipconfig.inform("These PyTQt modules will be built: %s." % string.join(pyqt_modules))
if disabled_classes:
- sipconfig.inform("Support for these Qt classes has been disabled: %s." % string.join(disabled_classes))
+ sipconfig.inform("Support for these TQt classes has been disabled: %s." % string.join(disabled_classes))
- sipconfig.inform("The PyQt modules will be installed in %s." % opt_pyqtmoddir)
- sipconfig.inform("The PyQt .sip files will be installed in %s." % opt_pyqtsipdir)
+ sipconfig.inform("The PyTQt modules will be installed in %s." % opt_pyqtmoddir)
+ sipconfig.inform("The PyTQt .sip files will be installed in %s." % opt_pyqtsipdir)
- sipconfig.inform("The Qt header files are in %s." % qt_incdir)
- sipconfig.inform("The %s Qt library is in %s." % (opt_qtlib, qt_libdir))
+ sipconfig.inform("The TQt header files are in %s." % qt_incdir)
+ sipconfig.inform("The %s TQt library is in %s." % (opt_qtlib, qt_libdir))
if qt_version >= 0x020000:
sipconfig.inform("pyuic will be installed in %s." % opt_pyqtbindir)
@@ -399,11 +399,11 @@ def inform_user():
sipconfig.inform("pylupdate will be installed in %s." % opt_pyqtbindir)
if opt_vendorcheck:
- sipconfig.inform("PyQt will only be usable with signed interpreters.")
+ sipconfig.inform("PyTQt will only be usable with signed interpreters.")
def create_config(module, template, macros):
- """Create the PyQt configuration module so that it can be imported by build
+ """Create the PyTQt configuration module so that it can be imported by build
scripts.
module is the module file name.
@@ -471,7 +471,7 @@ def create_config(module, template, macros):
def compile_qt_program(name, define=None, include_dir=None, lib_dir=None, lib=None, opengl=0, python=0, debug=0):
- """Compile a simple Qt application.
+ """Compile a simple TQt application.
name is the name of the single source file.
define is a name to add to the list of preprocessor defines.
@@ -544,7 +544,7 @@ def compile_qt_program(name, define=None, include_dir=None, lib_dir=None, lib=No
def check_qscintilla():
- """See if QScintilla can be found and what its version is.
+ """See if TQScintilla can be found and what its version is.
"""
# Set the defaults if they haven't been explicitly specified.
global opt_qsciincdir, opt_qscilibdir
@@ -555,26 +555,26 @@ def check_qscintilla():
if opt_qscilibdir is None:
opt_qscilibdir = qt_libdir
- # Find the QScintilla header files.
+ # Find the TQScintilla header files.
sciglobal = os.path.join(opt_qsciincdir, "qextscintillaglobal.h")
if os.access(sciglobal, os.F_OK):
- # Get the QScintilla version number.
+ # Get the TQScintilla version number.
global qsci_version
- qsci_version, sciversstr = sipconfig.read_version(sciglobal, "QScintilla", "QSCINTILLA_VERSION", "QSCINTILLA_VERSION_STR")
+ qsci_version, sciversstr = sipconfig.read_version(sciglobal, "TQScintilla", "TQSCINTILLA_VERSION", "TQSCINTILLA_VERSION_STR")
if glob.glob(os.path.join(opt_qscilibdir, "*qscintilla*")):
- sipconfig.inform("QScintilla %s is being used." % sciversstr)
+ sipconfig.inform("TQScintilla %s is being used." % sciversstr)
# If we find a snapshot then set a negative version number as a
# special case.
if string.find(sciversstr, "snapshot") >= 0:
qsci_version = -1
else:
- sipconfig.inform("The QScintilla library could not be found in %s and so the qtext module will not be built. If QScintilla is installed then use the -o argument to explicitly specify the correct directory." % opt_qscilibdir)
+ sipconfig.inform("The TQScintilla library could not be found in %s and so the qtext module will not be built. If TQScintilla is installed then use the -o argument to explicitly specify the correct directory." % opt_qscilibdir)
else:
- sipconfig.inform("qextscintillaglobal.h could not be found in %s and so the qtext module will not be built. If QScintilla is installed then use the -n argument to explicitly specify the correct directory." % opt_qsciincdir)
+ sipconfig.inform("qextscintillaglobal.h could not be found in %s and so the qtext module will not be built. If TQScintilla is installed then use the -n argument to explicitly specify the correct directory." % opt_qsciincdir)
def check_vendorid():
@@ -648,7 +648,7 @@ int main(int argc, char **argv)
def check_plugin(cname, incfile):
- """Return non-zero if a class that might be a plugin is in the main Qt
+ """Return non-zero if a class that might be a plugin is in the main TQt
library.
cname is the name of the class.
@@ -664,8 +664,8 @@ def create_features_file(name):
name is the name of the features file in the current directory.
"""
- # The features that a given Qt configuration may or may not support. Note
- # that STYLE_WINDOWSXP and ASSISTANTCLIENT require special handling.
+ # The features that a given TQt configuration may or may not support. Note
+ # that STYLE_WINDOWSXP and ASSISTANTCLIENT retquire special handling.
flist = ["ACTION", "CLIPBOARD", "CODECS", "COLORDIALOG", "DATASTREAM",
"DIAL", "DNS", "DOM", "DRAGANDDROP", "ICONVIEW", "IMAGE_TEXT",
"INPUTDIALOG", "FILEDIALOG", "FONTDATABASE", "FONTDIALOG",
@@ -691,7 +691,7 @@ def create_features_file(name):
int main(int argc,char **argv)
{
FILE *fp;
- QApplication app(argc,argv,0);
+ TQApplication app(argc,argv,0);
if ((fp = fopen("%s","w")) == NULL)
{
@@ -700,15 +700,15 @@ int main(int argc,char **argv)
}
#if !defined(WITH_THREAD) || !defined(QT_THREAD_SUPPORT)
- fprintf(fp,"-x Qt_THREAD_SUPPORT\\n");
+ fprintf(fp,"-x TQt_THREAD_SUPPORT\\n");
#endif
#if !defined(Q_WS_WIN) || QT_VERSION < 0x030000 || defined(QT_NO_STYLE_WINDOWSXP)
- fprintf(fp,"-x Qt_STYLE_WINDOWSXP\\n");
+ fprintf(fp,"-x TQt_STYLE_WINDOWSXP\\n");
#endif
#if defined(Q_OS_WIN64)
- fprintf(fp,"-x Qt_Q_LONG_IS_long\\n");
+ fprintf(fp,"-x TQt_Q_LONG_IS_long\\n");
#endif
""" % (name, name))
@@ -716,15 +716,15 @@ int main(int argc,char **argv)
f.write(
"""
#if defined(QT_NO_%s)
- fprintf(fp,"-x Qt_%s\\n");
+ fprintf(fp,"-x TQt_%s\\n");
#endif
""" % (feat, feat))
- # Disable QAssistantClient for the Professional Edition.
- if "QAssistantClient" in disabled_classes:
+ # Disable TQAssistantClient for the Professional Edition.
+ if "TQAssistantClient" in disabled_classes:
f.write(
"""
- fprintf(fp,"-x Qt_ASSISTANTCLIENT\\n");
+ fprintf(fp,"-x TQt_ASSISTANTCLIENT\\n");
""")
f.write(
@@ -749,27 +749,27 @@ int main(int argc,char **argv)
sipconfig.error("There was an error creating the features file.")
# Check what features have been implemented as plugins and disable them.
- plugins = [("STYLE_CDE", "qcdestyle.h", "QCDEStyle"),
- ("STYLE_INTERLACE", "qinterlacestyle.h", "QInterlaceStyle"),
- ("STYLE_MOTIF", "qmotifstyle.h", "QMotifStyle"),
- ("STYLE_MOTIFPLUS", "qmotifplusstyle.h", "QMotifPlusStyle"),
- ("STYLE_PLATINUM", "qplatinumstyle.h", "QPlatinumStyle"),
- ("STYLE_SGI", "qsgistyle.h", "QSGIStyle"),
- ("STYLE_WINDOWSXP", "qwindowsxpstyle.h", "QWindowsXPStyle"),
- ("STYLE_WINDOWS", "qwindowsstyle.h", "QWindowsStyle")]
+ plugins = [("STYLE_CDE", "qcdestyle.h", "TQCDEStyle"),
+ ("STYLE_INTERLACE", "qinterlacestyle.h", "TQInterlaceStyle"),
+ ("STYLE_MOTIF", "qmotifstyle.h", "TQMotifStyle"),
+ ("STYLE_MOTIFPLUS", "qmotifplusstyle.h", "TQMotifPlusStyle"),
+ ("STYLE_PLATINUM", "qplatinumstyle.h", "TQPlatinumStyle"),
+ ("STYLE_SGI", "qsgistyle.h", "TQSGIStyle"),
+ ("STYLE_WINDOWSXP", "qwindowsxpstyle.h", "TQWindowsXPStyle"),
+ ("STYLE_WINDOWS", "qwindowsstyle.h", "TQWindowsStyle")]
f = open(name, "a")
for (feat, incfile, cname) in plugins:
if not check_plugin(cname, incfile):
- f.write("-x Qt_%s\n" % feat)
+ f.write("-x TQt_%s\n" % feat)
disabled_classes.append(cname)
f.close()
def get_feature_flags():
- """Return the list of SIP flags that exclude unsupported Qt features.
+ """Return the list of SIP flags that exclude unsupported TQt features.
"""
featfile = "features"
@@ -791,7 +791,7 @@ def get_feature_flags():
line = ff.readline()
if sipcfg.sip_version >= 0x040702:
- flags.extend(['-x', 'Qt_SIP_PRE_4_7_2'])
+ flags.extend(['-x', 'TQt_SIP_PRE_4_7_2'])
return flags
@@ -823,8 +823,8 @@ def set_sip_flags():
qt_sip_flags.append("-t")
qt_sip_flags.append(plattag)
- # Handle the Qt version tag.
- verstag = sipconfig.version_to_sip_tag(qt_version, pyqt.qt_version_tags(), "Qt")
+ # Handle the TQt version tag.
+ verstag = sipconfig.version_to_sip_tag(qt_version, pyqt.qt_version_tags(), "TQt")
if verstag:
qt_sip_flags.append("-t")
@@ -835,26 +835,26 @@ def set_sip_flags():
qtext_sip_flags.append(f)
qtpe_sip_flags.append(f)
- # Handle the QScintilla version tag.
+ # Handle the TQScintilla version tag.
if qsci_version:
qscitags = {
0x010100: None,
- 0x010200: "QScintilla_1_1",
- 0x010300: "QScintilla_1_2",
- 0x010400: "QScintilla_1_3",
- 0x010500: "QScintilla_1_4",
- 0x010600: "QScintilla_1_5",
- 0x010700: "QScintilla_1_6",
- 0x020000: "QScintilla_1_7"
+ 0x010200: "TQScintilla_1_1",
+ 0x010300: "TQScintilla_1_2",
+ 0x010400: "TQScintilla_1_3",
+ 0x010500: "TQScintilla_1_4",
+ 0x010600: "TQScintilla_1_5",
+ 0x010700: "TQScintilla_1_6",
+ 0x020000: "TQScintilla_1_7"
}
- verstag = sipconfig.version_to_sip_tag(qsci_version, qscitags, "QScintilla")
+ verstag = sipconfig.version_to_sip_tag(qsci_version, qscitags, "TQScintilla")
if verstag:
qtext_sip_flags.append("-t")
qtext_sip_flags.append(verstag)
- # Handle the Qtopia tag.
+ # Handle the TQtopia tag.
if opt_qtpetag:
qtpe_sip_flags.append("-t")
qtpe_sip_flags.append(opt_qtpetag)
@@ -972,7 +972,7 @@ def generate_code(mname, extra_cflags=None, extra_cxxflags=None, extra_define=No
def check_license():
- """Handle the validation of the PyQt license.
+ """Handle the validation of the PyTQt license.
"""
try:
import license
@@ -991,11 +991,11 @@ def check_license():
lname = "GNU General Public License"
lfile = None
- sipconfig.inform("This is the %s version of PyQt %s (licensed under the %s) for Python %s on %s." % (ltype, pyqt_version_str, lname, string.split(sys.version)[0], sys.platform))
+ sipconfig.inform("This is the %s version of PyTQt %s (licensed under the %s) for Python %s on %s." % (ltype, pyqt_version_str, lname, string.split(sys.version)[0], sys.platform))
# Common checks.
if ltype == "GPL" and sys.platform == "win32":
- error("You cannot use the GPL version of PyQt under Windows.")
+ error("You cannot use the GPL version of PyTQt under Windows.")
try:
qted = qt_edition
@@ -1004,7 +1004,7 @@ def check_license():
if qted and ltype != "internal":
if (qted == "free" and ltype != "GPL") or (qted != "free" and ltype == "GPL"):
- sipconfig.error("This version of PyQt and the %s edition of Qt have incompatible licenses." % qted)
+ sipconfig.error("This version of PyTQt and the %s edition of TQt have incompatible licenses." % qted)
# Confirm the license.
sys.stdout.write("""
@@ -1040,7 +1040,7 @@ Type 'no' to decline the terms of the license.
def get_build_macros(overrides):
- """Return the dictionary of platform specific build macros from the Qt
+ """Return the dictionary of platform specific build macros from the TQt
installation. Return None if any of the overrides was invalid.
overrides is a list of macros overrides from the user.
@@ -1054,7 +1054,7 @@ def get_build_macros(overrides):
if not os.access(fname, os.F_OK):
sipconfig.error("Unable to find the default configuration file %s. You can use the QMAKESPEC environment variable to specify the correct platform instead of \"default\"." % fname)
- # Add the Qt specific macros to the default.
+ # Add the TQt specific macros to the default.
names = sipcfg.build_macros().keys()
names.append("INCDIR_QT")
names.append("LIBDIR_QT")
@@ -1073,14 +1073,14 @@ def get_build_macros(overrides):
def check_qt_installation(macros):
- """Check the Qt installation and get the version number and edition.
+ """Check the TQt installation and get the version number and edition.
macros is the dictionary of build macros.
"""
# Get the Makefile generator.
generator = macros["MAKEFILE_GENERATOR"]
- # Set the Qt include and lib directories.
+ # Set the TQt include and lib directories.
global qt_incdir, qt_libdir
qt_incdir = macros["INCDIR_QT"]
@@ -1095,8 +1095,8 @@ def check_qt_installation(macros):
qt_libdir = os.path.join(qt_dir, "lib")
macros["LIBDIR_QT"] = qt_libdir
- # Check the Qt header files have been installed. Quietly check for Qt v4.
- qt4_d = os.path.join(qt_incdir, "QtCore")
+ # Check the TQt header files have been installed. Quietly check for TQt v4.
+ qt4_d = os.path.join(qt_incdir, "TQtCore")
qglobal = os.path.join(qt4_d, "qglobal.h")
@@ -1106,24 +1106,24 @@ def check_qt_installation(macros):
if not os.access(qglobal, os.F_OK):
sipconfig.error("qglobal.h could not be found in %s." % qt_incdir)
- # Get the Qt version number.
+ # Get the TQt version number.
global qt_version
- qt_version, ignore = sipconfig.read_version(qglobal, "Qt", "QT_VERSION")
+ qt_version, ignore = sipconfig.read_version(qglobal, "TQt", "QT_VERSION")
- # Early versions of Qt for the Mac didn't include everything. Rather than
+ # Early versions of TQt for the Mac didn't include everything. Rather than
# maintain these in the future we just mandate a later version.
if sys.platform == "darwin" and qt_version < 0x030100:
- sipconfig.error("PyQt for MacOS/X requires Qt v3.1.0 or later.")
+ sipconfig.error("PyTQt for MacOS/X retquires TQt v3.1.0 or later.")
# The way SIP v4.2 and later handle connections between signals and Python
- # slots only works with Qt v3 and later. Therefore Qt v2 and earlier needs
+ # slots only works with TQt v3 and later. Therefore TQt v2 and earlier needs
# SIP v3.
if qt_version < 0x030000:
- sipconfig.error("Qt v2.x and earlier require SIP v3.x.")
+ sipconfig.error("TQt v2.x and earlier retquire SIP v3.x.")
if qt_version >= 0x040000:
- sipconfig.error("Qt v4.x requires PyQt v4.x.")
+ sipconfig.error("TQt v4.x retquires PyTQt v4.x.")
# Try and work out which edition it is.
global qt_edition
@@ -1153,14 +1153,14 @@ def check_qt_installation(macros):
f.close()
if not qt_edition:
- sipconfig.error("The Qt edition could not be determined by parsing %s." % qconfig)
+ sipconfig.error("The TQt edition could not be determined by parsing %s." % qconfig)
elif qt_version == 0x020300 and sys.platform == "win32":
- # See if we have the Qt v2 non-commercial version.
+ # See if we have the TQt v2 non-commercial version.
if os.access(os.path.join(qt_libdir, "qt-mt230nc.lib"), os.F_OK):
qt_edition = "non-commercial"
if sys.platform == "win32":
- # Work out how Qt was built on Windows.
+ # Work out how TQt was built on Windows.
global qt_winconfig
@@ -1181,19 +1181,19 @@ def check_qt_installation(macros):
# Assume it was built as a DLL.
qt_winconfig = "shared"
- # Determine the Qt library to link against and if it has thread support.
+ # Determine the TQt library to link against and if it has thread support.
global qt_threaded
resolve_qt3_library(generator)
- if opt_qtlib in ("qt-mt", "qt-mtedu", "qt-mteval", "qte-mt", "qtmt", "qtmtedu", "qtmteval"):
+ if opt_qtlib in ("qt-mt", "qt-mtedu", "qt-mteval", "qte-mt", "qtmt", "qtmtedu", "qtmteval", "tqt-mt", "tqt-mtedu", "tqt-mteval", "tqte-mt", "tqtmt", "tqtmtedu", "tqtmteval"):
qt_threaded = 1
global pyqt
- pyqt = ConfigurePyQt3()
+ pyqt = ConfigurePyTQt3()
- # We haven't yet factored out sipconfig's knowledge of how to build Qt
+ # We haven't yet factored out sipconfig's knowledge of how to build TQt
# binaries and it is expecting to find these in the configuration when it
# generates the Makefiles.
sipcfg.qt_version = qt_version
@@ -1207,7 +1207,7 @@ def check_qt_installation(macros):
def resolve_qt3_library(generator):
- """See which version of the Qt v3 library can be found. (We can't trust
+ """See which version of the TQt v3 library can be found. (We can't trust
the configuration files.)
generator is the name of the Makefile generator.
@@ -1216,67 +1216,67 @@ def resolve_qt3_library(generator):
if opt_qtlib:
if not is_qt_library(generator, opt_qtlib):
- sipconfig.error("The %s Qt library could not be found in %s." % (opt_qtlib, qt_libdir))
+ sipconfig.error("The %s TQt library could not be found in %s." % (opt_qtlib, qt_libdir))
else:
- stlib = is_qt_library(generator, "qt")
- mtlib = is_qt_library(generator, "qt-mt")
- edlib = is_qt_library(generator, "qt-mtedu")
- evlib = is_qt_library(generator, "qt-mteval")
- emlib = is_qt_library(generator, "qte")
- etlib = is_qt_library(generator, "qte-mt")
+ stlib = is_qt_library(generator, "tqt")
+ mtlib = is_qt_library(generator, "tqt-mt")
+ edlib = is_qt_library(generator, "tqt-mtedu")
+ evlib = is_qt_library(generator, "tqt-mteval")
+ emlib = is_qt_library(generator, "tqte")
+ etlib = is_qt_library(generator, "tqte-mt")
# Borland likes to be a little different.
- bmtlib = is_qt_library(generator, "qtmt")
- bedlib = is_qt_library(generator, "qtmtedu")
- bevlib = is_qt_library(generator, "qtmteval")
+ bmtlib = is_qt_library(generator, "tqtmt")
+ bedlib = is_qt_library(generator, "tqtmtedu")
+ bevlib = is_qt_library(generator, "tqtmteval")
names = []
if stlib:
- opt_qtlib = "qt"
+ opt_qtlib = "tqt"
names.append(opt_qtlib)
if mtlib:
- opt_qtlib = "qt-mt"
+ opt_qtlib = "tqt-mt"
names.append(opt_qtlib)
if edlib:
- opt_qtlib = "qt-mtedu"
+ opt_qtlib = "tqt-mtedu"
names.append(opt_qtlib)
if evlib:
- opt_qtlib = "qt-mteval"
+ opt_qtlib = "tqt-mteval"
names.append(opt_qtlib)
if emlib:
- opt_qtlib = "qte"
+ opt_qtlib = "tqte"
names.append(opt_qtlib)
if etlib:
- opt_qtlib = "qte-mt"
+ opt_qtlib = "tqte-mt"
names.append(opt_qtlib)
if bmtlib:
- opt_qtlib = "qtmt"
+ opt_qtlib = "tqtmt"
names.append(opt_qtlib)
if bedlib:
- opt_qtlib = "qtmtedu"
+ opt_qtlib = "tqtmtedu"
names.append(opt_qtlib)
if bevlib:
- opt_qtlib = "qtmteval"
+ opt_qtlib = "tqtmteval"
names.append(opt_qtlib)
if not names:
- sipconfig.error("No Qt libraries could be found in %s." % qt_libdir)
+ sipconfig.error("No TQt libraries could be found in %s." % qt_libdir)
if len(names) > 1:
- sipconfig.error("These Qt libraries were found: %s. Use the -y argument to explicitly specify which you want to use." % string.join(names))
+ sipconfig.error("These TQt libraries were found: %s. Use the -y argument to explicitly specify which you want to use." % string.join(names))
def is_qt_library(generator, lib):
- """See if a particular Qt library is installed.
+ """See if a particular TQt library is installed.
generator is the name of the Makefile generator.
lib is the name of the library.
@@ -1302,12 +1302,12 @@ def main(argv):
"""
# Check Python isn't too new.
if sipcfg.py_version >= 0x030000:
- sipconfig.error("PyQt v3.x does not support Python v3.x")
+ sipconfig.error("PyTQt v3.x does not support Python v3.x")
# Check SIP is new enough.
if sipcfg.sip_version_str[:8] != "snapshot":
if sipcfg.sip_version < sip_min_version:
- sipconfig.error("This version of PyQt requires SIP v%s or later" % sipconfig.version_to_string(sip_min_version))
+ sipconfig.error("This version of PyTQt retquires SIP v%s or later" % sipconfig.version_to_string(sip_min_version))
# Parse the command line.
try:
@@ -1367,21 +1367,21 @@ def main(argv):
elif opt == "-w":
opt_verbose = 1
elif opt == "-y":
- if arg in ("qt", "qt-mt", "qt-mtedu", "qt-mteval", "qte", "qte-mt", "qtmt", "qtmtedu"):
+ if arg in ("qt", "qt-mt", "qt-mtedu", "qt-mteval", "qte", "qte-mt", "qtmt", "qtmtedu", "tqt", "tqt-mt", "tqt-mtedu", "tqt-mteval", "tqte", "tqte-mt", "tqtmt", "tqtmtedu"):
opt_qtlib = arg
else:
usage()
- # Check that we know the name of the Qt root directory.
+ # Check that we know the name of the TQt root directory.
if not qt_dir:
- sipconfig.error("A Qt installation could not be found. Use use the -q argument or the QTDIR environment variable to explicitly specify the correct directory.")
+ sipconfig.error("A TQt installation could not be found. Use use the -q argument or the QTDIR environment variable to explicitly specify the correct directory.")
# When building static libraries, signed interpreter checking makes no
# sense.
if opt_vendorcheck and opt_static:
sipconfig.error("Using the VendorID package when building static libraries makes no sense.")
- # Replace the existing build macros with the ones from the Qt installation.
+ # Replace the existing build macros with the ones from the TQt installation.
macros = get_build_macros(args)
if macros is None:
@@ -1389,13 +1389,13 @@ def main(argv):
sipcfg.set_build_macros(macros)
- # Check Qt is what we need.
+ # Check TQt is what we need.
check_qt_installation(macros)
# Check the licenses are compatible.
check_license()
- # Check for QScintilla.
+ # Check for TQScintilla.
check_qscintilla()
# Check which modules to build.
diff --git a/doc/PyQt.html b/doc/PyQt.html
index a7fb2ab..71e167d 100644
--- a/doc/PyQt.html
+++ b/doc/PyQt.html
@@ -2,7 +2,7 @@
Python Bindings for Qt (3.18.1)Python Bindings for TQt (3.18.1)Python Bindings for Qt (3.18.1)Python Bindings for TQt (3.18.1) This document describes a set of Python bindings for the Qt widget set.
+> This document describes a set of Python bindings for the TQt widget set.
Contact the author at <IntroductionPyQt is a set of Python bindings for the Qt toolkit and available for all
-platforms supported by Qt, including Windows, Linux, UNIX, MacOS/X and embedded
+>PyTQt is a set of Python bindings for the TQt toolkit and available for all
+platforms supported by TQt, including Windows, Linux, UNIX, MacOS/X and embedded
systems such as the Sharp Zaurus and the Compaq iPAQ. They have been tested
-against Qt versions 1.43 to 3.3.7, Qt Non-commercial, Qtopia 1.5.0, and Python
-versions 1.5 to 2.5. Qt/Embedded v3 is not supported. Qt v4 is supported
-by PyQt v4.
PyQt is available under the GPL license for use with the GPL version of Qt, a
-a commercial license for use with the commercial version of Qt, a
-non-commercial license for use with the non-commercial version of Qt v2, and an
-educational license for use with the educational version of Qt.
PyTQt is available under the GPL license for use with the GPL version of TQt, a
+a commercial license for use with the commercial version of TQt, a
+non-commercial license for use with the non-commercial version of TQt v2, and an
+educational license for use with the educational version of TQt.
PyQt is built using SIP (a tool for generating Python extension modules for
+>PyTQt is built using SIP (a tool for generating Python extension modules for
C++ class libraries). SIP v4.6 or later must be installed in order to build
-and run this version of PyQt.
PyQt for MacOS/X requires Qt v3.1.0 or later and Python v2.3 or later.
PyTQt for MacOS/X retquires TQt v3.1.0 or later and Python v2.3 or later.
The bindings are implemented as a number of Python modules
qtaxcontainer contains a sub-set of the classes implemented
-in Qt's QAxContainer module, part of Qt's ActiveQt framework.
qtcanvas contains the classes implemented in Qt's Canvas
+> contains the classes implemented in TQt's Canvas
module.
qtgl contains the classes implemented in Qt's OpenGL module. contains the classes implemented in TQt's OpenGL module.qtnetwork contains the classes implemented in Qt's Network
+> contains the classes implemented in TQt's Network
module.
qtpe contains the classes implemented in Qtopia (originally
-called the Qt Palmtop Environment). It is only supported with Qt/Embedded. contains the classes implemented in TQtopia (originally
+called the TQt Palmtop Environment). It is only supported with TQt/Embedded.qtsql contains the classes implemented in Qt's SQL module.
contains the classes implemented in TQt's SQL module.qttable contains the classes implemented in Qt's Table
+> contains the classes implemented in TQt's Table
module.
qtui contains the classes implemented in Qt's qui library.
-These allow GUIs to be created directly from Qt Designer's
+> contains the classes implemented in TQt's tqui library.
+These allow GUIs to be created directly from TQt Designer's
.uiqtxml contains the classes implemented in Qt's XML module. contains the classes implemented in TQt's XML module.qtext contains useful third-party classes that are not part
-of Qt. At the moment it contains bindings for QScintilla, the port to Qt of
+of TQt. At the moment it contains bindings for TQScintilla, the port to TQt of
the Scintilla programmer's editor class.
PyQt also includes the PyTQt also includes the pyuic and
pylupdate utilities which correspond to the Qt
+> utilities which correspond to the TQt
uicpyuic converts the GUI designs created with Qt Designer to
+> converts the GUI designs created with TQt Designer to
executable Python code. pylupdate scans Python code,
extracts all strings that are candidates for internationalisation, and creates
-an XML file for use by Qt Linguist.
Other PyQt GoodiesOther PyTQt Goodies
Using Qt DesignerUsing TQt Designer
Qt Designer is a GPL'ed GUI design editor provided by Trolltech as part of Qt.
-It generates an XML description of a GUI design. Qt includes
+>TQt Designer is a GPL'ed GUI design editor provided by Trolltech as part of TQt.
+It generates an XML description of a GUI design. TQt includes
uic which generates C++ code from that XML.
PyQt includes PyTQt includes pyuic which generates Python code from the
@@ -236,7 +236,7 @@ custom widgets, pyuic has no way of knowing the name of the
-Python module containing the widget and so cannot generate the required
+Python module containing the widget and so cannot generate the retquired
importComment field of Qt Designer's
+> field of TQt Designer's
Form Settingspyuic will extract Python code
-entered using Qt Designer to implement slots. In Qt Designer, when you need to
+entered using TQt Designer to implement slots. In TQt Designer, when you need to
edit a slot and the source editor appears, enter Python code between the curly
braces. Don't worry about the correct starting indent level, each line is
prepended with a correct indentation.
void DebMainWindowFrm::browsePushButtonClicked()
{
if self.debugging:
- QMessageBox.critical(self, "Event", "browse pushbutton was clicked!")
+ TQMessageBox.critical(self, "Event", "browse pushbutton was clicked!")
}
class DebMainWindowFrm(QMainWindow):
+>class DebMainWindowFrm(TQMainWindow):
...stuff...
def browsePushButtonClicked(self):
if self.debugging:
- QMessageBox.critical(self, "Event", "browse pushbutton was clicked!") | Using Qt LinguistUsing TQt Linguist
Qt includes the TQt includes the lupdate program which parses C++ source
@@ -411,7 +411,7 @@ CLASS="LITERAL"
> binary language files that are distributed with
your application.
Thanks to Detlev Offenbach, PyQt includes the Thanks to Detlev Offenbach, PyTQt includes the pylupdate
@@ -419,7 +419,7 @@ program. This generates the same .ts language source files
-from your PyQt source files.
Python Strings, Qt Strings and UnicodePython Strings, TQt Strings and Unicode
Unicode support was added to Qt in v2.0 and to Python in v1.6. In Qt, Unicode
+>Unicode support was added to TQt in v2.0 and to Python in v1.6. In TQt, Unicode
support is implemented using the QStringTQString class. It is
important to understand that QStringTQStrings, Python string objects
and Python Unicode objects are all different but conversions between them are
automatic in many cases and easy to achieve manually when needed.
Whenever PyQt expects a Whenever PyTQt expects a QStringTQString as a function argument, a
Python string object or a Python Unicode object can be provided instead, and
-PyQt will do the necessary conversion automatically.
You may also manually convert Python string and Unicode objects to
QStringTQStrings by using the QStringTQString constructor
as demonstrated in the following code fragment.
qs1 = QString('Converted Python string object')
-qs2 = QString(u'Converted Python Unicode object') qs1 = TQString('Converted Python string object')
+qs2 = TQString(u'Converted Python Unicode object') |
In order to convert a QStringTQString to a Python string object use
the Python str() to a null QStringTQString and an empty
QStringTQString both result in an empty Python string object.
In order to convert a QStringTQString to a Python Unicode object use
the Python unicode() to a null QStringTQString and an empty
QStringTQString both result in an empty Python Unicode object.
Data Types
PyQt represents PyTQt represents void * values as objects of type
@@ -1416,11 +1416,11 @@ NAME="AEN517"
>Support for Threads
PyQt implements the full set of Qt's thread classes. Python, of course, also
+>PyTQt implements the full set of TQt's thread classes. Python, of course, also
has its own thread extension modules. If you are using SIP v4 (or later) and
-Python v2.3.5 (or later) then PyQt does not impose any additional restrictions.
-(Read the relevant part of the Qt documentation to understand the restrictions
-imposed by the Qt API.)
If you are using earlier versions of either SIP or Python then it is possible
to use either of the APIs so long as you follow some simple rules.
If you use the Qt API then the very first If you use the TQt API then the very first import of one of
-the PyQt modules must be done from the main thread.
If you use the Python API then all calls to PyQt (including any
+>If you use the Python API then all calls to PyTQt (including any
imports) must be done from one thread only. Therefore, if
-you want to make calls to PyQt from several threads then you must use the Qt
+you want to make calls to PyTQt from several threads then you must use the TQt
API.
If you want to use both APIs in the same application then all calls to PyQt
-must be done from threads created using the Qt API.
If you want to use both APIs in the same application then all calls to PyTQt
+must be done from threads created using the TQt API.
The above comments actually apply to any SIP generated module, not just PyQt.
The above comments actually apply to any SIP generated module, not just PyTQt.
c = new QColor();
-c = new QColor(); c = new TQColor();
+c = new TQColor(); | c = QColor()
-c = QColor() c = TQColor()
+c = TQColor() | self.c1 = QColor()
-self.c2 = QColor() self.c1 = TQColor()
+self.c2 = TQColor() | Sometimes a Qt class instance will maintain a pointer to another instance and
+>Sometimes a TQt class instance will maintain a pointer to another instance and
will eventually call the destructor of that second instance. The most common
example is that a QObjectTQObject (and any of its sub-classes) keeps
pointers to its children and will automatically call their destructors. In
these cases, the corresponding Python object will also keep a reference to the
@@ -1527,7 +1527,7 @@ corresponding child objects.
So, in the following Python fragment, the first QLabelTQLabel is
not destroyed when the second is assigned to because the
parent QWidgetTQWidget still has a reference to it.
p = QWidget()
-l = QLabel('First label',p)
-l = QLabel('Second label',p) p = TQWidget()
+l = TQLabel('First label',p)
+l = TQLabel('Second label',p) |
tab = QTab()
+>tab = TQTab()
tab.label = "First Tab"
-tab.r = QRect(10,10,75,30) | It is not possible to define a new Python class that sub-classes from more than
-one Qt class.
i18n Support
Qt implements i18n support through the Qt Linguist application, the
+>TQt implements i18n support through the TQt Linguist application, the
QTranslatorTQTranslator class, and the
QApplication::translate()TQApplication::translate(), QObject::tr()TQObject::tr()
and QObject::trUtf8()TQObject::trUtf8() methods. Usually the
and uses the hardcoded class name as the
context. On the other hand, QApplication::translate()TQApplication::translate()
allows to context to be explicitly stated.
Unfortunately, because of the way Qt implents Unfortunately, because of the way TQt implents tr() (and
trUtf8()) it is not possible for PyQt to exactly reproduce
-its behavour. The PyQt implementation of ) it is not possible for PyTQt to exactly reproduce
+its behavour. The PyTQt implementation of tr() (and
@@ -1658,7 +1658,7 @@ CLASS="LITERAL"
>trUtf8()) uses the class name of the instance as the
context. The key difference, and the source of potential problems, is that the
-context is determined dynamically in PyQt, but is hardcoded in Qt. In other
+context is determined dynamically in PyTQt, but is hardcoded in TQt. In other
words, the context of a translation may change depending on an instance's class
hierarchy.
class A(QObject):
+>class A(TQObject):
def __init__(self):
- QObject.__init__(self)
+ TQObject.__init__(self)
def hello(self):
return self.tr("Hello")
@@ -1709,10 +1709,10 @@ CLASS="LITERAL"
>A in both cases.The PyQt behaviour is unsatisfactory and may be changed in the future. It is
+>The PyTQt behaviour is unsatisfactory and may be changed in the future. It is
recommended that QApplication.translate()TQApplication.translate() be used in
preference to trUtf8()). This
-is guaranteed to work with current and future versions of PyQt and makes it
+is guaranteed to work with current and future versions of PyTQt and makes it
much easier to share message files between Python and C++ code. Below is the
alternative implementation of that uses
QApplication.translate()TQApplication.translate(). class A(QObject):
+>class A(TQObject):
def __init__(self):
- QObject.__init__(self)
+ TQObject.__init__(self)
def hello(self):
return qApp.translate("A","Hello") uses
QApplication.translate()TQApplication.translate().Signal and Slot SupportA signal may be either a Qt signal (specified using
+>A signal may be either a TQt signal (specified using
SIGNAL()PYSIGNAL()). A slot can be either a Python callable object, a Qt signal (specified using
+>A slot can be either a Python callable object, a TQt signal (specified using
SIGNAL()PYSIGNAL()), or a Qt slot (specified using
+>), or a TQt slot (specified using
SLOT() | QObject.connect(a,SIGNAL("QtSig()"),pyFunction)
-QObject.connect(a,SIGNAL("QtSig()"),pyClass.pyMethod)
-QObject.connect(a,SIGNAL("QtSig()"),PYSIGNAL("PySig"))
-QObject.connect(a,SIGNAL("QtSig()"),SLOT("QtSlot()"))
-QObject.connect(a,PYSIGNAL("PySig"),pyFunction)
-QObject.connect(a,PYSIGNAL("PySig"),pyClass.pyMethod)
-QObject.connect(a,PYSIGNAL("PySig"),SIGNAL("QtSig()"))
-QObject.connect(a,PYSIGNAL("PySig"),SLOT("QtSlot()")) TQObject.connect(a,SIGNAL("TQtSig()"),pyFunction)
+TQObject.connect(a,SIGNAL("TQtSig()"),pyClass.pyMethod)
+TQObject.connect(a,SIGNAL("TQtSig()"),PYSIGNAL("PySig"))
+TQObject.connect(a,SIGNAL("TQtSig()"),SLOT("TQtSlot()"))
+TQObject.connect(a,PYSIGNAL("PySig"),pyFunction)
+TQObject.connect(a,PYSIGNAL("PySig"),pyClass.pyMethod)
+TQObject.connect(a,PYSIGNAL("PySig"),SIGNAL("TQtSig()"))
+TQObject.connect(a,PYSIGNAL("PySig"),SLOT("TQtSlot()")) |
When a slot is a Python method that corresponds to a Qt slot then a signal can
-be connected to either the Python method or the Qt slot. The following
+>When a slot is a Python method that corresponds to a TQt slot then a signal can
+be connected to either the Python method or the TQt slot. The following
connections achieve the same effect. sbar = QScrollBar()
-lcd = QLCDNumber()
+>sbar = TQScrollBar()
+lcd = TQLCDNumber()
-QObject.connect(sbar,SIGNAL("valueChanged(int)"),lcd.display)
-QObject.connect(sbar,SIGNAL("valueChanged(int)"),lcd,SLOT("display(int)")) |
Any instance of a class that is derived from the QObjectTQObject
class can emit a signal using the emit method. This takes
-two arguments. The first is the Python or Qt signal, the second is a Python
+two arguments. The first is the Python or TQt signal, the second is a Python
tuple which are the arguments to the signal. For example: Qt allows a signal to be connected to a slot that requires fewer arguments than
-the signal passes. The extra arguments are quietly discarded. Python slots
+>TQt allows a signal to be connected to a slot that retquires fewer arguments than
+the signal passes. The extra arguments are tquietly discarded. Python slots
can be used in the same way. QObject::connect()TQObject::connect() is called from Python as
QObject.connect()TQObject.connect() or self.connect() if
called from a sub-class of QObjectTQObject. Qt.SolidPattern
-QWidget.TabFocus
-QFrame.TabFocus TQt.SolidPattern
+TQWidget.TabFocus
+TQFrame.TabFocus | Qt ConstantsTQt ConstantsAll constant values defined by Qt have equivalent constants defined to Python. All constant values defined by TQt have equivalent constants defined to Python.QAccelTQAccel QAccelTQAccel is fully implemented. QApplicationTQApplication QApplication TQApplication(int &argc, char **argv); This takes one parameter which is a list of argument strings. Arguments
-used by Qt are removed from the list. QApplication TQApplication(int &argc, char **argv, bool GUIenabled);
This takes two parameters, the first of which is a list of argument strings.
-Arguments used by Qt are removed from the list. QApplication TQApplication(int &argc, char **argv, Type type);
This takes two parameters, the first of which is a list of argument strings.
-Arguments used by Qt are removed from the list. (Qt v2.2+) QBitmapTQBitmap QBitmapTQBitmap is fully implemented. QBrushTQBrush QBrushTQBrush is fully implemented, including the Python
QButtonTQButton QButtonTQButton is fully implemented. QButtonGroupTQButtonGroup QButtonGroupTQButtonGroup is fully implemented. QByteArrayTQByteArray A Python string can be used whenever a QByteArrayTQByteArray can be
used. A QByteArrayTQByteArray can be converted to a Python string
using the Python QByteArray &assign TQByteArray &assign(const char *data, uint size); QByteArray &setRawData TQByteArray &setRawData(const char *data, uintsize); QCDEStyle (Qt v2+)TQCDEStyle (TQt v2+)QCDEStyleTQCDEStyle is fully implemented. QCheckBoxTQCheckBox QCheckBoxTQCheckBox is fully implemented. QClipboardTQClipboard Not yet implemented (Qt v1.x). Not yet implemented (TQt v1.x). Not yet implemented (Qt v1.x). Not yet implemented (TQt v1.x). QColorTQColor The Python QColorDialog (Qt v2+)TQColorDialog (TQt v2+)static QRgb getRgba (QRgb initial, bool *ok, QWidget *parent = 0, const char *name = 0); static TQRgb getRgba(TQRgb initial, bool *ok, TQWidget *parent = 0, const char *name = 0); parameters and returns a tuple containing the
QRgbTQRgb result and the okQColorGroupTQColorGroup QColorGroupTQColorGroup is fully implemented. QComboBoxTQComboBox QComboBoxTQComboBox is fully implemented. QCommonStyle (Qt v2+)TQCommonStyle (TQt v2+) y values. (Qt v2) values. (TQt v2) virtual void tabbarMetrics (const QTabBar *t, int &hframe, int &vframe, int &overlap);
(const TQTabBar *t, int &hframe, int &vframe, int &overlap); overlap values. (Qt v2) values. (TQt v2) QCString (Qt v2+)TQCString (TQt v2+) A Python string can be used whenever a QCStringTQCString can be used.
A QCStringTQCString can be converted to a Python string using the
Python QCString &sprintf TQCString &sprintf(const char *format, ...); QCursorTQCursor QCursorTQCursor is fully implemented. QDataStreamTQDataStream QDataStream &readBytes TQDataStream &readBytes(const char *&s, uint &l); This takes no parameters. The QDataStreamTQDataStream result and the
data read are returned as a tuple. QDataStream &readRawBytes TQDataStream &readRawBytes(const char *s, uint l); parameter. The
QDataStreamTQDataStream result and the data read are returned as a
tuple. QDataStream &writeBytes TQDataStream &writeBytes(const char *s, uint len); QDataStream &writeRawBytes TQDataStream &writeRawBytes(const char *s, uint len); QDateTQDateThe Python
@@ -3018,7 +3018,7 @@ CLASS="FUNCDEF"
> This takes no parameters and returns the week number and the year number as a
-tuple. (Qt v3.1+) QDateTimeTQDateTime QDateTimeTQDateTime is fully implemented, including the Python
QTimeTQTime QTimeTQTime is fully implemented, including the Python
QDateEdit (Qt v3+)TQDateEdit (TQt v3+) QDateEditTQDateEdit is fully implemented. QDialogTQDialog QObject.deleteLater()TQObject.deleteLater() or other techniques. QDirTQDir QDirTQDir is fully implemented, including the Python
QFileInfoListTQFileInfoList This class isn't implemented. Whenever a QFileInfoListTQFileInfoList is
the return type of a function or the type of an argument, a Python list of
QFileInfoTQFileInfo instances is used instead. QDockArea (Qt v3+)TQDockArea (TQt v3+) bool hasDockWindow const (QDockWindow *w, int *index = 0); (TQDockWindow *w, int *index = 0); w parameter and returns the index of the
-QDockWIndow or -1 if the QDockArea does not contain the QDockWindow. QDragObjectTQDragObject QDragObjectTQDragObject is fully implemented. QImageDragTQImageDrag QImageDragTQImageDrag is fully implemented. QStoredDragTQStoredDrag QStoredDragTQStoredDrag is fully implemented. QTextDragTQTextDrag QTextDragTQTextDrag is fully implemented. QDropSiteTQDropSite QDropSiteTQDropSite is fully implemented. QEventTQEvent QEventTQEvent is fully implemented. Instances of QEventTQEvents are automatically converted to the
correct sub-class. QChildEventTQChildEvent QChildEventTQChildEvent is fully implemented. QCloseEventTQCloseEvent QCloseEventTQCloseEvent is fully implemented. QCustomEventTQCustomEvent QCustomEventTQCustomEvent is fully implemented. Any Python object can be
passed as the event data and its reference count is increased. QDragEnterEventTQDragEnterEventQDragEnterEventTQDragEnterEvent is fully implemented. QDragLeaveEventTQDragLeaveEvent QDragLeaveEventTQDragLeaveEvent is fully implemented. QDragMoveEventTQDragMoveEvent QDragMoveEventTQDragMoveEvent is fully implemented. QDropEventTQDropEvent QDropEventTQDropEvent is fully implemented. QFocusEventTQFocusEvent QFocusEventTQFocusEvent is fully implemented. QHideEventTQHideEvent QHideEventTQHideEvent is fully implemented. QKeyEventTQKeyEvent QKeyEventTQKeyEvent is fully implemented. QMouseEventTQMouseEvent QMouseEventTQMouseEvent is fully implemented. QMoveEventTQMoveEvent QMoveEventTQMoveEvent is fully implemented. QPaintEventTQPaintEvent QPaintEventTQPaintEvent is fully implemented. QResizeEventTQResizeEvent QResizeEventTQResizeEvent is fully implemented. QShowEventTQShowEvent QShowEventTQShowEvent is fully implemented. QTimerEventTQTimerEvent QTimerEventTQTimerEvent is fully implemented. QEventLoop (Qt v3.1+)TQEventLoop (TQt v3.1+) QFileTQFile Not yet implemented. (Qt v2+) Not yet implemented. (TQt v2+) Not yet implemented. (Qt v2+) Not yet implemented. (TQt v2+) QFileDialogTQFileDialog QFileDialogTQFileDialog is fully implemented. QFileIconProviderTQFileIconProvider QFileIconProviderTQFileIconProvider is fully implemented. QFilePreviewTQFilePreview QFilePreviewTQFilePreview is fully implemented. However it cannot be
-used from Python in the same way as it is used from C++ because PyQt does not
+used from Python in the same way as it is used from C++ because PyTQt does not
support multiple inheritance involving more than one wrapped class. A trick
that seems to work is to use composition rather than inheritance as in the
following code fragment. class FilePreview(QFilePreview):
+>class FilePreview(TQFilePreview):
pass
-class Preview(QLabel):
+class Preview(TQLabel):
def __init__(self, parent=None):
- QLabel.__init__(self, parent)
+ TQLabel.__init__(self, parent)
self.preview = FilePreview()
self.preview.previewUrl = self.previewUrl | |
Note that QFilePreview cannot be instantiated directly because it is abstract.
+>Note that TQFilePreview cannot be instantiated directly because it is abstract.
Thanks to Hans-Peter Jansen for this trick.
QFileInfoTQFileInfo
QFileInfoTQFileInfo is fully implemented.
QFontTQFont
QFontTQFont is fully implemented, including the Python
QFontDatabase (Qt v2.1+)TQFontDatabase (TQt v2.1+)
QFontDatabaseTQFontDatabase is fully implemented.
QFontDialog (Qt v2+)TQFontDialog (TQt v2+)
static QFont getFont
(bool *ok, const QFont &def, QWidget *parent = 0, const char *name = 0);
static TQFont getFont(bool *ok, const TQFont &def, TQWidget *parent = 0, const char *name = 0);
parameters and returns a tuple containing the
QFontTQFont result and the okstatic QFont getFont
(bool *ok, QWidget *parent = 0, const char *name = 0);
static TQFont getFont(bool *ok, TQWidget *parent = 0, const char *name = 0);
parameters
and returns a tuple containing the QFontTQFont result and the
QFontInfoTQFontInfo
QFontInfoTQFontInfo is fully implemented.
QFontMetricsTQFontMetrics
QRect boundingRect
(int x, int y, int w, int h, int flags, const QString &str, int len = -1, int tabstops = 0, int *tabarray = 0);
TQRect boundingRect(int x, int y, int w, int h, int flags, const TQString &str, int len = -1, int tabstops = 0, int *tabarray = 0);
QSize size
(int flags, const QString &str, int len = -1, int tabstops = 0, int *tabarray = 0);
TQSize size(int flags, const TQString &str, int len = -1, int tabstops = 0, int *tabarray = 0);
QFrameTQFrame
QFrameTQFrame is fully implemented.
QChain (Qt v1.x)TQChain (TQt v1.x)
QChainTQChain is implemented as an opaque class.
QGroupBoxTQGroupBox
QGroupBoxTQGroupBox is fully implemented.
QHeaderTQHeader
QHeaderTQHeader is fully implemented.
QIconSetTQIconSet
QIconSetTQIconSet is fully implemented.
QIconView (Qt v2.1+)TQIconView (TQt v2.1+)
QIconViewItem *makeRowLayout
(QIconViewItem *begin, int &y);
TQIconViewItem *makeRowLayout(TQIconViewItem *begin, int &y);
QIconViewItem (Qt v2.1+)TQIconViewItem (TQt v2.1+)
QIconViewItemTQIconViewItem is fully implemented.
QImageTQImage
The Python QImage
TQImage(const char *xpm[]);
QImage
(uchar *data, int w, int h, int depth, QRgb *colorTable, int numColors, Endian bitOrder);TQImage(uchar *data, int w, int h, int depth, TQRgb *colorTable, int numColors, Endian bitOrder);
The colorTable parameter is a list of QRgb instances or
-None. (Qt v2.1+)
parameter is a list of TQRgb instances or
+None. (TQt v2.1+)QRgb *colorTable
TQRgb *colorTable();
QImage convertDepthWithPalette
(int, QRgb *p, int pc, int cf = 0);TQImage convertDepthWithPalette(int, TQRgb *p, int pc, int cf = 0);
QImageIOTQImageIO
QImageTextKeyLangTQImageTextKeyLang
QImageTextKeyLangTQImageTextKeyLang is fully implemented.
QInputDialog (Qt v2.1+)TQInputDialog (TQt v2.1+)
static QString getText
(const QString &caption, const QString &label, const QString &text = QString::null, bool *ok = 0, QWidget *parent = 0, const char *name = 0);
static TQString getText(const TQString &caption, const TQString &label, const TQString &text = TQString::null, bool *ok = 0, TQWidget *parent = 0, const char *name = 0);
is not passed and the returned value is a tuple of
the QStringTQString result and the ok flag.
-(Qt v2.1 - v2.3.1)
static QString getText
(const QString &caption, const QString &label, QLineEdit::EchoModeecho, const QString &text = QString::null, bool *ok = 0, QWidget *parent = 0, const char *name = 0);
static TQString getText(const TQString &caption, const TQString &label, TQLineEdit::EchoModeecho, const TQString &text = TQString::null, bool *ok = 0, TQWidget *parent = 0, const char *name = 0);
is not passed and the returned value is a tuple of
the QStringTQString result and the ok flag.
-(Qt v2.2 - v2.3.1)
static QString getText
(const QString &caption, const QString &label, QLineEdit::EchoModeecho = QLineEdit::Normal, const QString &text = QString::null, bool *ok = 0, QWidget *parent = 0, const char *name = 0);
static TQString getText(const TQString &caption, const TQString &label, TQLineEdit::EchoModeecho = TQLineEdit::Normal, const TQString &text = TQString::null, bool *ok = 0, TQWidget *parent = 0, const char *name = 0);
is not passed and the returned value is a tuple of
the QStringTQString result and the ok flag.
-(Qt v3+)
static int getInteger
(const QString &caption, const QString &label, int num = 0, int from = -2147483647, int to = 2147483647, int step = 1, bool *ok = 0, QWidget *parent = 0, const char *name = 0);
(const TQString &caption, const TQString &label, int num = 0, int from = -2147483647, int to = 2147483647, int step = 1, bool *ok = 0, TQWidget *parent = 0, const char *name = 0);
static double getDouble
(const QString &caption, const QString &label, double num = 0, double from = -2147483647, double to = 2147483647, int step = 1, bool *ok = 0, QWidget *parent = 0, const char *name = 0);
(const TQString &caption, const TQString &label, double num = 0, double from = -2147483647, double to = 2147483647, int step = 1, bool *ok = 0, TQWidget *parent = 0, const char *name = 0);
static QString getItem
(const QString &caption, const QString &label, const QStringList &list, int current = 0, bool editable = TRUE, bool *ok = 0, QWidget *parent = 0, const char *name = 0);
static TQString getItem(const TQString &caption, const TQString &label, const TQStringList &list, int current = 0, bool editable = TRUE, bool *ok = 0, TQWidget *parent = 0, const char *name = 0);
is not passed and the returned value is a tuple of
the QStringTQString result and the okQInterlaceStyle (Qt v2.3.1+)TQInterlaceStyle (TQt v2.3.1+)
void scrollBarMetrics
(const QTabBar *sb, int &sliderMin, int &sliderMax, int &sliderLength, int &buttonDim);
(const TQTabBar *sb, int &sliderMin, int &sliderMax, int &sliderLength, int &buttonDim);
QIODeviceTQIODevice
QIODeviceTQIODevice is fully implemented.
QKeySequence (Qt v3+)TQKeySequence (TQt v3+)
QKeySequenceTQKeySequence is fully implemented including the operators
!=, QString()TQString() and
int(). A QStringTQString instance or a Python
integer may be used whenever a QKeySequenceTQKeySequence can be used.
QLabelTQLabel
QLabelTQLabel is fully implemented.
QLayoutTQLayout
QLayoutTQLayout is fully implemented.
QBoxLayoutTQBoxLayout
QBoxLayoutTQBoxLayout is fully implemented.
QGridLayoutTQGridLayout
bool findWidget
(QWidget *w, int *row, int *col);
(TQWidget *w, int *row, int *col);
col. (Qt v2+)
. (TQt v2+)
QHBoxLayoutTQHBoxLayout
QHBoxLayoutTQHBoxLayout is fully implemented.
QLayoutIterator (Qt v2+)TQLayoutIterator (TQt v2+)
QLayoutItem *next
TQLayoutItem *next();
This is a wrapper around the QLayoutIteratorTQLayoutIterator
QSpacerItem (Qt v2+)TQSpacerItem (TQt v2+)
QSpacerItemTQSpacerItem is fully implemented.
QVBoxLayoutTQVBoxLayout
QVBoxLayoutTQVBoxLayout is fully implemented.
QLCDNumberTQLCDNumber
QLCDNumberTQLCDNumber is fully implemented.
QLineEditTQLineEdit
int characterAt
(int xpos, QChar *chr);
(int xpos, TQChar *chr);
chr value as a tuple. (Qt v3+)
value as a tuple. (TQt v3+)
This has been renamed delChar in Python. (Qt v2+)
in Python. (TQt v2+)
end values as a tuple.
-(Qt v3+)
QList<type> (Qt v2)TQList<type> (TQt v2)
Types based on the QListTQList template are automatically
converted to and from Python lists of the type.
QListBoxTQListBox
yPos.
-(Qt v1.x)
QListBoxItemTQListBoxItem
QListBoxItemTQListBoxItem is fully implemented.
QListBoxPixmapTQListBoxPixmap
QListBoxPixmapTQListBoxPixmap is fully implemented.
QListBoxTextTQListBoxText
QListBoxTextTQListBoxText is fully implemented.
QListViewTQListView
QListViewTQListView is fully implemented.
Note that to remove a child QListViewItemTQListViewItem you must first
call QListViewItemTQListViewItem
QListViewItemTQListViewItem is fully implemented.
Note that to remove a child QListViewItemTQListViewItem you must first
call QCheckListItemTQCheckListItem
QCheckListItemTQCheckListItem is fully implemented.
QLocale (Qt v3.3+)TQLocale (TQt v3.3+)
QMainWindowTQMainWindow
QTextStream &operator<<
(QTextStream &, const QMainWindow &);
TQTextStream &operator<<(TQTextStream &, const TQMainWindow &);
This operator is fully implemented. (Qt v3+)
This operator is fully implemented. (TQt v3+)
QTextStream &operator>>
(QTextStream &, QMainWindow &);
TQTextStream &operator>>(TQTextStream &, TQMainWindow &);
This operator is fully implemented. (Qt v3+)
This operator is fully implemented. (TQt v3+)
bool getLocation
(QToolBar *tb, ToolBarDock &dock, int &index, bool &nl, int &extraOffset);
(TQToolBar *tb, ToolBarDock &dock, int &index, bool &nl, int &extraOffset);
and extraOffset values. (Qt v2.1.0+)
values. (TQt v2.1.0+)
QList<QToolBar> toolBars
TQList<TQToolBar> toolBars(ToolBarDock dock);
This returns a list of QToolBar instances. (Qt v2.1.0+)
TQToolBar instances. (TQt v2.1.0+)
QMemArray<type> (Qt v3+)TQMemArray<type> (TQt v3+)
Types based on the QMemArrayTQMemArray template are automatically
converted to and from Python lists of the type.
QMenuBarTQMenuBar
QMenuBarTQMenuBar is fully implemented.
QMenuDataTQMenuData
QMenuItem *findItem
(int id, QMenuData **parent);
TQMenuItem *findItem(int id, TQMenuData **parent);
QCustomMenuItem (Qt v2.1+)TQCustomMenuItem (TQt v2.1+)
QCustomMenuItemTQCustomMenuItem is fully implemented.
QMenuItemTQMenuItem
QMenuItem is an internal Qt class.
TQMenuItem is an internal TQt class.
QMessageBoxTQMessageBox
QMessageBoxTQMessageBox is fully implemented.
QMetaObjectTQMetaObject
const QClassInfo *classInfo const
const TQClassInfo *classInfo const(bool super = FALSE);
QMetaPropertyTQMetaProperty
QMetaPropertyTQMetaProperty is fully implemented.
QMotifPlusStyle (Qt v2.2+)TQMotifPlusStyle (TQt v2.2+)
y values. (Qt v2) values. (TQt v2)
void scrollBarMetrics
(const QScrollBar *sb, int &sliderMin, int &sliderMax, int &sliderLength, int &buttonDim);
(const TQScrollBar *sb, int &sliderMin, int &sliderMax, int &sliderLength, int &buttonDim);
buttonDim values.
-(Qt v2)
QMotifStyle (Qt v2+)TQMotifStyle (TQt v2+)
void scrollBarMetrics
(const QTabBar *sb, int &sliderMin, int &sliderMax, int &sliderLength, int &buttonDim);
(const TQTabBar *sb, int &sliderMin, int &sliderMax, int &sliderLength, int &buttonDim);
buttonDim values.
-(Qt v2)
void tabbarMetrics
(const QTabBar *t, int &hframe, int &vframe, int &overlap);
(const TQTabBar *t, int &hframe, int &vframe, int &overlap);
overlap values. (Qt v2)
values. (TQt v2)
QMovieTQMovie
QMovie
(QDataSource *src, int bufsize = 1024);
TQMovie(TQDataSource *src, int bufsize = 1024);
data and not
-passed as a parameter. (Qt v2.2.0+)
QMultiLineEditTQMultiLineEdit
col values. (Qt v1.x, Qt v2.x) values. (TQt v1.x, TQt v2.x)
This has been renamed delChar in Python. (Qt v1.x, Qt v2.x)
in Python. (TQt v1.x, TQt v2.x)
col values. (Qt v1.x, Qt v2.x)
values. (TQt v1.x, TQt v2.x)
QObjectTQObject
bool disconnect
(const QObject *receiver, const char *member = 0);
(const TQObject *receiver, const char *member = 0);
bool disconnect
(const char *signal = 0, const QObject *receiver = 0, const char *member = 0);
(const char *signal = 0, const TQObject *receiver = 0, const char *member = 0);
static bool disconnect
(const QObject *sender, const char *signal, const QObject *receiver, const char *member);
(const TQObject *sender, const char *signal, const TQObject *receiver, const char *member);
At the moment PyQt does not support the full behaviour of the corresponding Qt
+>At the moment PyTQt does not support the full behaviour of the corresponding TQt
method. In particular, specifying None (ie. 0 in C++) for the
QObjectCleanupHandler (Qt v3+)TQObjectCleanupHandler (TQt v3+)
QObjectCleanupHandlerTQObjectCleanupHandler is fully implemented.
QObjectListTQObjectList
This class isn't implemented. Whenever a QObjectListTQObjectList is the
return type of a function or the type of an argument, a Python list of
QObjectTQObject instances is used instead.
QPaintDeviceMetricsTQPaintDeviceMetrics
QPaintDeviceMetricsTQPaintDeviceMetrics is fully implemented.
QPaintDeviceTQPaintDevice
virtual bool cmd
(int, QPainter *, QPDevCmdParam *);
(int, TQPainter *, TQPDevCmdParam *);
QPainterTQPainter
QRect boundingRect
TQRect boundingRect(int x, int y, int w, int h, int flags, const char *str, int len = -1, char **intern = 0);
QRect boundingRect
(const QRect&, int flags, const char *str, int len = -1, char **intern = 0);
TQRect boundingRect(const TQRect&, int flags, const char *str, int len = -1, char **intern = 0);
void drawText
(int x, int y, int w, int h, int flags, const char *str, int len = -1, QRect *br = 0, char **intern = 0);
(int x, int y, int w, int h, int flags, const char *str, int len = -1, TQRect *br = 0, char **intern = 0);
void drawText
(const QRect&, int flags, const char *str, int len = -1, QRect *br = 0, char **intern = 0);
(const TQRect&, int flags, const char *str, int len = -1, TQRect *br = 0, char **intern = 0);
QPaletteTQPalette
QPaletteTQPalette is fully implemented, including the Python
QPixmapTQPixmapQPixmap
TQPixmap(const char *xpm[]);
QPixmapCache (Qt v3+)TQPixmapCache (TQt v3+)
QPixmapCacheTQPixmapCache is fully implemented.
QPair<type,type> (Qt v3+)TQPair<type,type> (TQt v3+)
Types based on the QPairTQPair template are automatically
converted to and from Python tuples of two elements.
QPenTQPen
QPenTQPen is fully implemented, including the Python
QPictureTQPictureQPlatinumStyle (Qt v2+)TQPlatinumStyle (TQt v2+)
void scrollBarMetrics
(const QTabBar *sb, int &sliderMin, int &sliderMax, int &sliderLength, int &buttonDim);
(const TQTabBar *sb, int &sliderMin, int &sliderMax, int &sliderLength, int &buttonDim);
buttonDim values.
-(Qt v2)
QPointTQPoint
The Python
@@ -6652,7 +6652,7 @@ NAME="AEN2485"
>QCOORD &rx
TQCOORD &rx();
QCOORD &ry
TQCOORD &ry();
QPointArrayTQPointArray
QPointArray
(int nPoints, const QCOORD *points);
TQPointArray(int nPoints, const TQCOORD *points);
bool putPoints
(int index, int nPoints, const QCOORD *points);
(int index, int nPoints, const TQCOORD *points);
bool setPoints
(int nPoints, const QCOORD *points);
(int nPoints, const TQCOORD *points);
QPopupMenuTQPopupMenu
int exec
(const QPoint &pos, int indexAtPoint = 0);
(const TQPoint &pos, int indexAtPoint = 0);
QPrintDialog (X11)TQPrintDialog (X11)
QPrintDialogTQPrintDialog is fully implemented.
QPrinterTQPrinter
QPrinterTQPrinter is fully implemented.
QProgressBarTQProgressBar
QProgressBarTQProgressBar is fully implemented.
QProgressDialogTQProgressDialog
QProgressDialogTQProgressDialog is fully implemented.
value.
QPtrList<type> (Qt v3+)TQPtrList<type> (TQt v3+)Types based on the QPtrListTQPtrList template are automatically
converted to and from Python lists of the type.
QPushButtonTQPushButtonQPushButtonTQPushButton is fully implemented.
QRadioButtonTQRadioButton
QRadioButtonTQRadioButton is fully implemented.
QRangeControlTQRangeControl
QRangeControlTQRangeControl is fully implemented.
QRectTQRect
The Python
@@ -7036,12 +7036,12 @@ NAME="AEN2649"
>QCOORD &rBottom
TQCOORD &rBottom();
Not implemented. (Qt v2+)
Not implemented. (TQt v2+)QCOORD &rLeft
TQCOORD &rLeft();
Not implemented. (Qt v2+)
Not implemented. (TQt v2+)QCOORD &rRight
TQCOORD &rRight();
Not implemented. (Qt v2+)
Not implemented. (TQt v2+)QCOORD &rTop
TQCOORD &rTop();
Not implemented. (Qt v2+)
Not implemented. (TQt v2+)QRegExpTQRegExp
The Python len value. (Qt v1.x)
value. (TQt v1.x)
int match
(const QString &str, int index = 0, int *len = 0);
(const TQString &str, int index = 0, int *len = 0);
len value. (Qt v2+)
value. (TQt v2+)
QRegionTQRegion
The Python
@@ -7232,7 +7232,7 @@ NAME="AEN2719"
>QArray<QRect> rects
TQArray<TQRect> rects();
void setRects
(QRect *rects, int num);(TQRect *rects, int num);
Not yet implemented. (Qt v2.2+)
Not yet implemented. (TQt v2.2+)QScrollBarTQScrollBar
QScrollBarTQScrollBar is fully implemented.
QScrollViewTQScrollView
vy
-values. (Qt v2+)
QSemaphore (Qt v2.2+)TQSemaphore (TQt v2.2+)
QSemaphoreTQSemaphore is fully implemented. The +=-= operators have also been implemented, but require
+> operators have also been implemented, but retquire
Python v2.0 or later.
QSettings (Qt v3+)TQSettings (TQt v3+)
bool readBoolEntry
(const QString &key, bool def = 0, bool *ok = 0);
(const TQString &key, bool def = 0, bool *ok = 0);
double readDoubleEntry
(const QString &key, double def = 0, bool *ok = 0);
(const TQString &key, double def = 0, bool *ok = 0);
QString readEntry
(const QString &key, const QString &def = QString::null, bool *ok = 0);
TQString readEntry(const TQString &key, const TQString &def = TQString::null, bool *ok = 0);
is not passed and the returned value is a tuple of
the QStringTQString result and the okQStringList readListEntry
(const QString &key, bool *ok = 0);
TQStringList readListEntry(const TQString &key, bool *ok = 0);
is not passed and the returned value is a tuple of
the QStringListTQStringList result and the okQStringList readListEntry
(const QString &key, const QChar &separator, bool *ok = 0);
TQStringList readListEntry(const TQString &key, const TQChar &separator, bool *ok = 0);
is not passed and the returned value is a tuple of
the QStringListTQStringList result and the okint readNumEntry
(const QString &key, int def = 0, bool *ok = 0);
(const TQString &key, int def = 0, bool *ok = 0);
bool writeEntry
(const QString &key, bool value);
(const TQString &key, bool value);
QSGIStyle (Qt v2.2+)TQSGIStyle (TQt v2.2+)
void scrollBarMetrics
(const QScrollBar *sb, int &sliderMin, int &sliderMax, int &sliderLength, int &buttonDim);
(const TQScrollBar *sb, int &sliderMin, int &sliderMax, int &sliderLength, int &buttonDim);
buttonDim values.
-(Qt v2)
QSignalMapperTQSignalMapper
QSignalMapperTQSignalMapper is fully implemented.
QSizeTQSize
The Python
@@ -7687,7 +7687,7 @@ NAME="AEN2913"
>QCOORD &rheight
TQCOORD &rheight();
QCOORD &rwidth
TQCOORD &rwidth();QSizeGrip (Qt v2+)TQSizeGrip (TQt v2+)QSizeGripTQSizeGrip is fully implemented.
QSliderTQSlider
QSliderTQSlider is fully implemented.
QSocketNotifierTQSocketNotifier
QSocketNotifierTQSocketNotifier is fully implemented.
QSpinBoxTQSpinBox
QSplitterTQSplitter
and max values as a tuple. (Qt v2+) values as a tuple. (TQt v2+)
QStatusBarTQStatusBar
QStatusBarTQStatusBar is fully implemented.
QChar (Qt v2+)TQChar (TQt v2+)
QStringTQString
A Python string object (or Unicode object) can be used whenever a
QStringTQString can be used. A QStringTQString can be
converted to a Python string object using the Python QCharRef at
TQCharRef at(uint i);
Not yet implemented. (Qt v2+)
Not yet implemented. (TQt v2+)
QChar constref const
TQChar constref const(uint i);
Not yet implemented. (Qt v2+)
Not yet implemented. (TQt v2+)
QChar &ref
TQChar &ref(uint i);
Not yet implemented. (Qt v2+)
Not yet implemented. (TQt v2+)
QString &setUnicodeCodes
TQString &setUnicodeCodes(const ushort *unicode_as_shorts, uint len);
Not yet implemented. (Qt v2.1+)
Not yet implemented. (TQt v2.1+)
QString &sprintf
TQString &sprintf(const char *format, ...);
QStringList (Qt v2+)TQStringList (TQt v2+)
The Python Iterator append
(const QString &x);
(const TQString &x);
Iterator prepend
(const QString &x);
(const TQString &x);
QStrListTQStrList
This class isn't implemented. Whenever a QStrListTQStrList is the
return type of a function or the type of an argument, a Python list of strings
is used instead.
QStyle (Qt v2+)TQStyle (TQt v2+)
y values. (Qt v2) values. (TQt v2)
virtual void scrollBarMetrics
(const QScrollBar *b, int &sliderMin, int &sliderMax, int &sliderLength, int &buttonDim);
(const TQScrollBar *b, int &sliderMin, int &sliderMax, int &sliderLength, int &buttonDim);
buttonDim values.
-(Qt v2)
virtual void tabbarMetrics
(const QTabBar *t, int &hframe, int &vframe, int &overlap);
(const TQTabBar *t, int &hframe, int &vframe, int &overlap);
overlap values. (Qt v2)
values. (TQt v2)
QTabTQTab
QTabTQTab is fully implemented.
QTabBarTQTabBar
QList<QTab> tabList
TQList<TQTab> tabList();
This returns a list of QTabTQTab instances.
QTabDialogTQTabDialog
QTabDialogTQTabDialog is fully implemented.
QTableView (Qt 1.x, Qt 2.x)TQTableView (TQt 1.x, TQt 2.x)
QTextCodec (Qt v2+)TQTextCodec (TQt v2+)
virtual QCString fromUnicode
(const QString &uc, int &lenInOut);
virtual TQCString fromUnicode(const TQString &uc, int &lenInOut);
The returned value is a tuple of the QCStringTQCString result and the
updated QTextDecoder (Qt v2+)TQTextDecoder (TQt v2+)
QTextDecoderTQTextDecoder is fully implemented.
QTextEncoder (Qt v2+)TQTextEncoder (TQt v2+)
virtual QCString fromUnicode = 0
(const QString &uc, int &lenInOut);
virtual TQCString fromUnicode = 0(const TQString &uc, int &lenInOut);
The returned value is a tuple of the QCStringTQCString result and the
updated QTextEdit (Qt v3+)TQTextEdit (TQt v3+)int charAt
(const QPoint &pos, int *para = 0);
(const TQPoint &pos, int *para = 0);
virtual bool find
(const QString &expr, bool cs, bool wo, bool forward = TRUE, int *para = 0, int *index = 0);
(const TQString &expr, bool cs, bool wo, bool forward = TRUE, int *para = 0, int *index = 0);
QTextStreamTQTextStream
QTextStream
TQTextStream(FILE *fp, int mode);
QTextStream &readRawBytes
TQTextStream &readRawBytes(char *buf, uint len);
QTextStream &writeRawBytes
TQTextStream &writeRawBytes(const char *buf, uint len);
QTextIStream (Qt v2+)TQTextIStream (TQt v2+)QTextIStream
TQTextIStream(FILE *fp, int mode);
QTextOStream (Qt v2+)TQTextOStream (TQt v2+)QTextOStream
TQTextOStream(FILE *fp, int mode);
QTextView (Qt v2+)TQTextView (TQt v2+)QTextViewTQTextView is fully implemented.
QTimerTQTimer
QTimerTQTimer is fully implemented.
QToolBarTQToolBar
QToolBarTQToolBar is fully implemented.
QToolButtonTQToolButton
QToolButtonTQToolButton is fully implemented.
QToolTipTQToolTip
QToolTipTQToolTip is fully implemented.
QToolTipGroupTQToolTipGroup
QToolTipGroupTQToolTipGroup is fully implemented.
QUrl (Qt v2.1+)TQUrl (TQt v2.1+)
QUrlTQUrl is fully implemented, including the
QString()TQString(), ==QUrlInfo (Qt v2.1+)TQUrlInfo (TQt v2.1+)
QUrlInfoTQUrlInfo is fully implemented.
QUrlOperator (Qt v2.1+)TQUrlOperator (TQt v2.1+)
QValidatorTQValidator
virtual State validate
(QString& input, int& pos);
(TQString& input, int& pos);
QDoubleValidatorTQDoubleValidator
State validate
(QString& input, int& pos);
(TQString& input, int& pos);
QIntValidatorTQIntValidator
State validate
(QString& input, int& pos);
(TQString& input, int& pos);
QRegExpValidator (Qt v3+)TQRegExpValidator (TQt v3+)
virtual State validate
(QString& input, int& pos);
(TQString& input, int& pos);
QValueList<type> (Qt v2+)TQValueList<type> (TQt v2+)
Types based on the QValueListTQValueList template are automatically
converted to and from Python lists of the type.
QVariant (Qt v2.1+)TQVariant (TQt v2.1+)
QVariant
TQVariant(const char *val);
QVariant
(const QBitArray &val);
TQVariant(const TQBitArray &val);
Not yet implemented. (Qt v3+)
Not yet implemented. (TQt v3+)QVariant
(const QValueList<QVariant> &val);
TQVariant(const TQValueList<TQVariant> &val);
QVariant
(const QMap<QString,QVariant> &val);
TQVariant(const TQMap<TQString,TQVariant> &val);
QBitArray &asBitArray
TQBitArray &asBitArray();
Not yet implemented. (Qt v3+)
Not yet implemented. (TQt v3+)QValueList<QVariant> &asList
TQValueList<TQVariant> &asList();
QMap<QString,QVariant> &asMap
TQMap<TQString,TQVariant> &asMap();QValueListConstIterator<QVariant>listBegin const
TQValueListConstIterator<TQVariant>listBegin const();QValueListConstIterator<QVariant>listEnd const
TQValueListConstIterator<TQVariant>listEnd const();QMapConstIterator<QString,QVariant>mapBegin const
TQMapConstIterator<TQString,TQVariant>mapBegin const();QMapConstIterator<QString,QVariant>mapEnd const
TQMapConstIterator<TQString,TQVariant>mapEnd const();QMapConstIterator<QString,QVariant>mapFind const
(const QString &key);TQMapConstIterator<TQString,TQVariant>mapFind const(const TQString &key);
QValueListConstIterator<QString>stringListBegin const
TQValueListConstIterator<TQString>stringListBegin const();
QValueListConstIterator<QString>stringListEnd const
TQValueListConstIterator<TQString>stringListEnd const();const QBitArray toBitArray const
const TQBitArray toBitArray const();Not yet implemented. (Qt v3+)
Not yet implemented. (TQt v3+)const QValueList<QVariant>toList const
const TQValueList<TQVariant>toList const();
const QMap<QString,QVariant>toMap const
const TQMap<TQString,TQVariant>toMap const();QVBox (Qt v2+)TQVBox (TQt v2+)QVBoxTQVBox is fully implemented.
QWhatsThisTQWhatsThis
QWhatsThisTQWhatsThis is fully implemented.
QWidgetTQWidget
QWExtra *extraData
TQWExtra *extraData();
QFocusData *focusData
TQFocusData *focusData();
QWidgetListTQWidgetListThis class isn't implemented. Whenever a QWidgetListTQWidgetList is the
return type of a function or the type of an argument, a Python list of
instances is used instead.
QWidgetStackTQWidgetStackQWidgetStackTQWidgetStack is fully implemented.
QWindowTQWindow
QWindow is fully implemented (Qt v1.x).
TQWindow is fully implemented (TQt v1.x).
QWindowsStyle (Qt v2+)TQWindowsStyle (TQt v2+)
y values. (Qt v2) values. (TQt v2)
void scrollBarMetrics
(const QTabBar *sb, int &sliderMin, int &sliderMax, int &sliderLength, int &buttonDim);
(const TQTabBar *sb, int &sliderMin, int &sliderMax, int &sliderLength, int &buttonDim);
buttonDim values.
-(Qt v2)
void tabbarMetrics
(const QTabBar *t, int &hframe, int &vframe, int &overlap);
(const TQTabBar *t, int &hframe, int &vframe, int &overlap);
overlap values. (Qt v2)
values. (TQt v2)
QWMatrixTQWMatrix
The Python QWMatrix invert const
TQWMatrix invert const(bool *invertible = 0);
This takes no parameters and returns a tuple of the QWMatrixTQWMatrix
result and the ty
-values. (Qt v1.x)
QAxBase (Windows, Qt v3+)TQAxBase (Windows, TQt v3+)QAxObject
TQAxObject(IUnknown *iface = 0);
long queryInterface
(const QUuid &uuid, void **iface);(const TQUuid &uuid, void **iface);
unsigned long registerWeakActiveObject
(const QString &guid);
(const TQString &guid);
This is a utility method provided by PyQt to make it easier to use
+>This is a utility method provided by PyTQt to make it easier to use
Mark Hammond's win32com COM function is called to
register the QAxBaseTQAxBase instance as a weak object with the
QAxObject (Windows, Qt v3+)TQAxObject (Windows, TQt v3+)QAxObject
(IUnknown *iface, QObject *parent = 0, const char *name = 0);
TQAxObject(IUnknown *iface, TQObject *parent = 0, const char *name = 0);
QAxWidget (Windows, Qt v3+)TQAxWidget (Windows, TQt v3+)
QAxWidget
(IUnknown *iface, QWidget *parent = 0, const char *name = 0);
TQAxWidget(IUnknown *iface, TQWidget *parent = 0, const char *name = 0);
QCanvas (Qt v2.2+)TQCanvas (TQt v2.2+)
QCanvasTQCanvas is fully implemented.
QCanvasItemList (Qt v2.2+)TQCanvasItemList (TQt v2.2+)
This class isn't implemented. Whenever a QCanvasItemListTQCanvasItemList is
the return type of a function or the type of an argument, a Python list of
QCanvasItemTQCanvasItem instances is used instead.
QCanvasPixmapArray (Qt v2.2+)TQCanvasPixmapArray (TQt v2.2+)
QPixmapArray
(QList<QPixmap> pixmaps, QList<QPoint> hotspots);
TQPixmapArray(TQList<TQPixmap> pixmaps, TQList<TQPoint> hotspots);
The pixmaps argument is a Python list of QPixmap instances,
+> argument is a Python list of TQPixmap instances,
and the hotspots argument is a Python list of QPoint
-instances. (Qt v2.2.0 - Qt v2.3.1)
argument is a Python list of TQPoint
+instances. (TQt v2.2.0 - TQt v2.3.1)
QPixmapArray
(QValueList<QPixmap> pixmaps, QPointArray hotspots = QPointArray());
TQPixmapArray(TQValueList<TQPixmap> pixmaps, TQPointArray hotspots = TQPointArray());
The pixmaps argument is a Python list of QPixmap instances.
-(Qt v3+)
argument is a Python list of TQPixmap instances.
+(TQt v3+)
QextScintillaLexerBash (QScintilla v1.4+)QextScintillaLexerBash (TQScintilla v1.4+)QextScintillaLexerBatch (QScintilla v1.6+)QextScintillaLexerBatch (TQScintilla v1.6+)
QextScintillaLexerCSS (QScintilla v1.6+)QextScintillaLexerCSS (TQScintilla v1.6+)
QextScintillaLexerDiff (QScintilla v1.6+)QextScintillaLexerDiff (TQScintilla v1.6+)
QextScintillaLexerHTML (QScintilla v1.1+)QextScintillaLexerHTML (TQScintilla v1.1+)
QextScintillaLexerLua (QScintilla v1.5+)QextScintillaLexerLua (TQScintilla v1.5+)
QextScintillaLexerMakefile (QScintilla v1.6+)QextScintillaLexerMakefile (TQScintilla v1.6+)
QextScintillaLexerPOV (QScintilla v1.6+)QextScintillaLexerPOV (TQScintilla v1.6+)
QextScintillaLexerProperties (QScintilla v1.6+)QextScintillaLexerProperties (TQScintilla v1.6+)
QextScintillaLexerRuby (QScintilla v1.5+)QextScintillaLexerRuby (TQScintilla v1.5+)
QextScintillaLexerSQL (QScintilla v1.1+)QextScintillaLexerSQL (TQScintilla v1.1+)
QextScintillaLexerTeX (QScintilla v1.6+)QextScintillaLexerTeX (TQScintilla v1.6+)
QGLTQGL
QGLTQGL is fully implemented.
QGLContextTQGLContext
QGLContextTQGLContext is fully implemented.
QGLFormatTQGLFormat
QGLFormatTQGLFormat is fully implemented.
QGLWidgetTQGLWidget
QGLWidgetTQGLWidget is fully implemented.
QGLColormap (Qt v3.0+)TQGLColormap (TQt v3.0+)
void setEntries
(int count, const QRgb *colors, int base = 0);
(int count, const TQRgb *colors, int base = 0);
QDns (Qt v2.2+)TQDns (TQt v2.2+)
QDnsTQDns is fully implemented.
QFtp (Qt v2.2+)TQFtp (TQt v2.2+)
QHostAddress (Qt v2.2+)TQHostAddress (TQt v2.2+)
QHostAddress
TQHostAddress(Q_UINT8 *ip6Addr);
QHostAddress
TQHostAddress(const Q_IPV6ADDR &ip6Addr);
QHttp (Qt v3+)TQHttp (TQt v3+)
QSocket (Qt v2.2+)TQSocket (TQt v2.2+)
QSocketDevice (Qt v2.2+)TQSocketDevice (TQt v2.2+)
QPEApplicationTQPEApplication
QApplication
TQApplication(int& argc, char **argv, Type type);
This takes two parameters, the first of which is a list of argument strings.
-Arguments used by Qt are removed from the list.
virtual QString exec const
virtual TQString exec const();
QString exec const
TQString exec const();
QCopEnvelopeTQCopEnvelope
QCopEnvelopeTQCopEnvelope is fully implemented.
QDawgTQDawg
QDawgTQDawg is fully implemented.
QPEMenuBarTQPEMenuBar
QPEMenuBarTQPEMenuBar is fully implemented.
QPEToolBarTQPEToolBar
QPEToolBarTQPEToolBar is fully implemented.
QDataBrowser (Qt v3+)TQDataBrowser (TQt v3+)
QSqlCursor (Qt v3+)TQSqlCursor (TQt v3+)
virtual int del
(const QString &filter, bool invalidate = TRUE);
(const TQString &filter, bool invalidate = TRUE);
bool exec
(const QString &query);
(const TQString &query);
QSqlDatabase (Qt v3+)TQSqlDatabase (TQt v3+)
QSqlQuery exec
(const QString &query = QString::null);
TQSqlQuery exec(const TQString &query = TQString::null);
QSqlDriver (Qt v3+)TQSqlDriver (TQt v3+)
QSqlDriverTQSqlDriver is fully implemented.
QSqlPropertyMap (Qt v3+)TQSqlPropertyMap (TQt v3+)
QSqlPropertyMap is fully implemented. However, because PyQt
+>TQSqlPropertyMap is fully implemented. However, because PyTQt
does not allow new properties to be defined, it is not possible to implement
custom editor widgets in Python and add them to a property map. This will
simple be ignored.
This problem may be addressed in a future release of PyQt.
This problem may be addressed in a future release of PyTQt.
QSqlQuery (Qt v3+)TQSqlQuery (TQt v3+)
QMap<QString,QVariant> boundValues const
TQMap<TQString,TQVariant> boundValues const();
Not yet implemented. (Qt v3.2.0+)
Not yet implemented. (TQt v3.2.0+)
virtual bool exec
(const QString &query);
(const TQString &query);
This has been renamed execQuery in Python. (Qt v3.1+)
in Python. (TQt v3.1+)
QSqlRecordInfo (Qt v3+)TQSqlRecordInfo (TQt v3+)
QSqlRecordInfoTQSqlRecordInfo is implemented as a Python list of
QSqlFieldInfoTQSqlFieldInfo instances.
QWidgetFactory (Qt v3+)TQWidgetFactory (TQt v3+)
QWidgetFactoryTQWidgetFactory is fully implemented.
QDomImplementation (Qt v2.2+)TQDomImplementation (TQt v2.2+)QDomImplementationTQDomImplementation is fully implemented.
QDomDocument (Qt v2.2+)TQDomDocument (TQt v2.2+)
bool setContent
(const QCString &buffer, bool namespaceProcessing, QString *errorMsg = 0, int *errorLine = 0, int *errorColumn = 0);
(const TQCString &buffer, bool namespaceProcessing, TQString *errorMsg = 0, int *errorLine = 0, int *errorColumn = 0);
errorColumn values. (Qt v3+)
values. (TQt v3+)
bool setContent
(const QByteArray &buffer, bool namespaceProcessing, QString *errorMsg = 0, int *errorLine = 0, int *errorColumn = 0);
(const TQByteArray &buffer, bool namespaceProcessing, TQString *errorMsg = 0, int *errorLine = 0, int *errorColumn = 0);
errorColumn values. (Qt v3+)
values. (TQt v3+)
bool setContent
(const QString &text, bool namespaceProcessing, QString *errorMsg = 0, int *errorLine = 0, int *errorColumn = 0);
(const TQString &text, bool namespaceProcessing, TQString *errorMsg = 0, int *errorLine = 0, int *errorColumn = 0);
errorColumn values. (Qt v3+)
values. (TQt v3+)
bool setContent
(const QIODevice *dev, bool namespaceProcessing, QString *errorMsg = 0, int *errorLine = 0, int *errorColumn = 0);
(const TQIODevice *dev, bool namespaceProcessing, TQString *errorMsg = 0, int *errorLine = 0, int *errorColumn = 0);
errorColumn values. (Qt v3+)
values. (TQt v3+)
bool setContent
(const QCString &buffer, QString *errorMsg = 0, int *errorLine = 0, int *errorColumn = 0);
(const TQCString &buffer, TQString *errorMsg = 0, int *errorLine = 0, int *errorColumn = 0);
errorColumn values. (Qt v3+)
values. (TQt v3+)
bool setContent
(const QByteArray &buffer, QString *errorMsg = 0, int *errorLine = 0, int *errorColumn = 0);
(const TQByteArray &buffer, TQString *errorMsg = 0, int *errorLine = 0, int *errorColumn = 0);
errorColumn values. (Qt v3+)
values. (TQt v3+)
bool setContent
(const QString &text, QString *errorMsg = 0, int *errorLine = 0, int *errorColumn = 0);
(const TQString &text, TQString *errorMsg = 0, int *errorLine = 0, int *errorColumn = 0);
errorColumn values. (Qt v3+)
values. (TQt v3+)
bool setContent
(const QIODevice *dev, QString *errorMsg = 0, int *errorLine = 0, int *errorColumn = 0);
(const TQIODevice *dev, TQString *errorMsg = 0, int *errorLine = 0, int *errorColumn = 0);
errorColumn values. (Qt v3+)
values. (TQt v3+)
bool setContent
(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg = 0, int *errorLine = 0, int *errorColumn = 0);
(TQXmlInputSource *source, TQXmlReader *reader, TQString *errorMsg = 0, int *errorLine = 0, int *errorColumn = 0);
Not yet implemented. (Qt v3.2.0+)
Not yet implemented. (TQt v3.2.0+)
- Python Bindings for Qt (3.18.1)
+ Python Bindings for TQt (3.18.1)
Phil
Thompson
- This document describes a set of Python bindings for the Qt widget set.
+ This document describes a set of Python bindings for the TQt widget set.
Contact the author at phil@riverbankcomputing.co.uk.
@@ -17,34 +17,34 @@
Introduction
-PyQt is a set of Python bindings for the Qt toolkit and available for all
-platforms supported by Qt, including Windows, Linux, UNIX, MacOS/X and embedded
+PyTQt is a set of Python bindings for the TQt toolkit and available for all
+platforms supported by TQt, including Windows, Linux, UNIX, MacOS/X and embedded
systems such as the Sharp Zaurus and the Compaq iPAQ. They have been tested
-against Qt versions 1.43 to 3.3.6, Qt Non-commercial, Qtopia 1.5.0, and Python
-versions 1.5 to 2.4.2. Qt/Embedded v3 is not supported. Qt v4 is supported
-by PyQt v4.
+against TQt versions 1.43 to 3.3.6, TQt Non-commercial, TQtopia 1.5.0, and Python
+versions 1.5 to 2.4.2. TQt/Embedded v3 is not supported. TQt v4 is supported
+by PyTQt v4.
-PyQt is available under the GPL license for use with the GPL version of Qt, a
-a commercial license for use with the commercial version of Qt, a
-non-commercial license for use with the non-commercial version of Qt v2, and an
-educational license for use with the educational version of Qt.
+PyTQt is available under the GPL license for use with the GPL version of TQt, a
+a commercial license for use with the commercial version of TQt, a
+non-commercial license for use with the non-commercial version of TQt v2, and an
+educational license for use with the educational version of TQt.
-There is also an evaluation version of PyQt for Windows. This must be used
-with the corresponding evaluation version of Qt.
+There is also an evaluation version of PyTQt for Windows. This must be used
+with the corresponding evaluation version of TQt.
-PyQt is built using SIP (a tool for generating Python extension modules for
+PyTQt is built using SIP (a tool for generating Python extension modules for
C++ class libraries). SIP v4.6 or later must be installed in order to build
-and run this version of PyQt.
+and run this version of PyTQt.
-PyQt for MacOS/X requires Qt v3.1.0 or later and Python v2.3 or later.
+PyTQt for MacOS/X retquires TQt v3.1.0 or later and Python v2.3 or later.
@@ -62,81 +62,81 @@ user interface widgets.
qtaxcontainer contains a sub-set of the classes implemented
-in Qt's QAxContainer module, part of Qt's ActiveQt framework.
+in TQt's TQAxContainer module, part of TQt's ActiveTQt framework.
-qtcanvas contains the classes implemented in Qt's Canvas
+qtcanvas contains the classes implemented in TQt's Canvas
module.
-qtgl contains the classes implemented in Qt's OpenGL module.
+qtgl contains the classes implemented in TQt's OpenGL module.
-qtnetwork contains the classes implemented in Qt's Network
+qtnetwork contains the classes implemented in TQt's Network
module.
-qtpe contains the classes implemented in Qtopia (originally
-called the Qt Palmtop Environment). It is only supported with Qt/Embedded.
+qtpe contains the classes implemented in TQtopia (originally
+called the TQt Palmtop Environment). It is only supported with TQt/Embedded.
-qtsql contains the classes implemented in Qt's SQL module.
+qtsql contains the classes implemented in TQt's SQL module.
-qttable contains the classes implemented in Qt's Table
+qttable contains the classes implemented in TQt's Table
module.
-qtui contains the classes implemented in Qt's qui library.
-These allow GUIs to be created directly from Qt Designer's
+qtui contains the classes implemented in TQt's tqui library.
+These allow GUIs to be created directly from TQt Designer's
.ui files.
-qtxml contains the classes implemented in Qt's XML module.
+qtxml contains the classes implemented in TQt's XML module.
qtext contains useful third-party classes that are not part
-of Qt. At the moment it contains bindings for QScintilla, the port to Qt of
+of TQt. At the moment it contains bindings for TQScintilla, the port to TQt of
the Scintilla programmer's editor class.
-PyQt also includes the pyuic and
-pylupdate utilities which correspond to the Qt
+PyTQt also includes the pyuic and
+pylupdate utilities which correspond to the TQt
uic and lupdate utilities.
-pyuic converts the GUI designs created with Qt Designer to
+pyuic converts the GUI designs created with TQt Designer to
executable Python code. pylupdate scans Python code,
extracts all strings that are candidates for internationalisation, and creates
-an XML file for use by Qt Linguist.
+an XML file for use by TQt Linguist.
Changes
@@ -147,26 +147,26 @@ The changes visible to the Python programmer in this release are as follows.
-This version requires SIP v4.4 (or later).
+This version retquires SIP v4.4 (or later).
-Concatenating Python strings and QStrings is now supported.
+Concatenating Python strings and TQStrings is now supported.
-QString now supports the * and
+TQString now supports the * and
*= operators that behave as they do for Python strings.
-QString is more interoperable with Python string and unicode
+TQString is more interoperable with Python string and unicode
objects. For example they can be passed as arguments to
open() and to most (but not all) string methods.
@@ -174,17 +174,17 @@ objects. For example they can be passed as arguments to
-QPopupMenu (and sub-classes) instances now transfer
+TQPopupMenu (and sub-classes) instances now transfer
ownership of the menu to Python in the call to exec_loop().
This means the menu's resources are all released when the Python wrapper is
garbage collected without needing to call
-QObject.deleteLater().
+TQObject.deleteLater().
-QObject.sender() now handles Python signals.
+TQObject.sender() now handles Python signals.
@@ -204,7 +204,7 @@ The missing MacintoshVersion enum has been added.
The convention for converting between a C/C++ null pointer and Python's
None object has now been universally applied. In previous
-versions a null pointer to, for example, a Qt list container would often be
+versions a null pointer to, for example, a TQt list container would often be
converted to an empty list rather than None.
@@ -214,16 +214,16 @@ converted to an empty list rather than None.
-Other PyQt Goodies
-Using Qt Designer
+Other PyTQt Goodies
+Using TQt Designer
-Qt Designer is a GPL'ed GUI design editor provided by Trolltech as part of Qt.
-It generates an XML description of a GUI design. Qt includes
+TQt Designer is a GPL'ed GUI design editor provided by Trolltech as part of TQt.
+It generates an XML description of a GUI design. TQt includes
uic which generates C++ code from that XML.
-PyQt includes pyuic which generates Python code from the
+PyTQt includes pyuic which generates Python code from the
same XML. The Python code is self contained and can be executed immediately.
@@ -231,10 +231,10 @@ same XML. The Python code is self contained and can be executed immediately.
It is sometimes useful to be able to include some specific Python code in the
output generated by pyuic. For example, if you are using
custom widgets, pyuic has no way of knowing the name of the
-Python module containing the widget and so cannot generate the required
+Python module containing the widget and so cannot generate the retquired
import statement. To help get around this,
pyuic will extract any lines entered in the
-Comment field of Qt Designer's
+Comment field of TQt Designer's
Form Settings dialog that begin with
Python: and copies them to the generated output.
@@ -264,7 +264,7 @@ from foo import bar
Thanks to Christian Bird, pyuic will extract Python code
-entered using Qt Designer to implement slots. In Qt Designer, when you need to
+entered using TQt Designer to implement slots. In TQt Designer, when you need to
edit a slot and the source editor appears, enter Python code between the curly
braces. Don't worry about the correct starting indent level, each line is
prepended with a correct indentation.
@@ -285,7 +285,7 @@ Here's an example of a simple slot.
void DebMainWindowFrm::browsePushButtonClicked()
{
if self.debugging:
- QMessageBox.critical(self, "Event", "browse pushbutton was clicked!")
+ TQMessageBox.critical(self, "Event", "browse pushbutton was clicked!")
}
@@ -294,11 +294,11 @@ Here is the resulting code when pyuic is run.
-class DebMainWindowFrm(QMainWindow):
+class DebMainWindowFrm(TQMainWindow):
...stuff...
def browsePushButtonClicked(self):
if self.debugging:
- QMessageBox.critical(self, "Event", "browse pushbutton was clicked!")
+ TQMessageBox.critical(self, "Event", "browse pushbutton was clicked!")
@@ -313,9 +313,9 @@ annoying when trying to code in Python.
-Using Qt Linguist
+Using TQt Linguist
-Qt includes the lupdate program which parses C++ source
+TQt includes the lupdate program which parses C++ source
files converting calls to the QT_TR_NOOP() and
QT_TRANSLATE_NOOP() macros to .ts
language source files. The lrelease program is then used to
@@ -324,21 +324,21 @@ your application.
-Thanks to Detlev Offenbach, PyQt includes the pylupdate
+Thanks to Detlev Offenbach, PyTQt includes the pylupdate
program. This generates the same .ts language source files
-from your PyQt source files.
+from your PyTQt source files.
-Deploying Commercial PyQt Applications
+Deploying Commercial PyTQt Applications
-When deploying commercial PyQt applications it is necessary to discourage users
-from accessing the underlying PyQt modules for themselves. A user that used
+When deploying commercial PyTQt applications it is necessary to discourage users
+from accessing the underlying PyTQt modules for themselves. A user that used
the modules shipped with your application to develop new applications would
-themselves be considered a developer and would need their own commercial Qt and
-PyQt licenses.
+themselves be considered a developer and would need their own commercial TQt and
+PyTQt licenses.
@@ -347,13 +347,13 @@ One solution to this problem is the
package. This allows you to build Python extension modules that can only be
imported by a digitally signed custom interpreter. The package enables you to
create such an interpreter with your application embedded within it. The
-result is an interpreter that can only run your application, and PyQt modules
+result is an interpreter that can only run your application, and PyTQt modules
that can only be imported by that interpreter. You can use the package to
similarly restrict access to any extension module.
-In order to build PyQt with support for the VendorID package, pass the
+In order to build PyTQt with support for the VendorID package, pass the
-i command line flag to configure.py.
@@ -361,9 +361,9 @@ In order to build PyQt with support for the VendorID package, pass the
pyqtconfig and Build System Support
The SIP build system (ie. the sipconfig module) is described
-in the SIP documentation. PyQt includes the pyqtconfig
+in the SIP documentation. PyTQt includes the pyqtconfig
module that can be used by configuration scripts of other bindings that are
-built on top of PyQt.
+built on top of PyTQt.
@@ -375,7 +375,7 @@ The pyqtconfig module contains the following classes:
Configuration(sipconfig.Configuration)
-This class encapsulates additional configuration values, specific to PyQt, that
+This class encapsulates additional configuration values, specific to PyTQt, that
can be accessed as instance variables.
@@ -400,7 +400,7 @@ The name of the directory containing the pyuic and
pyqt_config_args
-The command line passed to configure.py when PyQt was
+The command line passed to configure.py when PyTQt was
configured.
@@ -411,7 +411,7 @@ configured.
pyqt_mod_dir
-The name of the directory containing the PyQt modules.
+The name of the directory containing the PyTQt modules.
@@ -421,7 +421,7 @@ The name of the directory containing the PyQt modules.
pyqt_modules
-A string containing the names of the PyQt modules that were installed.
+A string containing the names of the PyTQt modules that were installed.
@@ -552,7 +552,7 @@ any module that imports the qtxml module.
The name of the base directory where the .sip files for each
-of the PyQt modules is installed. A sub-directory exists with the same name as
+of the PyTQt modules is installed. A sub-directory exists with the same name as
the module.
@@ -563,7 +563,7 @@ the module.
pyqt_version
-The PyQt version as a 3 part hexadecimal number (eg. v3.10 is represented as
+The PyTQt version as a 3 part hexadecimal number (eg. v3.10 is represented as
0x030a00).
@@ -574,7 +574,7 @@ The PyQt version as a 3 part hexadecimal number (eg. v3.10 is represented as
pyqt_version_str
-The PyQt version as a string. For development snapshots it will start with
+The PyTQt version as a string. For development snapshots it will start with
snapshot-.
@@ -586,7 +586,7 @@ The PyQt version as a string. For development snapshots it will start with
-QtModuleMakefile(sipconfig.SIPModuleMakefile)
+TQtModuleMakefile(sipconfig.SIPModuleMakefile)
The Makefile class for modules that import the qt module.
@@ -606,7 +606,7 @@ This is a reimplementation of sipconfig.Makefile.finalise().
-QtAxContainerModuleMakefile(QtModuleMakefile)
+TQtAxContainerModuleMakefile(TQtModuleMakefile)
The Makefile class for modules that import the qtaxcontainer
@@ -627,7 +627,7 @@ This is a reimplementation of sipconfig.Makefile.finalise().
-QtCanvasModuleMakefile(QtModuleMakefile)
+TQtCanvasModuleMakefile(TQtModuleMakefile)
The Makefile class for modules that import the qtcanvas
@@ -648,7 +648,7 @@ This is a reimplementation of sipconfig.Makefile.finalise().
-QtExtModuleMakefile(QtModuleMakefile)
+TQtExtModuleMakefile(TQtModuleMakefile)
The Makefile class for modules that import the qtext module.
@@ -668,7 +668,7 @@ This is a reimplementation of sipconfig.Makefile.finalise().
-QtGLModuleMakefile(QtModuleMakefile)
+TQtGLModuleMakefile(TQtModuleMakefile)
The Makefile class for modules that import the qtgl module.
@@ -688,7 +688,7 @@ This is a reimplementation of sipconfig.Makefile.finalise().
-QtNetworkModuleMakefile(QtModuleMakefile)
+TQtNetworkModuleMakefile(TQtModuleMakefile)
The Makefile class for modules that import the qtnetwork
@@ -709,7 +709,7 @@ This is a reimplementation of sipconfig.Makefile.finalise().
-QtTableModuleMakefile(QtModuleMakefile)
+TQtTableModuleMakefile(TQtModuleMakefile)
The Makefile class for modules that import the qttable
@@ -730,7 +730,7 @@ This is a reimplementation of sipconfig.Makefile.finalise().
-QtSQLModuleMakefile(QtTableModuleMakefile)
+TQtSQLModuleMakefile(TQtTableModuleMakefile)
The Makefile class for modules that import the qtsql module.
@@ -750,7 +750,7 @@ This is a reimplementation of sipconfig.Makefile.finalise().
-QtUIModuleMakefile(QtModuleMakefile)
+TQtUIModuleMakefile(TQtModuleMakefile)
The Makefile class for modules that import the qtui module.
@@ -770,7 +770,7 @@ This is a reimplementation of sipconfig.Makefile.finalise().
-QtXMLModuleMakefile(QtModuleMakefile)
+TQtXMLModuleMakefile(TQtModuleMakefile)
The Makefile class for modules that import the qtxml module.
@@ -794,15 +794,15 @@ This is a reimplementation of sipconfig.Makefile.finalise().
Things to be Aware Of
super and Wrapped Classes
-Internally PyQt implements a lazy technique for attribute lookup where
+Internally PyTQt implements a lazy technique for attribute lookup where
attributes are only placed in type and instance dictionaries when they are
first referenced. This technique is needed to reduce the time taken to import
-large modules such as PyQt.
+large modules such as PyTQt.
In most circumstances this technique is transparent to an application. The
-exception is when super is used with a PyQt class. The way
+exception is when super is used with a PyTQt class. The way
that super is currently implemented means that the lazy
lookup is bypassed resulting in AttributeError exceptions
unless the attribute has been previously referenced.
@@ -810,49 +810,49 @@ unless the attribute has been previously referenced.
Note that this restriction applies to any class wrapped by SIP and not just
-PyQt.
+PyTQt.
-Python Strings, Qt Strings and Unicode
+Python Strings, TQt Strings and Unicode
-Unicode support was added to Qt in v2.0 and to Python in v1.6. In Qt, Unicode
-support is implemented using the QString class. It is
-important to understand that QStrings, Python string objects
+Unicode support was added to TQt in v2.0 and to Python in v1.6. In TQt, Unicode
+support is implemented using the TQString class. It is
+important to understand that TQStrings, Python string objects
and Python Unicode objects are all different but conversions between them are
automatic in almost all cases and easy to achieve manually when needed.
-Whenever PyQt expects a QString as a function argument, a
+Whenever PyTQt expects a TQString as a function argument, a
Python string object or a Python Unicode object can be provided instead, and
-PyQt will do the necessary conversion automatically.
+PyTQt will do the necessary conversion automatically.
You may also manually convert Python string and Unicode objects to
-QStrings by using the QString constructor
+TQStrings by using the TQString constructor
as demonstrated in the following code fragment.
-qs1 = QString('Converted Python string object')
-qs2 = QString(u'Converted Python Unicode object')
+qs1 = TQString('Converted Python string object')
+qs2 = TQString(u'Converted Python Unicode object')
-In order to convert a QString to a Python string object use
+In order to convert a TQString to a Python string object use
the Python str() function. Applying
-str() to a null QString and an empty
-QString both result in an empty Python string object.
+str() to a null TQString and an empty
+TQString both result in an empty Python string object.
-In order to convert a QString to a Python Unicode object use
+In order to convert a TQString to a Python Unicode object use
the Python unicode() function. Applying
-unicode() to a null QString and an empty
-QString both result in an empty Python Unicode object.
+unicode() to a null TQString and an empty
+TQString both result in an empty Python Unicode object.
@@ -881,7 +881,7 @@ whenever it is returned by the underlying C++ code.
Support for C++ void * Data Types
-PyQt represents void * values as objects of type
+PyTQt represents void * values as objects of type
sip.voidptr. Such values are often used to pass the
addresses of external objects between different Python modules. To make this
easier, a Python integer (or anything that Python can convert to an integer)
@@ -901,11 +901,11 @@ method takes an integer argument which is the length of the data in bytes.
Support for Threads
-PyQt implements the full set of Qt's thread classes. Python, of course, also
+PyTQt implements the full set of TQt's thread classes. Python, of course, also
has its own thread extension modules. If you are using SIP v4 (or later) and
-Python v2.3.5 (or later) then PyQt does not impose any additional restrictions.
-(Read the relevant part of the Qt documentation to understand the restrictions
-imposed by the Qt API.)
+Python v2.3.5 (or later) then PyTQt does not impose any additional restrictions.
+(Read the relevant part of the TQt documentation to understand the restrictions
+imposed by the TQt API.)
If you are using earlier versions of either SIP or Python then it is possible
@@ -914,27 +914,27 @@ to use either of the APIs so long as you follow some simple rules.
-If you use the Qt API then the very first import of one of
-the PyQt modules must be done from the main thread.
+If you use the TQt API then the very first import of one of
+the PyTQt modules must be done from the main thread.
-If you use the Python API then all calls to PyQt (including any
+If you use the Python API then all calls to PyTQt (including any
imports) must be done from one thread only. Therefore, if
-you want to make calls to PyQt from several threads then you must use the Qt
+you want to make calls to PyTQt from several threads then you must use the TQt
API.
-If you want to use both APIs in the same application then all calls to PyQt
-must be done from threads created using the Qt API.
+If you want to use both APIs in the same application then all calls to PyTQt
+must be done from threads created using the TQt API.
-The above comments actually apply to any SIP generated module, not just PyQt.
+The above comments actually apply to any SIP generated module, not just PyTQt.
@@ -946,8 +946,8 @@ longer be referenced from within the program:
-c = new QColor();
-c = new QColor();
+c = new TQColor();
+c = new TQColor();
@@ -956,8 +956,8 @@ the second is assigned to c:
-c = QColor()
-c = QColor()
+c = TQColor()
+c = TQColor()
@@ -966,29 +966,29 @@ is done within class definitions, so the code fragment would be something like:
-self.c1 = QColor()
-self.c2 = QColor()
+self.c1 = TQColor()
+self.c2 = TQColor()
-Sometimes a Qt class instance will maintain a pointer to another instance and
+Sometimes a TQt class instance will maintain a pointer to another instance and
will eventually call the destructor of that second instance. The most common
-example is that a QObject (and any of its sub-classes) keeps
+example is that a TQObject (and any of its sub-classes) keeps
pointers to its children and will automatically call their destructors. In
these cases, the corresponding Python object will also keep a reference to the
corresponding child objects.
-So, in the following Python fragment, the first QLabel is
+So, in the following Python fragment, the first TQLabel is
not destroyed when the second is assigned to l because the
-parent QWidget still has a reference to it.
+parent TQWidget still has a reference to it.
-p = QWidget()
-l = QLabel('First label',p)
-l = QLabel('Second label',p)
+p = TQWidget()
+l = TQLabel('First label',p)
+l = TQLabel('Second label',p)
@@ -999,9 +999,9 @@ variables. For example:
-tab = QTab()
+tab = TQTab()
tab.label = "First Tab"
-tab.r = QRect(10,10,75,30)
+tab.r = TQRect(10,10,75,30)
@@ -1019,39 +1019,39 @@ the future.
Multiple Inheritance
It is not possible to define a new Python class that sub-classes from more than
-one Qt class.
+one TQt class.
i18n Support
-Qt implements i18n support through the Qt Linguist application, the
-QTranslator class, and the
-QApplication::translate(), QObject::tr()
-and QObject::trUtf8() methods. Usually the
+TQt implements i18n support through the TQt Linguist application, the
+TQTranslator class, and the
+TQApplication::translate(), TQObject::tr()
+and TQObject::trUtf8() methods. Usually the
tr() method is used to obtain the correct translation of a
message. The translation process uses a message context to allow the same
message to be translated differently. tr() is actually
generated by moc and uses the hardcoded class name as the
-context. On the other hand, QApplication::translate()
+context. On the other hand, TQApplication::translate()
allows to context to be explicitly stated.
-Unfortunately, because of the way Qt implents tr() (and
-trUtf8()) it is not possible for PyQt to exactly reproduce
-its behavour. The PyQt implementation of tr() (and
+Unfortunately, because of the way TQt implents tr() (and
+trUtf8()) it is not possible for PyTQt to exactly reproduce
+its behavour. The PyTQt implementation of tr() (and
trUtf8()) uses the class name of the instance as the
context. The key difference, and the source of potential problems, is that the
-context is determined dynamically in PyQt, but is hardcoded in Qt. In other
+context is determined dynamically in PyTQt, but is hardcoded in TQt. In other
words, the context of a translation may change depending on an instance's class
hierarchy.
-class A(QObject):
+class A(TQObject):
def __init__(self):
- QObject.__init__(self)
+ TQObject.__init__(self)
def hello(self):
return self.tr("Hello")
@@ -1075,19 +1075,19 @@ would be A in both cases.
-The PyQt behaviour is unsatisfactory and may be changed in the future. It is
-recommended that QApplication.translate() be used in
+The PyTQt behaviour is unsatisfactory and may be changed in the future. It is
+recommended that TQApplication.translate() be used in
preference to tr() (and trUtf8()). This
-is guaranteed to work with current and future versions of PyQt and makes it
+is guaranteed to work with current and future versions of PyTQt and makes it
much easier to share message files between Python and C++ code. Below is the
alternative implementation of A that uses
-QApplication.translate().
+TQApplication.translate().
-class A(QObject):
+class A(TQObject):
def __init__(self):
- QObject.__init__(self)
+ TQObject.__init__(self)
def hello(self):
return qApp.translate("A","Hello")
@@ -1095,7 +1095,7 @@ class A(QObject):
Note that the code generated by pyuic uses
-QApplication.translate().
+TQApplication.translate().
@@ -1103,15 +1103,15 @@ Note that the code generated by pyuic uses
Signal and Slot Support
-A signal may be either a Qt signal (specified using
+A signal may be either a TQt signal (specified using
SIGNAL()) or a Python signal (specified using
PYSIGNAL()).
-A slot can be either a Python callable object, a Qt signal (specified using
+A slot can be either a Python callable object, a TQt signal (specified using
SIGNAL()), a Python signal (specified using
-PYSIGNAL()), or a Qt slot (specified using
+PYSIGNAL()), or a TQt slot (specified using
SLOT()).
@@ -1121,28 +1121,28 @@ example:
-QObject.connect(a,SIGNAL("QtSig()"),pyFunction)
-QObject.connect(a,SIGNAL("QtSig()"),pyClass.pyMethod)
-QObject.connect(a,SIGNAL("QtSig()"),PYSIGNAL("PySig"))
-QObject.connect(a,SIGNAL("QtSig()"),SLOT("QtSlot()"))
-QObject.connect(a,PYSIGNAL("PySig"),pyFunction)
-QObject.connect(a,PYSIGNAL("PySig"),pyClass.pyMethod)
-QObject.connect(a,PYSIGNAL("PySig"),SIGNAL("QtSig()"))
-QObject.connect(a,PYSIGNAL("PySig"),SLOT("QtSlot()"))
+TQObject.connect(a,SIGNAL("TQtSig()"),pyFunction)
+TQObject.connect(a,SIGNAL("TQtSig()"),pyClass.pyMethod)
+TQObject.connect(a,SIGNAL("TQtSig()"),PYSIGNAL("PySig"))
+TQObject.connect(a,SIGNAL("TQtSig()"),SLOT("TQtSlot()"))
+TQObject.connect(a,PYSIGNAL("PySig"),pyFunction)
+TQObject.connect(a,PYSIGNAL("PySig"),pyClass.pyMethod)
+TQObject.connect(a,PYSIGNAL("PySig"),SIGNAL("TQtSig()"))
+TQObject.connect(a,PYSIGNAL("PySig"),SLOT("TQtSlot()"))
-When a slot is a Python method that corresponds to a Qt slot then a signal can
-be connected to either the Python method or the Qt slot. The following
+When a slot is a Python method that corresponds to a TQt slot then a signal can
+be connected to either the Python method or the TQt slot. The following
connections achieve the same effect.
-sbar = QScrollBar()
-lcd = QLCDNumber()
+sbar = TQScrollBar()
+lcd = TQLCDNumber()
-QObject.connect(sbar,SIGNAL("valueChanged(int)"),lcd.display)
-QObject.connect(sbar,SIGNAL("valueChanged(int)"),lcd,SLOT("display(int)"))
+TQObject.connect(sbar,SIGNAL("valueChanged(int)"),lcd.display)
+TQObject.connect(sbar,SIGNAL("valueChanged(int)"),lcd,SLOT("display(int)"))
@@ -1155,9 +1155,9 @@ Disconnecting signals works in exactly the same way.
-Any instance of a class that is derived from the QObject
+Any instance of a class that is derived from the TQObject
class can emit a signal using the emit method. This takes
-two arguments. The first is the Python or Qt signal, the second is a Python
+two arguments. The first is the Python or TQt signal, the second is a Python
tuple which are the arguments to the signal. For example:
@@ -1176,8 +1176,8 @@ garbage collected.
-Qt allows a signal to be connected to a slot that requires fewer arguments than
-the signal passes. The extra arguments are quietly discarded. Python slots
+TQt allows a signal to be connected to a slot that retquires fewer arguments than
+the signal passes. The extra arguments are tquietly discarded. Python slots
can be used in the same way.
@@ -1187,9 +1187,9 @@ can be used in the same way.
Static member functions are implemented as Python class functions.
For example the C++ static member function
-QObject::connect() is called from Python as
-QObject.connect() or self.connect() if
-called from a sub-class of QObject.
+TQObject::connect() is called from Python as
+TQObject.connect() or self.connect() if
+called from a sub-class of TQObject.
@@ -1206,9 +1206,9 @@ the enumerated type was defined in must be included. For example:
-Qt.SolidPattern
-QWidget.TabFocus
-QFrame.TabFocus
+TQt.SolidPattern
+TQWidget.TabFocus
+TQFrame.TabFocus
@@ -1244,63 +1244,63 @@ Classes that are not mentioned have not yet been implemented.
qt Module Reference
-Qt Constants
+TQt Constants
-All constant values defined by Qt have equivalent constants defined to Python.
+All constant values defined by TQt have equivalent constants defined to Python.
-Qt (Qt v2+)
+TQt (TQt v2+)
-Qt is fully implemented.
+TQt is fully implemented.
-QAccel
+TQAccel
-QAccel is fully implemented.
+TQAccel is fully implemented.
-QAction (Qt v2.2+)
+TQAction (TQt v2.2+)
-QAction is fully implemented.
+TQAction is fully implemented.
-QActionGroup (Qt v2.2+)
+TQActionGroup (TQt v2.2+)
-QActionGroup is fully implemented.
+TQActionGroup is fully implemented.
-QApplication
+TQApplication
- QApplication
+ TQApplication
int &argc
char **argv
This takes one parameter which is a list of argument strings. Arguments
-used by Qt are removed from the list.
+used by TQt are removed from the list.
- QApplication
+ TQApplication
int &argc
char **argv
bool GUIenabled
This takes two parameters, the first of which is a list of argument strings.
-Arguments used by Qt are removed from the list.
+Arguments used by TQt are removed from the list.
- QApplication
+ TQApplication
int &argc
char **argv
Type type
This takes two parameters, the first of which is a list of argument strings.
-Arguments used by Qt are removed from the list. (Qt v2.2+)
+Arguments used by TQt are removed from the list. (TQt v2.2+)
@@ -1311,41 +1311,41 @@ Arguments used by Qt are removed from the list. (Qt v2.2+)
This has been renamed to exec_loop in Python.
-QAssistantClient (Qt v3.1+)
+TQAssistantClient (TQt v3.1+)
-QAssistantClient is fully implemented.
+TQAssistantClient is fully implemented.
-QBitmap
+TQBitmap
-QBitmap is fully implemented.
+TQBitmap is fully implemented.
-QBrush
+TQBrush
-QBrush is fully implemented, including the Python
+TQBrush is fully implemented, including the Python
== and != operators.
-QButton
+TQButton
-QButton is fully implemented.
+TQButton is fully implemented.
-QButtonGroup
+TQButtonGroup
-QButtonGroup is fully implemented.
+TQButtonGroup is fully implemented.
-QByteArray
+TQByteArray
-A Python string can be used whenever a QByteArray can be
-used. A QByteArray can be converted to a Python string
+A Python string can be used whenever a TQByteArray can be
+used. A TQByteArray can be converted to a Python string
using the Python str() function.
- QByteArray &assign
+ TQByteArray &assign
const char *data
uint size
@@ -1397,7 +1397,7 @@ Not implemented.
- QByteArray &setRawData
+ TQByteArray &setRawData
const char *data
uintsize
@@ -1405,23 +1405,23 @@ Not implemented.
Not implemented.
-QCDEStyle (Qt v2+)
+TQCDEStyle (TQt v2+)
-QCDEStyle is fully implemented.
+TQCDEStyle is fully implemented.
-QCheckBox
+TQCheckBox
-QCheckBox is fully implemented.
+TQCheckBox is fully implemented.
-QClipboard
+TQClipboard
void *data const
const char *format
-Not yet implemented (Qt v1.x).
+Not yet implemented (TQt v1.x).
@@ -1430,10 +1430,10 @@ Not yet implemented (Qt v1.x).
void *
-Not yet implemented (Qt v1.x).
+Not yet implemented (TQt v1.x).
-QColor
+TQColor
The Python == and != operators are
supported.
@@ -1483,31 +1483,31 @@ This takes no parameters and returns the r,
g and b values as a tuple.
-QColorDialog (Qt v2+)
+TQColorDialog (TQt v2+)
- static QRgb getRgba
- QRgb initial
+ static TQRgb getRgba
+ TQRgb initial
bool *ok
- QWidget *parent = 0
+ TQWidget *parent = 0
const char *name = 0
This takes the initial, parent and
name parameters and returns a tuple containing the
-QRgb result and the ok value.
+TQRgb result and the ok value.
-QColorGroup
+TQColorGroup
-QColorGroup is fully implemented.
+TQColorGroup is fully implemented.
-QComboBox
+TQComboBox
-QComboBox is fully implemented.
+TQComboBox is fully implemented.
-QCommonStyle (Qt v2+)
+TQCommonStyle (TQt v2+)
virtual void getButtonShift
int &x
@@ -1515,12 +1515,12 @@ This takes the initial, parent and
This takes no parameters and returns a tuple of the x and
-y values. (Qt v2)
+y values. (TQt v2)
virtual void tabbarMetrics
- const QTabBar *t
+ const TQTabBar *t
int &hframe
int &vframe
int &overlap
@@ -1528,18 +1528,18 @@ This takes no parameters and returns a tuple of the x and
This takes only the t parameter and returns a tuple of the
hframe, vframe and
-overlap values. (Qt v2)
+overlap values. (TQt v2)
-QCString (Qt v2+)
+TQCString (TQt v2+)
-A Python string can be used whenever a QCString can be used.
-A QCString can be converted to a Python string using the
+A Python string can be used whenever a TQCString can be used.
+A TQCString can be converted to a Python string using the
Python str() function.
- QCString &sprintf
+ TQCString &sprintf
const char *format
...
@@ -1619,35 +1619,35 @@ This returns a tuple of the double result and the
ok value.
-QCursor
+TQCursor
-QCursor is fully implemented.
+TQCursor is fully implemented.
-QDataStream
+TQDataStream
- QDataStream &readBytes
+ TQDataStream &readBytes
const char *&s
uint &l
-This takes no parameters. The QDataStream result and the
+This takes no parameters. The TQDataStream result and the
data read are returned as a tuple.
- QDataStream &readRawBytes
+ TQDataStream &readRawBytes
const char *s
uint l
This takes only the l parameter. The
-QDataStream result and the data read are returned as a
+TQDataStream result and the data read are returned as a
tuple.
- QDataStream &writeBytes
+ TQDataStream &writeBytes
const char *s
uint len
@@ -1657,7 +1657,7 @@ parameter.
- QDataStream &writeRawBytes
+ TQDataStream &writeRawBytes
const char *s
uint len
@@ -1666,7 +1666,7 @@ parameter.
parameter.
-QDate
+TQDate
The Python
==, !=,
@@ -1682,13 +1682,13 @@ operators are supported.
This takes no parameters and returns the week number and the year number as a
-tuple. (Qt v3.1+)
+tuple. (TQt v3.1+)
-QDateTime
+TQDateTime
-QDateTime is fully implemented, including the Python
+TQDateTime is fully implemented, including the Python
==, !=,
<, <=,
>, >=
@@ -1697,9 +1697,9 @@ operators.
-QTime
+TQTime
-QTime is fully implemented, including the Python
+TQTime is fully implemented, including the Python
==, !=,
<, <=,
>, >=
@@ -1707,34 +1707,34 @@ and __nonzero__
operators.
-QDateEdit (Qt v3+)
+TQDateEdit (TQt v3+)
-QDateEdit is fully implemented.
+TQDateEdit is fully implemented.
-QTimeEdit (Qt v3+)
+TQTimeEdit (TQt v3+)
-QTimeEdit is fully implemented.
+TQTimeEdit is fully implemented.
-QDateTimeEdit (Qt v3+)
+TQDateTimeEdit (TQt v3+)
-QDateTimeEdit is fully implemented.
+TQDateTimeEdit is fully implemented.
-QDesktopWidget (Qt v3+)
+TQDesktopWidget (TQt v3+)
-QDesktopWidget is fully implemented.
+TQDesktopWidget is fully implemented.
-QDial (Qt v2.2+)
+TQDial (TQt v2.2+)
-QDial is fully implemented.
+TQDial is fully implemented.
-QDialog
+TQDialog
int exec
@@ -1747,235 +1747,235 @@ This method also causes ownership of the underlying C++ dialog to be transfered
to Python. This means that the C++ dialog will be deleted when the Python
wrapper is garbage collected. Although this is a little inconsistent, it
ensures that the dialog is deleted without having to explicity code it using
-QObject.deleteLater() or other techniques.
+TQObject.deleteLater() or other techniques.
-QDir
+TQDir
-QDir is fully implemented, including the Python
+TQDir is fully implemented, including the Python
len, [] (for reading slices and
individual elements), ==, != and
in operators
-QFileInfoList
+TQFileInfoList
-This class isn't implemented. Whenever a QFileInfoList is
+This class isn't implemented. Whenever a TQFileInfoList is
the return type of a function or the type of an argument, a Python list of
-QFileInfo instances is used instead.
+TQFileInfo instances is used instead.
-QDockArea (Qt v3+)
+TQDockArea (TQt v3+)
bool hasDockWindow const
- QDockWindow *w
+ TQDockWindow *w
int *index = 0
This takes the w parameter and returns the index of the
-QDockWIndow or -1 if the QDockArea does not contain the QDockWindow.
+TQDockWIndow or -1 if the TQDockArea does not contain the TQDockWindow.
-QDockWindow (Qt v3+)
+TQDockWindow (TQt v3+)
-QDockWindow is fully implemented.
+TQDockWindow is fully implemented.
-QColorDrag (Qt v2.1+)
+TQColorDrag (TQt v2.1+)
-QColorDrag is fully implemented.
+TQColorDrag is fully implemented.
-QDragObject
+TQDragObject
-QDragObject is fully implemented.
+TQDragObject is fully implemented.
-QImageDrag
+TQImageDrag
-QImageDrag is fully implemented.
+TQImageDrag is fully implemented.
-QStoredDrag
+TQStoredDrag
-QStoredDrag is fully implemented.
+TQStoredDrag is fully implemented.
-QTextDrag
+TQTextDrag
-QTextDrag is fully implemented.
+TQTextDrag is fully implemented.
-QUriDrag (Qt v2+)
+TQUriDrag (TQt v2+)
-QUriDrag is fully implemented.
+TQUriDrag is fully implemented.
-QUrlDrag (Qt v1.x)
+TQUrlDrag (TQt v1.x)
-QUrlDrag is fully implemented.
+TQUrlDrag is fully implemented.
-QDropSite
+TQDropSite
-QDropSite is fully implemented.
+TQDropSite is fully implemented.
-QErrorMessage (Qt v3+)
+TQErrorMessage (TQt v3+)
-QErrorMessage is fully implemented.
+TQErrorMessage is fully implemented.
-QEvent
+TQEvent
-QEvent is fully implemented.
+TQEvent is fully implemented.
-Instances of QEvents are automatically converted to the
+Instances of TQEvents are automatically converted to the
correct sub-class.
-QChildEvent
+TQChildEvent
-QChildEvent is fully implemented.
+TQChildEvent is fully implemented.
-QCloseEvent
+TQCloseEvent
-QCloseEvent is fully implemented.
+TQCloseEvent is fully implemented.
-QIconDragEvent (Qt v3.3+)
+TQIconDragEvent (TQt v3.3+)
-QIconDragEvent is fully implemented.
+TQIconDragEvent is fully implemented.
-QContextMenuEvent (Qt v3+)
+TQContextMenuEvent (TQt v3+)
-QContextMenuEvent is fully implemented.
+TQContextMenuEvent is fully implemented.
-QCustomEvent
+TQCustomEvent
-QCustomEvent is fully implemented. Any Python object can be
+TQCustomEvent is fully implemented. Any Python object can be
passed as the event data and its reference count is increased.
-QDragEnterEvent
+TQDragEnterEvent
-QDragEnterEvent is fully implemented.
+TQDragEnterEvent is fully implemented.
-QDragLeaveEvent
+TQDragLeaveEvent
-QDragLeaveEvent is fully implemented.
+TQDragLeaveEvent is fully implemented.
-QDragMoveEvent
+TQDragMoveEvent
-QDragMoveEvent is fully implemented.
+TQDragMoveEvent is fully implemented.
-QDropEvent
+TQDropEvent
-QDropEvent is fully implemented.
+TQDropEvent is fully implemented.
-QFocusEvent
+TQFocusEvent
-QFocusEvent is fully implemented.
+TQFocusEvent is fully implemented.
-QHideEvent
+TQHideEvent
-QHideEvent is fully implemented.
+TQHideEvent is fully implemented.
-QIMComposeEvent (Qt v3.1+)
+TQIMComposeEvent (TQt v3.1+)
-QIMComposeEvent is fully implemented.
+TQIMComposeEvent is fully implemented.
-QIMEvent (Qt v3+)
+TQIMEvent (TQt v3+)
-QIMEvent is fully implemented.
+TQIMEvent is fully implemented.
-QKeyEvent
+TQKeyEvent
-QKeyEvent is fully implemented.
+TQKeyEvent is fully implemented.
-QMouseEvent
+TQMouseEvent
-QMouseEvent is fully implemented.
+TQMouseEvent is fully implemented.
-QMoveEvent
+TQMoveEvent
-QMoveEvent is fully implemented.
+TQMoveEvent is fully implemented.
-QPaintEvent
+TQPaintEvent
-QPaintEvent is fully implemented.
+TQPaintEvent is fully implemented.
-QResizeEvent
+TQResizeEvent
-QResizeEvent is fully implemented.
+TQResizeEvent is fully implemented.
-QShowEvent
+TQShowEvent
-QShowEvent is fully implemented.
+TQShowEvent is fully implemented.
-QTabletEvent (Qt v3+)
+TQTabletEvent (TQt v3+)
-QTabletEvent is fully implemented.
+TQTabletEvent is fully implemented.
-QTimerEvent
+TQTimerEvent
-QTimerEvent is fully implemented.
+TQTimerEvent is fully implemented.
-QWheelEvent (Qt v2+)
+TQWheelEvent (TQt v2+)
-QWheelEvent is fully implemented.
+TQWheelEvent is fully implemented.
-QEventLoop (Qt v3.1+)
+TQEventLoop (TQt v3.1+)
virtual int exec
@@ -1984,7 +1984,7 @@ passed as the event data and its reference count is increased.
This has been renamed to exec_loop in Python.
-QFile
+TQFile
bool open
int m
@@ -2021,7 +2021,7 @@ This takes a single maxlen parameter. The
EncoderFn f
-Not yet implemented. (Qt v2+)
+Not yet implemented. (TQt v2+)
@@ -2029,7 +2029,7 @@ Not yet implemented. (Qt v2+)
EncoderFn f
-Not yet implemented. (Qt v2+)
+Not yet implemented. (TQt v2+)
@@ -2042,97 +2042,97 @@ Not yet implemented. (Qt v2+)
as a parameter.
-QFileDialog
+TQFileDialog
-QFileDialog is fully implemented.
+TQFileDialog is fully implemented.
-QFileIconProvider
+TQFileIconProvider
-QFileIconProvider is fully implemented.
+TQFileIconProvider is fully implemented.
-QFilePreview
+TQFilePreview
-QFilePreview is fully implemented. However it cannot be
-used from Python in the same way as it is used from C++ because PyQt does not
+TQFilePreview is fully implemented. However it cannot be
+used from Python in the same way as it is used from C++ because PyTQt does not
support multiple inheritance involving more than one wrapped class. A trick
that seems to work is to use composition rather than inheritance as in the
following code fragment.
-class FilePreview(QFilePreview):
+class FilePreview(TQFilePreview):
pass
-class Preview(QLabel):
+class Preview(TQLabel):
def __init__(self, parent=None):
- QLabel.__init__(self, parent)
+ TQLabel.__init__(self, parent)
self.preview = FilePreview()
self.preview.previewUrl = self.previewUrl
-Note that QFilePreview cannot be instantiated directly because it is abstract.
+Note that TQFilePreview cannot be instantiated directly because it is abstract.
Thanks to Hans-Peter Jansen for this trick.
-QFileInfo
+TQFileInfo
-QFileInfo is fully implemented.
+TQFileInfo is fully implemented.
-QFont
+TQFont
-QFont is fully implemented, including the Python
+TQFont is fully implemented, including the Python
== and != operators.
-QFontDatabase (Qt v2.1+)
+TQFontDatabase (TQt v2.1+)
-QFontDatabase is fully implemented.
+TQFontDatabase is fully implemented.
-QFontDialog (Qt v2+)
+TQFontDialog (TQt v2+)
- static QFont getFont
+ static TQFont getFont
bool *ok
- const QFont &def
- QWidget *parent = 0
+ const TQFont &def
+ TQWidget *parent = 0
const char *name = 0
This takes the def, parent and
name parameters and returns a tuple containing the
-QFont result and the ok value.
+TQFont result and the ok value.
- static QFont getFont
+ static TQFont getFont
bool *ok
- QWidget *parent = 0
+ TQWidget *parent = 0
const char *name = 0
This takes the parent and name parameters
-and returns a tuple containing the QFont result and the
+and returns a tuple containing the TQFont result and the
ok value.
-QFontInfo
+TQFontInfo
-QFontInfo is fully implemented.
+TQFontInfo is fully implemented.
-QFontMetrics
+TQFontMetrics
- QRect boundingRect
+ TQRect boundingRect
int x
int y
int w
int h
int flags
- const QString &str
+ const TQString &str
int len = -1
int tabstops = 0
int *tabarray = 0
@@ -2142,9 +2142,9 @@ The tabarray parameter is a Python list of integers.
- QSize size
+ TQSize size
int flags
- const QString &str
+ const TQString &str
int len = -1
int tabstops = 0
int *tabarray = 0
@@ -2153,72 +2153,72 @@ The tabarray parameter is a Python list of integers.
The tabarray parameter is a Python list of integers.
-QFrame
+TQFrame
-QFrame is fully implemented.
+TQFrame is fully implemented.
-QGManager (Qt v1.x)
+TQGManager (TQt v1.x)
-QGManager is fully implemented.
+TQGManager is fully implemented.
-QChain (Qt v1.x)
+TQChain (TQt v1.x)
-QChain is implemented as an opaque class.
+TQChain is implemented as an opaque class.
-QGrid (Qt v2+)
+TQGrid (TQt v2+)
-QGrid is fully implemented.
+TQGrid is fully implemented.
-QGridView (Qt v3+)
+TQGridView (TQt v3+)
-QGridView is fully implemented.
+TQGridView is fully implemented.
-QGroupBox
+TQGroupBox
-QGroupBox is fully implemented.
+TQGroupBox is fully implemented.
-QHBox (Qt v2+)
+TQHBox (TQt v2+)
-QHBox is fully implemented.
+TQHBox is fully implemented.
-QHButtonGroup (Qt v2+)
+TQHButtonGroup (TQt v2+)
-QHButtonGroup is fully implemented.
+TQHButtonGroup is fully implemented.
-QHeader
+TQHeader
-QHeader is fully implemented.
+TQHeader is fully implemented.
-QHGroupBox (Qt v2+)
+TQHGroupBox (TQt v2+)
-QHGroupBox is fully implemented.
+TQHGroupBox is fully implemented.
-QIconSet
+TQIconSet
-QIconSet is fully implemented.
+TQIconSet is fully implemented.
-QIconFactory (Qt v3.1+)
+TQIconFactory (TQt v3.1+)
-QIconFactory is fully implemented.
+TQIconFactory is fully implemented.
-QIconView (Qt v2.1+)
+TQIconView (TQt v2.1+)
- QIconViewItem *makeRowLayout
- QIconViewItem *begin
+ TQIconViewItem *makeRowLayout
+ TQIconViewItem *begin
int &y
@@ -2226,31 +2226,31 @@ Not yet implemented.
-QIconViewItem (Qt v2.1+)
+TQIconViewItem (TQt v2.1+)
-QIconViewItem is fully implemented.
+TQIconViewItem is fully implemented.
-QIconDrag (Qt v2.1+)
+TQIconDrag (TQt v2.1+)
-QIconDrag is fully implemented.
+TQIconDrag is fully implemented.
-QIconDragItem (Qt v2.1+)
+TQIconDragItem (TQt v2.1+)
-QIconDragItem is fully implemented.
+TQIconDragItem is fully implemented.
-QImage
+TQImage
The Python == and != operators are
supported.
- QImage
+ TQImage
const char *xpm[]
@@ -2258,18 +2258,18 @@ This takes a list of strings as its parameter.
- QImage
+ TQImage
uchar *data
int w
int h
int depth
- QRgb *colorTable
+ TQRgb *colorTable
int numColors
Endian bitOrder
-The colorTable parameter is a list of QRgb instances or
-None. (Qt v2.1+)
+The colorTable parameter is a list of TQRgb instances or
+None. (TQt v2.1+)
@@ -2282,7 +2282,7 @@ useful if passed to another Python module.
- QRgb *colorTable
+ TQRgb *colorTable
@@ -2291,9 +2291,9 @@ useful if passed to another Python module.
- QImage convertDepthWithPalette
+ TQImage convertDepthWithPalette
int
- QRgb *p
+ TQRgb *p
int pc
int cf = 0
@@ -2332,7 +2332,7 @@ useful if passed to another Python module.
-QImageIO
+TQImageIO
static void defineIOHandler
const char *format
@@ -2346,69 +2346,69 @@ Not implemented.
-QImageTextKeyLang
+TQImageTextKeyLang
-QImageTextKeyLang is fully implemented.
+TQImageTextKeyLang is fully implemented.
-QInputDialog (Qt v2.1+)
+TQInputDialog (TQt v2.1+)
- static QString getText
- const QString &caption
- const QString &label
- const QString &text = QString::null
+ static TQString getText
+ const TQString &caption
+ const TQString &label
+ const TQString &text = TQString::null
bool *ok = 0
- QWidget *parent = 0
+ TQWidget *parent = 0
const char *name = 0
The ok is not passed and the returned value is a tuple of
-the QString result and the ok flag.
-(Qt v2.1 - v2.3.1)
+the TQString result and the ok flag.
+(TQt v2.1 - v2.3.1)
- static QString getText
- const QString &caption
- const QString &label
- QLineEdit::EchoModeecho
- const QString &text = QString::null
+ static TQString getText
+ const TQString &caption
+ const TQString &label
+ TQLineEdit::EchoModeecho
+ const TQString &text = TQString::null
bool *ok = 0
- QWidget *parent = 0
+ TQWidget *parent = 0
const char *name = 0
The ok is not passed and the returned value is a tuple of
-the QString result and the ok flag.
-(Qt v2.2 - v2.3.1)
+the TQString result and the ok flag.
+(TQt v2.2 - v2.3.1)
- static QString getText
- const QString &caption
- const QString &label
- QLineEdit::EchoModeecho = QLineEdit::Normal
- const QString &text = QString::null
+ static TQString getText
+ const TQString &caption
+ const TQString &label
+ TQLineEdit::EchoModeecho = TQLineEdit::Normal
+ const TQString &text = TQString::null
bool *ok = 0
- QWidget *parent = 0
+ TQWidget *parent = 0
const char *name = 0
The ok is not passed and the returned value is a tuple of
-the QString result and the ok flag.
-(Qt v3+)
+the TQString result and the ok flag.
+(TQt v3+)
static int getInteger
- const QString &caption
- const QString &label
+ const TQString &caption
+ const TQString &label
int num = 0
int from = -2147483647
int to = 2147483647
int step = 1
bool *ok = 0
- QWidget *parent = 0
+ TQWidget *parent = 0
const char *name = 0
@@ -2418,14 +2418,14 @@ the int result and the ok flag.
static double getDouble
- const QString &caption
- const QString &label
+ const TQString &caption
+ const TQString &label
double num = 0
double from = -2147483647
double to = 2147483647
int step = 1
bool *ok = 0
- QWidget *parent = 0
+ TQWidget *parent = 0
const char *name = 0
@@ -2434,25 +2434,25 @@ the double result and the ok flag.
- static QString getItem
- const QString &caption
- const QString &label
- const QStringList &list
+ static TQString getItem
+ const TQString &caption
+ const TQString &label
+ const TQStringList &list
int current = 0
bool editable = TRUE
bool *ok = 0
- QWidget *parent = 0
+ TQWidget *parent = 0
const char *name = 0
The ok is not passed and the returned value is a tuple of
-the QString result and the ok flag.
+the TQString result and the ok flag.
-QInterlaceStyle (Qt v2.3.1+)
+TQInterlaceStyle (TQt v2.3.1+)
void scrollBarMetrics
- const QTabBar *sb
+ const TQTabBar *sb
int &sliderMin
int &sliderMax
int &sliderLength
@@ -2464,115 +2464,115 @@ This takes only the sb parameter and returns a tuple of the
sliderLength and buttonDim values.
-QIODevice
+TQIODevice
-QIODevice is fully implemented.
+TQIODevice is fully implemented.
-QKeySequence (Qt v3+)
+TQKeySequence (TQt v3+)
-QKeySequence is fully implemented including the operators
-==, !=, QString() and
-int(). A QString instance or a Python
-integer may be used whenever a QKeySequence can be used.
+TQKeySequence is fully implemented including the operators
+==, !=, TQString() and
+int(). A TQString instance or a Python
+integer may be used whenever a TQKeySequence can be used.
-QLabel
+TQLabel
-QLabel is fully implemented.
+TQLabel is fully implemented.
-QLayout
+TQLayout
-QLayout is fully implemented.
+TQLayout is fully implemented.
-QBoxLayout
+TQBoxLayout
-QBoxLayout is fully implemented.
+TQBoxLayout is fully implemented.
-QGLayoutIterator (Qt v2+)
+TQGLayoutIterator (TQt v2+)
-QGLayoutIterator is fully implemented.
+TQGLayoutIterator is fully implemented.
-QGridLayout
+TQGridLayout
bool findWidget
- QWidget *w
+ TQWidget *w
int *row
int *col
This takes the w parameter and returns a tuple containing
the bool result, row and
-col. (Qt v2+)
+col. (TQt v2+)
-QHBoxLayout
+TQHBoxLayout
-QHBoxLayout is fully implemented.
+TQHBoxLayout is fully implemented.
-QLayoutItem (Qt v2+)
+TQLayoutItem (TQt v2+)
-QLayoutItem is fully implemented.
+TQLayoutItem is fully implemented.
-QLayoutIterator (Qt v2+)
+TQLayoutIterator (TQt v2+)
- QLayoutItem *next
+ TQLayoutItem *next
-This is a wrapper around the QLayoutIterator
+This is a wrapper around the TQLayoutIterator
++ operator.
-QSpacerItem (Qt v2+)
+TQSpacerItem (TQt v2+)
-QSpacerItem is fully implemented.
+TQSpacerItem is fully implemented.
-QVBoxLayout
+TQVBoxLayout
-QVBoxLayout is fully implemented.
+TQVBoxLayout is fully implemented.
-QWidgetItem (Qt v2+)
+TQWidgetItem (TQt v2+)
-QWidgetItem is fully implemented.
+TQWidgetItem is fully implemented.
-QLCDNumber
+TQLCDNumber
-QLCDNumber is fully implemented.
+TQLCDNumber is fully implemented.
-QLibrary (Qt v3+)
+TQLibrary (TQt v3+)
-QLibrary is fully implemented.
+TQLibrary is fully implemented.
-QLineEdit
+TQLineEdit
int characterAt
int xpos
- QChar *chr
+ TQChar *chr
This takes only the xpos parameter and returns the int
-result and the chr value as a tuple. (Qt v3+)
+result and the chr value as a tuple. (TQt v3+)
@@ -2580,7 +2580,7 @@ result and the chr value as a tuple. (Qt v3+)
-This has been renamed delChar in Python. (Qt v2+)
+This has been renamed delChar in Python. (TQt v2+)
@@ -2591,16 +2591,16 @@ This has been renamed delChar in Python. (Qt v2+)
This takes no parameters and returns the bool result and the
start and end values as a tuple.
-(Qt v3+)
+(TQt v3+)
-QList<type> (Qt v2)
+TQList<type> (TQt v2)
-Types based on the QList template are automatically
+Types based on the TQList template are automatically
converted to and from Python lists of the type.
-QListBox
+TQListBox
bool itemYPos
int index
@@ -2609,59 +2609,59 @@ converted to and from Python lists of the type.
This takes the index parameter and returns a tuple
containing the bool result and yPos.
-(Qt v1.x)
+(TQt v1.x)
-QListBoxItem
+TQListBoxItem
-QListBoxItem is fully implemented.
+TQListBoxItem is fully implemented.
-QListBoxPixmap
+TQListBoxPixmap
-QListBoxPixmap is fully implemented.
+TQListBoxPixmap is fully implemented.
-QListBoxText
+TQListBoxText
-QListBoxText is fully implemented.
+TQListBoxText is fully implemented.
-QListView
+TQListView
-QListView is fully implemented.
+TQListView is fully implemented.
-Note that to remove a child QListViewItem you must first
+Note that to remove a child TQListViewItem you must first
call takeItem() and then del().
-QListViewItem
+TQListViewItem
-QListViewItem is fully implemented.
+TQListViewItem is fully implemented.
-Note that to remove a child QListViewItem you must first
+Note that to remove a child TQListViewItem you must first
call takeItem() and then del().
-QCheckListItem
+TQCheckListItem
-QCheckListItem is fully implemented.
+TQCheckListItem is fully implemented.
-QListViewItemIterator (Qt v2+)
+TQListViewItemIterator (TQt v2+)
-QListViewItemIterator is fully implemented.
+TQListViewItemIterator is fully implemented.
-QLocale (Qt v3.3+)
+TQLocale (TQt v3.3+)
short toShort
bool *ok = 0
@@ -2734,28 +2734,28 @@ This returns a tuple of the double result and the
ok value.
-QMainWindow
+TQMainWindow
- QTextStream &operator<<
- QTextStream &
- const QMainWindow &
+ TQTextStream &operator<<
+ TQTextStream &
+ const TQMainWindow &
-This operator is fully implemented. (Qt v3+)
+This operator is fully implemented. (TQt v3+)
- QTextStream &operator>>
- QTextStream &
- QMainWindow &
+ TQTextStream &operator>>
+ TQTextStream &
+ TQMainWindow &
-This operator is fully implemented. (Qt v3+)
+This operator is fully implemented. (TQt v3+)
bool getLocation
- QToolBar *tb
+ TQToolBar *tb
ToolBarDock &dock
int &index
bool &nl
@@ -2764,56 +2764,56 @@ This operator is fully implemented. (Qt v3+)
This takes only the tb parameter and returns a tuple of the
result, dock, index,
-nl and extraOffset values. (Qt v2.1.0+)
+nl and extraOffset values. (TQt v2.1.0+)
- QList<QToolBar> toolBars
+ TQList<TQToolBar> toolBars
ToolBarDock dock
-This returns a list of QToolBar instances. (Qt v2.1.0+)
+This returns a list of TQToolBar instances. (TQt v2.1.0+)
-QMemArray<type> (Qt v3+)
+TQMemArray<type> (TQt v3+)
-Types based on the QMemArray template are automatically
+Types based on the TQMemArray template are automatically
converted to and from Python lists of the type.
-QMenuBar
+TQMenuBar
-QMenuBar is fully implemented.
+TQMenuBar is fully implemented.
-QMenuData
+TQMenuData
- QMenuItem *findItem
+ TQMenuItem *findItem
int id
- QMenuData **parent
+ TQMenuData **parent
Not implemented.
-QCustomMenuItem (Qt v2.1+)
+TQCustomMenuItem (TQt v2.1+)
-QCustomMenuItem is fully implemented.
+TQCustomMenuItem is fully implemented.
-QMenuItem
+TQMenuItem
-QMenuItem is an internal Qt class.
+TQMenuItem is an internal TQt class.
-QMessageBox
+TQMessageBox
-QMessageBox is fully implemented.
+TQMessageBox is fully implemented.
-QMetaObject
+TQMetaObject
int numClassInfo const
bool super = FALSE
@@ -2823,7 +2823,7 @@ Not implemented.
- const QClassInfo *classInfo const
+ const TQClassInfo *classInfo const
bool super = FALSE
@@ -2831,29 +2831,29 @@ Not implemented.
-QMetaProperty
+TQMetaProperty
-QMetaProperty is fully implemented.
+TQMetaProperty is fully implemented.
-QMimeSource (Qt v2+)
+TQMimeSource (TQt v2+)
-QMimeSource is fully implemented.
+TQMimeSource is fully implemented.
-QMimeSourceFactory (Qt v2+)
+TQMimeSourceFactory (TQt v2+)
-QMimeSourceFactory is fully implemented.
+TQMimeSourceFactory is fully implemented.
-QWindowsMime (Qt v3+)
+TQWindowsMime (TQt v3+)
-QWindowsMime is fully implemented.
+TQWindowsMime is fully implemented.
-QMotifPlusStyle (Qt v2.2+)
+TQMotifPlusStyle (TQt v2.2+)
void getButtonShift
int &x
@@ -2861,12 +2861,12 @@ Not implemented.
This takes no parameters and returns a tuple of the x and
-y values. (Qt v2)
+y values. (TQt v2)
void scrollBarMetrics
- const QScrollBar *sb
+ const TQScrollBar *sb
int &sliderMin
int &sliderMax
int &sliderLength
@@ -2876,13 +2876,13 @@ This takes no parameters and returns a tuple of the x and
This takes only the sb parameter and returns a tuple of the
sliderMin, sliderMax,
sliderLength and buttonDim values.
-(Qt v2)
+(TQt v2)
-QMotifStyle (Qt v2+)
+TQMotifStyle (TQt v2+)
void scrollBarMetrics
- const QTabBar *sb
+ const TQTabBar *sb
int &sliderMin
int &sliderMax
int &sliderLength
@@ -2892,12 +2892,12 @@ This takes only the sb parameter and returns a tuple of the
This takes only the sb parameter and returns a tuple of the
sliderMin, sliderMax,
sliderLength and buttonDim values.
-(Qt v2)
+(TQt v2)
void tabbarMetrics
- const QTabBar *t
+ const TQTabBar *t
int &hframe
int &vframe
int &overlap
@@ -2905,13 +2905,13 @@ This takes only the sb parameter and returns a tuple of the
This takes only the t parameter and returns a tuple of the
hframe, vframe and
-overlap values. (Qt v2)
+overlap values. (TQt v2)
-QMovie
+TQMovie
- QMovie
- QDataSource *src
+ TQMovie
+ TQDataSource *src
int bufsize = 1024
@@ -2925,10 +2925,10 @@ Not implemented.
length is derived from data and not
-passed as a parameter. (Qt v2.2.0+)
+passed as a parameter. (TQt v2.2.0+)
-QMultiLineEdit
+TQMultiLineEdit
void cursorPosition const
int *line
@@ -2936,7 +2936,7 @@ passed as a parameter. (Qt v2.2.0+)
This takes no parameters and returns a tuple of the line and
-col values. (Qt v1.x, Qt v2.x)
+col values. (TQt v1.x, TQt v2.x)
@@ -2944,7 +2944,7 @@ This takes no parameters and returns a tuple of the line and
-This has been renamed delChar in Python. (Qt v1.x, Qt v2.x)
+This has been renamed delChar in Python. (TQt v1.x, TQt v2.x)
@@ -2954,7 +2954,7 @@ This has been renamed delChar in Python. (Qt v1.x, Qt v2.x)
This takes no parameters and returns a tuple of the line and
-col values. (Qt v1.x, Qt v2.x)
+col values. (TQt v1.x, TQt v2.x)
@@ -2970,38 +2970,38 @@ This takes no parameters and returns a tuple of the bool result and the
col2 values.
-QMutex (Qt v2.2+)
+TQMutex (TQt v2.2+)
-QMutex is fully implemented.
+TQMutex is fully implemented.
-QMutexLocker (Qt v3.1+)
+TQMutexLocker (TQt v3.1+)
-QMutexLocker is fully implemented.
+TQMutexLocker is fully implemented.
-QNetworkOperation (Qt v2.1+)
+TQNetworkOperation (TQt v2.1+)
-QNetworkOperation is fully implemented.
+TQNetworkOperation is fully implemented.
-QNetworkProtocol (Qt v2.1+)
+TQNetworkProtocol (TQt v2.1+)
-QNetworkProtocol is fully implemented.
+TQNetworkProtocol is fully implemented.
-QNetworkProtocolFactoryBase (Qt v2.1+)
+TQNetworkProtocolFactoryBase (TQt v2.1+)
-QNetworkProtocolFactoryBase is fully implemented.
+TQNetworkProtocolFactoryBase is fully implemented.
-QObject
+TQObject
bool disconnect
- const QObject *receiver
+ const TQObject *receiver
const char *member = 0
@@ -3011,7 +3011,7 @@ Not yet implemented.
bool disconnect
const char *signal = 0
- const QObject *receiver = 0
+ const TQObject *receiver = 0
const char *member = 0
@@ -3020,49 +3020,49 @@ Not yet implemented.
static bool disconnect
- const QObject *sender
+ const TQObject *sender
const char *signal
- const QObject *receiver
+ const TQObject *receiver
const char *member
-At the moment PyQt does not support the full behaviour of the corresponding Qt
+At the moment PyTQt does not support the full behaviour of the corresponding TQt
method. In particular, specifying None (ie. 0 in C++) for the
signal and receiver parameters is not yet
supported.
-QObjectCleanupHandler (Qt v3+)
+TQObjectCleanupHandler (TQt v3+)
-QObjectCleanupHandler is fully implemented.
+TQObjectCleanupHandler is fully implemented.
-QObjectList
+TQObjectList
-This class isn't implemented. Whenever a QObjectList is the
+This class isn't implemented. Whenever a TQObjectList is the
return type of a function or the type of an argument, a Python list of
-QObject instances is used instead.
+TQObject instances is used instead.
-QPaintDeviceMetrics
+TQPaintDeviceMetrics
-QPaintDeviceMetrics is fully implemented.
+TQPaintDeviceMetrics is fully implemented.
-QPaintDevice
+TQPaintDevice
virtual bool cmd
int
- QPainter *
- QPDevCmdParam *
+ TQPainter *
+ TQPDevCmdParam *
Not implemented.
-QPainter
+TQPainter
- QRect boundingRect
+ TQRect boundingRect
int x
int y
int w
@@ -3077,8 +3077,8 @@ The intern parameter is not supported.
- QRect boundingRect
- const QRect&
+ TQRect boundingRect
+ const TQRect&
int flags
const char *str
int len = -1
@@ -3097,7 +3097,7 @@ The intern parameter is not supported.
int flags
const char *str
int len = -1
- QRect *br = 0
+ TQRect *br = 0
char **intern = 0
@@ -3106,11 +3106,11 @@ The intern parameter is not supported.
void drawText
- const QRect&
+ const TQRect&
int flags
const char *str
int len = -1
- QRect *br = 0
+ TQRect *br = 0
char **intern = 0
@@ -3133,15 +3133,15 @@ This takes a single parameter which is a list of tab stops.
This returns a list of tab stops.
-QPalette
+TQPalette
-QPalette is fully implemented, including the Python
+TQPalette is fully implemented, including the Python
== and != operators.
-QPixmap
+TQPixmap
- QPixmap
+ TQPixmap
const char *xpm[]
@@ -3171,24 +3171,24 @@ a parameter.
Not implemented.
-QPixmapCache (Qt v3+)
+TQPixmapCache (TQt v3+)
-QPixmapCache is fully implemented.
+TQPixmapCache is fully implemented.
-QPair<type,type> (Qt v3+)
+TQPair<type,type> (TQt v3+)
-Types based on the QPair template are automatically
+Types based on the TQPair template are automatically
converted to and from Python tuples of two elements.
-QPen
+TQPen
-QPen is fully implemented, including the Python
+TQPen is fully implemented, including the Python
== and != operators.
-QPicture
+TQPicture
const char *data
@@ -3207,10 +3207,10 @@ Not implemented.
as a parameter.
-QPlatinumStyle (Qt v2+)
+TQPlatinumStyle (TQt v2+)
void scrollBarMetrics
- const QTabBar *sb
+ const TQTabBar *sb
int &sliderMin
int &sliderMax
int &sliderLength
@@ -3220,10 +3220,10 @@ as a parameter.
This takes only the sb parameter and returns a tuple of the
sliderMin, sliderMax,
sliderLength and buttonDim values.
-(Qt v2)
+(TQt v2)
-QPoint
+TQPoint
The Python
+, +=,
@@ -3235,7 +3235,7 @@ operators are supported.
- QCOORD &rx
+ TQCOORD &rx
@@ -3243,18 +3243,18 @@ Not implemented.
- QCOORD &ry
+ TQCOORD &ry
Not implemented.
-QPointArray
+TQPointArray
- QPointArray
+ TQPointArray
int nPoints
- const QCOORD *points
+ const TQCOORD *points
This takes a single parameter which is a list of points.
@@ -3275,7 +3275,7 @@ This takes the single parameter i and returns the
bool putPoints
int index
int nPoints
- const QCOORD *points
+ const TQCOORD *points
This takes two parameters, index and a list of points.
@@ -3296,7 +3296,7 @@ Not implemented.
bool setPoints
int nPoints
- const QCOORD *points
+ const TQCOORD *points
This takes a single parameter which is a list of points.
@@ -3313,7 +3313,7 @@ This takes a single parameter which is a list of points.
Not implemented.
-QPopupMenu
+TQPopupMenu
int exec
@@ -3326,12 +3326,12 @@ This method also causes ownership of the underlying C++ menu to be transfered
to Python. This means that the C++ menu will be deleted when the Python
wrapper is garbage collected. Although this is a little inconsistent, it
ensures that the menu is deleted without having to explicity code it using
-QObject.deleteLater() or other techniques.
+TQObject.deleteLater() or other techniques.
int exec
- const QPoint &pos
+ const TQPoint &pos
int indexAtPoint = 0
@@ -3342,57 +3342,57 @@ This method also causes ownership of the underlying C++ menu to be transfered
to Python. This means that the C++ menu will be deleted when the Python
wrapper is garbage collected. Although this is a little inconsistent, it
ensures that the menu is deleted without having to explicity code it using
-QObject.deleteLater() or other techniques.
+TQObject.deleteLater() or other techniques.
-QPrintDialog (X11)
+TQPrintDialog (X11)
-QPrintDialog is fully implemented.
+TQPrintDialog is fully implemented.
-QPrinter
+TQPrinter
-QPrinter is fully implemented.
+TQPrinter is fully implemented.
-QProcess (Qt v3+)
+TQProcess (TQt v3+)
-QProcess is fully implemented.
+TQProcess is fully implemented.
-QProgressBar
+TQProgressBar
-QProgressBar is fully implemented.
+TQProgressBar is fully implemented.
-QProgressDialog
+TQProgressDialog
-QProgressDialog is fully implemented.
+TQProgressDialog is fully implemented.
value.
-QPtrList<type> (Qt v2+)
+TQPtrList<type> (TQt v2+)
-Types based on the QPtrList template are automatically
+Types based on the TQPtrList template are automatically
converted to and from Python lists of the type.
-QPushButton
+TQPushButton
-QPushButton is fully implemented.
+TQPushButton is fully implemented.
-QRadioButton
+TQRadioButton
-QRadioButton is fully implemented.
+TQRadioButton is fully implemented.
-QRangeControl
+TQRangeControl
-QRangeControl is fully implemented.
+TQRangeControl is fully implemented.
-QRect
+TQRect
The Python
&, &=,
@@ -3424,38 +3424,38 @@ This takes no parameters and returns a tuple containing the four values.
- QCOORD &rBottom
+ TQCOORD &rBottom
-Not implemented. (Qt v2+)
+Not implemented. (TQt v2+)
- QCOORD &rLeft
+ TQCOORD &rLeft
-Not implemented. (Qt v2+)
+Not implemented. (TQt v2+)
- QCOORD &rRight
+ TQCOORD &rRight
-Not implemented. (Qt v2+)
+Not implemented. (TQt v2+)
- QCOORD &rTop
+ TQCOORD &rTop
-Not implemented. (Qt v2+)
+Not implemented. (TQt v2+)
-QRegExp
+TQRegExp
The Python == and != operators are
supported.
@@ -3470,22 +3470,22 @@ supported.
This takes str and index parameters and
returns a tuple of the int result and the
-len value. (Qt v1.x)
+len value. (TQt v1.x)
int match
- const QString &str
+ const TQString &str
int index = 0
int *len = 0
This takes str and index parameters and
returns a tuple of the int result and the
-len value. (Qt v2+)
+len value. (TQt v2+)
-QRegion
+TQRegion
The Python
|, |=,
@@ -3498,7 +3498,7 @@ The Python
- QArray<QRect> rects
+ TQArray<TQRect> rects
@@ -3507,19 +3507,19 @@ Not implemented.
void setRects
- QRect *rects
+ TQRect *rects
int num
-Not yet implemented. (Qt v2.2+)
+Not yet implemented. (TQt v2.2+)
-QScrollBar
+TQScrollBar
-QScrollBar is fully implemented.
+TQScrollBar is fully implemented.
-QScrollView
+TQScrollView
void contentsToViewport
int x
@@ -3530,7 +3530,7 @@ Not yet implemented. (Qt v2.2+)
This takes the x and y parameters and
returns a tuple containing the vx and vy
-values. (Qt v2+)
+values. (TQt v2+)
@@ -3543,30 +3543,30 @@ values. (Qt v2+)
This takes the vx and vy parameters and
returns a tuple containing the x and y
-values. (Qt v2+)
+values. (TQt v2+)
-QSemaphore (Qt v2.2+)
+TQSemaphore (TQt v2.2+)
-QSemaphore is fully implemented. The +=
-and -= operators have also been implemented, but require
+TQSemaphore is fully implemented. The +=
+and -= operators have also been implemented, but retquire
Python v2.0 or later.
-QSemiModal (Qt v1, v2)
+TQSemiModal (TQt v1, v2)
-QSemiModal is fully implemented.
+TQSemiModal is fully implemented.
-QSessionManager (Qt v2+)
+TQSessionManager (TQt v2+)
-QSessionManager is fully implemented.
+TQSessionManager is fully implemented.
-QSettings (Qt v3+)
+TQSettings (TQt v3+)
bool readBoolEntry
- const QString &key
+ const TQString &key
bool def = 0
bool *ok = 0
@@ -3577,7 +3577,7 @@ the bool result and the ok flag.
double readDoubleEntry
- const QString &key
+ const TQString &key
double def = 0
bool *ok = 0
@@ -3587,40 +3587,40 @@ the double result and the ok flag.
-QString readEntry
- const QString &key
- const QString &def = QString::null
+TQString readEntry
+ const TQString &key
+ const TQString &def = TQString::null
bool *ok = 0
The ok is not passed and the returned value is a tuple of
-the QString result and the ok flag.
+the TQString result and the ok flag.
-QStringList readListEntry
- const QString &key
+TQStringList readListEntry
+ const TQString &key
bool *ok = 0
The ok is not passed and the returned value is a tuple of
-the QStringList result and the ok flag.
+the TQStringList result and the ok flag.
-QStringList readListEntry
- const QString &key
- const QChar &separator
+TQStringList readListEntry
+ const TQString &key
+ const TQChar &separator
bool *ok = 0
The ok is not passed and the returned value is a tuple of
-the QStringList result and the ok flag.
+the TQStringList result and the ok flag.
int readNumEntry
- const QString &key
+ const TQString &key
int def = 0
bool *ok = 0
@@ -3631,17 +3631,17 @@ the int result and the ok flag.
bool writeEntry
- const QString &key
+ const TQString &key
bool value
Not implemented.
-QSGIStyle (Qt v2.2+)
+TQSGIStyle (TQt v2.2+)
void scrollBarMetrics
- const QScrollBar *sb
+ const TQScrollBar *sb
int &sliderMin
int &sliderMax
int &sliderLength
@@ -3651,20 +3651,20 @@ Not implemented.
This takes only the sb parameter and returns a tuple of the
sliderMin, sliderMax,
sliderLength and buttonDim values.
-(Qt v2)
+(TQt v2)
-QSignalMapper
+TQSignalMapper
-QSignalMapper is fully implemented.
+TQSignalMapper is fully implemented.
-QSimpleRichText (Qt v2+)
+TQSimpleRichText (TQt v2+)
-QSimpleRichText is fully implemented.
+TQSimpleRichText is fully implemented.
-QSize
+TQSize
The Python
+, +=,
@@ -3676,7 +3676,7 @@ operators are supported.
- QCOORD &rheight
+ TQCOORD &rheight
@@ -3684,39 +3684,39 @@ Not implemented.
- QCOORD &rwidth
+ TQCOORD &rwidth
Not implemented.
-QSizeGrip (Qt v2+)
+TQSizeGrip (TQt v2+)
-QSizeGrip is fully implemented.
+TQSizeGrip is fully implemented.
-QSizePolicy (Qt v2+)
+TQSizePolicy (TQt v2+)
-QSizePolicy is fully implemented.
+TQSizePolicy is fully implemented.
-QSlider
+TQSlider
-QSlider is fully implemented.
+TQSlider is fully implemented.
-QSocketNotifier
+TQSocketNotifier
-QSocketNotifier is fully implemented.
+TQSocketNotifier is fully implemented.
-QSound (Qt v2.2+)
+TQSound (TQt v2.2+)
-QSound is fully implemented.
+TQSound is fully implemented.
-QSpinBox
+TQSpinBox
virtual int mapTextToValue
bool *ok
@@ -3726,12 +3726,12 @@ This returns a tuple of the int result and the modified
ok value.
-QSplashScreen (Qt v3.2.0+)
+TQSplashScreen (TQt v3.2.0+)
-QSplashScreen is fully implemented.
+TQSplashScreen is fully implemented.
-QSplitter
+TQSplitter
void getRange
int id
@@ -3740,15 +3740,15 @@ This returns a tuple of the int result and the modified
This takes the id parameter and returns the
-min and max values as a tuple. (Qt v2+)
+min and max values as a tuple. (TQt v2+)
-QStatusBar
+TQStatusBar
-QStatusBar is fully implemented.
+TQStatusBar is fully implemented.
-QChar (Qt v2+)
+TQChar (TQt v2+)
uchar &cell const
@@ -3766,10 +3766,10 @@ Not implemented.
-QString
+TQString
A Python string object (or Unicode object) can be used whenever a
-QString can be used. A QString can be
+TQString can be used. A TQString can be
converted to a Python string object using the Python str()
function, and to a Python Unicode object using the Python
unicode() function.
@@ -3783,40 +3783,40 @@ comparison operators are supported.
- QCharRef at
+ TQCharRef at
uint i
-Not yet implemented. (Qt v2+)
+Not yet implemented. (TQt v2+)
- QChar constref const
+ TQChar constref const
uint i
-Not yet implemented. (Qt v2+)
+Not yet implemented. (TQt v2+)
- QChar &ref
+ TQChar &ref
uint i
-Not yet implemented. (Qt v2+)
+Not yet implemented. (TQt v2+)
- QString &setUnicodeCodes
+ TQString &setUnicodeCodes
const ushort *unicode_as_shorts
uint len
-Not yet implemented. (Qt v2.1+)
+Not yet implemented. (TQt v2.1+)
- QString &sprintf
+ TQString &sprintf
const char *format
...
@@ -3896,7 +3896,7 @@ This returns a tuple of the double result and the
ok value.
-QStringList (Qt v2+)
+TQStringList (TQt v2+)
The Python len, [] (for both reading and
writing slices and individual elements), del (for deleting
@@ -3907,7 +3907,7 @@ slices and individual elements), +, +=,
Iterator append
- const QString &x
+ const TQString &x
This does not return a value.
@@ -3915,20 +3915,20 @@ This does not return a value.
Iterator prepend
- const QString &x
+ const TQString &x
This does not return a value.
-QStrList
+TQStrList
-This class isn't implemented. Whenever a QStrList is the
+This class isn't implemented. Whenever a TQStrList is the
return type of a function or the type of an argument, a Python list of strings
is used instead.
-QStyle (Qt v2+)
+TQStyle (TQt v2+)
virtual void getButtonShift
int &x
@@ -3936,12 +3936,12 @@ is used instead.
This takes no parameters and returns a tuple of the x and
-y values. (Qt v2)
+y values. (TQt v2)
virtual void scrollBarMetrics
- const QScrollBar *b
+ const TQScrollBar *b
int &sliderMin
int &sliderMax
int &sliderLength
@@ -3951,12 +3951,12 @@ This takes no parameters and returns a tuple of the x and
Thus takes only the b parameter and returns a tuple of the
sliderMin, sliderMax,
sliderLength and buttonDim values.
-(Qt v2)
+(TQt v2)
virtual void tabbarMetrics
- const QTabBar *t
+ const TQTabBar *t
int &hframe
int &vframe
int &overlap
@@ -3964,52 +3964,52 @@ Thus takes only the b parameter and returns a tuple of the
This takes only the t parameter and returns a tuple of the
hframe, vframe and
-overlap values. (Qt v2)
+overlap values. (TQt v2)
-QStyleOption (Qt v3+)
+TQStyleOption (TQt v3+)
-QStyleOption is fully implemented.
+TQStyleOption is fully implemented.
-QStyleSheet (Qt v2+)
+TQStyleSheet (TQt v2+)
-QStyleSheet is fully implemented.
+TQStyleSheet is fully implemented.
-QStyleSheetItem (Qt v2+)
+TQStyleSheetItem (TQt v2+)
-QStyleSheetItem is fully implemented.
+TQStyleSheetItem is fully implemented.
-QSyntaxHighlighter (Qt v3.1+)
+TQSyntaxHighlighter (TQt v3.1+)
-QSyntaxHighlighter is fully implemented.
+TQSyntaxHighlighter is fully implemented.
-QTab
+TQTab
-QTab is fully implemented.
+TQTab is fully implemented.
-QTabBar
+TQTabBar
- QList<QTab> tabList
+ TQList<TQTab> tabList
-This returns a list of QTab instances.
+This returns a list of TQTab instances.
-QTabDialog
+TQTabDialog
-QTabDialog is fully implemented.
+TQTabDialog is fully implemented.
-QTableView (Qt 1.x, Qt 2.x)
+TQTableView (TQt 1.x, TQt 2.x)
bool colXPos
int col
@@ -4030,49 +4030,49 @@ This takes the row parameter and returns a tuple containing
the bool result and yPos.
-QTabWidget (Qt v2+)
+TQTabWidget (TQt v2+)
-QTabWidget is fully implemented.
+TQTabWidget is fully implemented.
-QTextBrowser (Qt v2+)
+TQTextBrowser (TQt v2+)
-QTextBrowser is fully implemented.
+TQTextBrowser is fully implemented.
-QTextCodec (Qt v2+)
+TQTextCodec (TQt v2+)
- virtual QCString fromUnicode
- const QString &uc
+ virtual TQCString fromUnicode
+ const TQString &uc
int &lenInOut
-The returned value is a tuple of the QCString result and the
+The returned value is a tuple of the TQCString result and the
updated lenInOut.
-QTextDecoder (Qt v2+)
+TQTextDecoder (TQt v2+)
-QTextDecoder is fully implemented.
+TQTextDecoder is fully implemented.
-QTextEncoder (Qt v2+)
+TQTextEncoder (TQt v2+)
- virtual QCString fromUnicode = 0
- const QString &uc
+ virtual TQCString fromUnicode = 0
+ const TQString &uc
int &lenInOut
-The returned value is a tuple of the QCString result and the
+The returned value is a tuple of the TQCString result and the
updated lenInOut.
-QTextEdit (Qt v3+)
+TQTextEdit (TQt v3+)
int charAt
- const QPoint &pos
+ const TQPoint &pos
int *para = 0
@@ -4090,7 +4090,7 @@ This has been renamed delChar in Python.
virtual bool find
- const QString &expr
+ const TQString &expr
bool cs
bool wo
bool forward = TRUE
@@ -4128,9 +4128,9 @@ the paraFrom, indexFrom,
paraTo and indexTo values.
-QTextStream
+TQTextStream
- QTextStream
+ TQTextStream
FILE *fp
int mode
@@ -4139,7 +4139,7 @@ Not implemented.
- QTextStream &readRawBytes
+ TQTextStream &readRawBytes
char *buf
uint len
@@ -4148,7 +4148,7 @@ Not yet implemented.
- QTextStream &writeRawBytes
+ TQTextStream &writeRawBytes
const char *buf
uint len
@@ -4157,9 +4157,9 @@ Not yet implemented.
-QTextIStream (Qt v2+)
+TQTextIStream (TQt v2+)
- QTextIStream
+ TQTextIStream
FILE *fp
int mode
@@ -4168,9 +4168,9 @@ Not implemented.
-QTextOStream (Qt v2+)
+TQTextOStream (TQt v2+)
- QTextOStream
+ TQTextOStream
FILE *fp
int mode
@@ -4178,71 +4178,71 @@ Not implemented.
Not implemented.
-QTextView (Qt v2+)
+TQTextView (TQt v2+)
-QTextView is fully implemented.
+TQTextView is fully implemented.
-QThread (Qt v2.2+)
+TQThread (TQt v2.2+)
-QThread is fully implemented.
+TQThread is fully implemented.
-QTimer
+TQTimer
-QTimer is fully implemented.
+TQTimer is fully implemented.
-QToolBar
+TQToolBar
-QToolBar is fully implemented.
+TQToolBar is fully implemented.
-QToolBox (Qt v3.2.0+)
+TQToolBox (TQt v3.2.0+)
-QToolBox is fully implemented.
+TQToolBox is fully implemented.
-QToolButton
+TQToolButton
-QToolButton is fully implemented.
+TQToolButton is fully implemented.
-QToolTip
+TQToolTip
-QToolTip is fully implemented.
+TQToolTip is fully implemented.
-QToolTipGroup
+TQToolTipGroup
-QToolTipGroup is fully implemented.
+TQToolTipGroup is fully implemented.
-QTranslator (Qt v2+)
+TQTranslator (TQt v2+)
-QTranslator is fully implemented.
+TQTranslator is fully implemented.
-QTranslatorMessage (Qt v2.2+)
+TQTranslatorMessage (TQt v2.2+)
-QTranslatorMessage is fully implemented.
+TQTranslatorMessage is fully implemented.
-QUrl (Qt v2.1+)
+TQUrl (TQt v2.1+)
-QUrl is fully implemented, including the
-QString(), == and !=
+TQUrl is fully implemented, including the
+TQString(), == and !=
operators.
-QUrlInfo (Qt v2.1+)
+TQUrlInfo (TQt v2.1+)
-QUrlInfo is fully implemented.
+TQUrlInfo is fully implemented.
-QUrlOperator (Qt v2.1+)
+TQUrlOperator (TQt v2.1+)
virtual bool isDir
bool *ok
@@ -4252,15 +4252,15 @@ This returns a tuple of the bool result and the
ok value.
-QUuid (Qt v3.0+)
+TQUuid (TQt v3.0+)
-QUuid is fully implemented.
+TQUuid is fully implemented.
-QValidator
+TQValidator
virtual State validate
- QString& input
+ TQString& input
int& pos
@@ -4269,10 +4269,10 @@ updated pos.
-QDoubleValidator
+TQDoubleValidator
State validate
- QString& input
+ TQString& input
int& pos
@@ -4281,10 +4281,10 @@ updated pos.
-QIntValidator
+TQIntValidator
State validate
- QString& input
+ TQString& input
int& pos
@@ -4293,10 +4293,10 @@ updated pos.
-QRegExpValidator (Qt v3+)
+TQRegExpValidator (TQt v3+)
virtual State validate
- QString& input
+ TQString& input
int& pos
@@ -4304,15 +4304,15 @@ The returned value is a tuple of the State result and the
updated pos.
-QValueList<type> (Qt v2+)
+TQValueList<type> (TQt v2+)
-Types based on the QValueList template are automatically
+Types based on the TQValueList template are automatically
converted to and from Python lists of the type.
-QVariant (Qt v2.1+)
+TQVariant (TQt v2.1+)
- QVariant
+ TQVariant
const char *val
@@ -4320,35 +4320,35 @@ Not implemented.
- QVariant
- const QBitArray &val
+ TQVariant
+ const TQBitArray &val
-Not yet implemented. (Qt v3+)
+Not yet implemented. (TQt v3+)
- QVariant
- const QValueList<QVariant> &val
+ TQVariant
+ const TQValueList<TQVariant> &val
Not yet implemented.
- QVariant
- const QMap<QString,QVariant> &val
+ TQVariant
+ const TQMap<TQString,TQVariant> &val
Not yet implemented.
- QBitArray &asBitArray
+ TQBitArray &asBitArray
-Not yet implemented. (Qt v3+)
+Not yet implemented. (TQt v3+)
@@ -4376,7 +4376,7 @@ Not implemented.
- QValueList<QVariant> &asList
+ TQValueList<TQVariant> &asList
@@ -4384,7 +4384,7 @@ Not implemented.
- QMap<QString,QVariant> &asMap
+ TQMap<TQString,TQVariant> &asMap
@@ -4400,7 +4400,7 @@ Not implemented.
- QValueListConstIterator<QVariant>listBegin const
+ TQValueListConstIterator<TQVariant>listBegin const
@@ -4408,7 +4408,7 @@ Not implemented.
- QValueListConstIterator<QVariant>listEnd const
+ TQValueListConstIterator<TQVariant>listEnd const
@@ -4416,7 +4416,7 @@ Not implemented.
- QMapConstIterator<QString,QVariant>mapBegin const
+ TQMapConstIterator<TQString,TQVariant>mapBegin const
@@ -4424,7 +4424,7 @@ Not implemented.
- QMapConstIterator<QString,QVariant>mapEnd const
+ TQMapConstIterator<TQString,TQVariant>mapEnd const
@@ -4432,15 +4432,15 @@ Not implemented.
- QMapConstIterator<QString,QVariant>mapFind const
- const QString &key
+ TQMapConstIterator<TQString,TQVariant>mapFind const
+ const TQString &key
Not implemented.
- QValueListConstIterator<QString>stringListBegin const
+ TQValueListConstIterator<TQString>stringListBegin const
@@ -4448,7 +4448,7 @@ Not implemented.
- QValueListConstIterator<QString>stringListEnd const
+ TQValueListConstIterator<TQString>stringListEnd const
@@ -4456,15 +4456,15 @@ Not implemented.
- const QBitArray toBitArray const
+ const TQBitArray toBitArray const
-Not yet implemented. (Qt v3+)
+Not yet implemented. (TQt v3+)
- const QValueList<QVariant>toList const
+ const TQValueList<TQVariant>toList const
@@ -4472,41 +4472,41 @@ Not yet implemented.
- const QMap<QString,QVariant>toMap const
+ const TQMap<TQString,TQVariant>toMap const
Not yet implemented.
-QVBox (Qt v2+)
+TQVBox (TQt v2+)
-QVBox is fully implemented.
+TQVBox is fully implemented.
-QVButtonGroup (Qt v2+)
+TQVButtonGroup (TQt v2+)
-QVButtonGroup is fully implemented.
+TQVButtonGroup is fully implemented.
-QVGroupBox (Qt v2+)
+TQVGroupBox (TQt v2+)
-QVGroupBox is fully implemented.
+TQVGroupBox is fully implemented.
-QWaitCondition (Qt v2.2+)
+TQWaitCondition (TQt v2.2+)
-QWaitCondition is fully implemented.
+TQWaitCondition is fully implemented.
-QWhatsThis
+TQWhatsThis
-QWhatsThis is fully implemented.
+TQWhatsThis is fully implemented.
-QWidget
+TQWidget
- QWExtra *extraData
+ TQWExtra *extraData
@@ -4514,7 +4514,7 @@ Not implemented.
- QFocusData *focusData
+ TQFocusData *focusData
@@ -4537,24 +4537,24 @@ This has been renamed to lowerW in Python.
This has been renamed to raiseW in Python.
-QWidgetList
+TQWidgetList
-This class isn't implemented. Whenever a QWidgetList is the
+This class isn't implemented. Whenever a TQWidgetList is the
return type of a function or the type of an argument, a Python list of
instances is used instead.
-QWidgetStack
+TQWidgetStack
-QWidgetStack is fully implemented.
+TQWidgetStack is fully implemented.
-QWindow
+TQWindow
-QWindow is fully implemented (Qt v1.x).
+TQWindow is fully implemented (TQt v1.x).
-QWindowsStyle (Qt v2+)
+TQWindowsStyle (TQt v2+)
void getButtonShift
int &x
@@ -4562,12 +4562,12 @@ instances is used instead.
This takes no parameters and returns a tuple of the x and
-y values. (Qt v2)
+y values. (TQt v2)
void scrollBarMetrics
- const QTabBar *sb
+ const TQTabBar *sb
int &sliderMin
int &sliderMax
int &sliderLength
@@ -4577,12 +4577,12 @@ This takes no parameters and returns a tuple of the x and
This takes only the sb parameter and returns a tuple of the
sliderMin, sliderMax,
sliderLength and buttonDim values.
-(Qt v2)
+(TQt v2)
void