Commit Graph

94 Commits (456d0fb6a207e9c80593967f2e37ddd21d32f5a4)
 

Author SHA1 Message Date
Michele Calgaro 456d0fb6a2
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro db3abe1860
Replace various Q_* and QT_* defines with TQ_* and TQT_*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro 8ccbd4fc02
Removed unnecessary code
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro aa6764916f
Drop compatibility code for TQPalette
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro cba162755d
Drop compatibility code for TQThread
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro 8bd235befa
Addons to previous commit
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro 28273a01ca
Drop Qt2's TQSemiModal class.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
François Andriot f4a39d2fde This happens en RHEL7 (gcc 4.8.5) but not on later distributions.
Signed-off-by: François Andriot <francois.andriot@free.fr>
2 years ago
Slávek Banko 4feca443fb
temporary commit to show changes
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
2 years ago
Slávek Banko 16434e5519
Do rename qt=>tqt on source files, directories and libraries.
Rename pyuic=>pytquic, pylupdate=>pytqlupdate.
Do rename qt=>tqt on constants and variables.
Do rename QT=>TQT on constants.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
2 years ago
Michele Calgaro 1c362264d3
Remove/replace old conditional python code.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Slávek Banko 6054548c25
Update module name definitions to match full name.
This will enable automatic loading of PyTQt modules
for modules that depend on PyTQt modules.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
2 years ago
Michele Calgaro d31a084fc8
Use utf8 instead of latin1/ascii as default. Address pyuic compatibility with python3.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro 3095466100
Fixed SEGV caused by commit 6be04664 when creating universal slots.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Slávek Banko 7ec95b9522
Rename python extension module from python_tqt to PyTQt.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
2 years ago
ormorph 223af3b47f Added fix canvas.py for python3
Signed-off-by: ormorph <roma251078@mail.ru>
3 years ago
aneejit1 33a0297b35 Remove support for earlier Qt/TQt versions
Conditional code in the .sip files linked to specific older versions has
been removed. Since the versions of TQt and python-tqt are running in
parallel, the support for older versions was clutter that would never
actually be used now.

Signed-off-by: aneejit1 <aneejit1@gmail.com>
3 years ago
aneejit1 e602246539 Remove Qt V2 support and example files
Build files for pyuic2 have been removed along with the examples for
version 2 of Qt and the build/configure scripts have been amended
accordingly. The "examples3" directory has been renamed to just
"examples".

Signed-off-by: aneejit1 <aneejit1@gmail.com>
3 years ago
Slávek Banko b34531364d
Changed testing for the presence of optional modules,
because simply testing a file with a ".so" extension
does not work on multiarch Python installations.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
aneejit1 6be0466422
Updates to support Python version 3
Amendments to the sip source and configuration/build scripts to allow
for support under Python version 3. The examples have been updated
using "2to3" along with some manual changes to sort out intentation
and casting to integer from float.

Signed-off-by: aneejit1 <aneejit1@gmail.com>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Michele Calgaro 63fe0b82b4
Rename ENABLE_QSTYLECONTROLELEMENTDATA_SLOW_COPY in ENABLE_TQSTYLECONTROLELEMENTDATA_SLOW_COPY
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Slávek Banko f1df318a34
Update for renamed sip_tqt_config.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Michele Calgaro 7670049129
Replaced 'includehints' with 'includes' in *.ui files.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Michele Calgaro 34c13c8117
Convert .ui file from dos to unix format.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Slávek Banko cfaa762ca7
Update after rename QScintilla => TQScintilla.
This relates to issue TDE/tqscintilla#2.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Michele Calgaro 8e8bdb86cb
Additional fix similar to previous commit.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
François Andriot 6d6b6319a8 Fix ftbfs on Fedora 34
error: ordered comparison of pointer with integer zero ('PyObject*' {aka '_object*'} and 'in ')

Signed-off-by: François Andriot <francois.andriot@free.fr>
4 years ago
Slávek Banko a0b020e7d2
pyuic: Delete the current date from the generated files
so that their generation can be reproducible.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Michele Calgaro af4bcf6b8f
Removed code formatting modelines.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro 989e3c1dc4
Adjusted to latest TQVariant::TQVariant(bool) function.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro ae59056eb2
Removed obsolete CHECK_PTR and replaced CHECK_PTR/Q_CHECK_PTR with TQ_CHECK_PTR.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro cdb2c767da
Removed obsolete Qt2's TQList/TQListIterator classes and replaced
with TQt3's TQPtrList/TQPtrListIterator ones.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro 79113dda15
QT_NO_* -> TQT_NO_* renaming.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro 2638efc545
qt -> tqt conversion:
QT_NO_ASCII_CAST -> TQT_NO_ASCII_CAST
QT_NO_STL -> TQT_NO_STL
QT_NO_COMPAT -> TQT_NO_COMPAT
QT_NO_TRANSLATION -> TQT_NO_TRANSLATION

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro 2ead41ab9a
qt -> tqt conversion:
QTDIR -> TQTDIR
QTDOC -> TQTDOC
INCDIR_QT -> INCDIR_TQT
LIBDIR_QT -> LIBDIR_TQT
QT_INC -> TQT_INC
QT_LIB -> TQT_LIB

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro 0517447cd1
qt -> tqt conversion:
qtlib -> tqtlib
libqt -> libtqt
QTLIB -> TQTLIB
LIBQT -> LIBTQT

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro aa7aad9260
QT_THREAD_SUPPORT -> TQT_THREAD_SUPPORT conversion to align to updated admin module
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 years ago
Slávek Banko 893921f038
Conversion QT_THREAD_SUPPORT -> TQT_THREAD_SUPPORT
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
7 years ago
Slávek Banko 1638609997 Properly import python_tqt module in scripts generated by pyuic
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
9 years ago
Slávek Banko e790d08307 Fix examples to properly import python_tqt module
This resolves bug 2693

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
9 years ago
Slávek Banko 0b2f1c4760 Improve python_tqt module initialization
This relates to bug 2693

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
9 years ago
Timothy Pearson cc2cd44cab Fix invalid headers in PNG files and optimize for size 9 years ago
Michele Calgaro 51b4af5d81 Fixed FTBFS caused by wrong #define.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
10 years ago
François Andriot 695fdfc196 Fix FTBFS if no "-e" parameter is used 11 years ago
Timothy Pearson e3a99f6792 Set python library for all modules
This relates to Bug 1995
11 years ago
Timothy Pearson 1653baa518 Fix minor text error in prior commit 11 years ago
Timothy Pearson a23242ac11 Add ability to set libpython library
This relates to Bug 1995
11 years ago
Timothy Pearson 5db5a616d8 Add missing methods to SQL database and driver classes
This resolves Bug 2121
11 years ago
Slávek Banko 4049988a92 Install as module by default 11 years ago
Francois Andriot bef776509e Fix detection of sip4-tqt module 11 years ago