Commit Graph

433 Commits (fb401a891f1b426e9419c0cb16403df407138611)
 

Author SHA1 Message Date
Michele Calgaro fb401a891f
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Slávek Banko a9d178f100
Fix potential buffer overflow in debug functions.
This resolves issue #70.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
1 year ago
Mavridis Philippe fd6c582f15
Update README
A new README with markdown format, updated information on TQt, contributor section and translations status.

The old README has been preserved as README.Qt3 for historical reasons.

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
1 year ago
Mavridis Philippe aec0061106
Add support for HistoryBackButton and HistoryForwardButton
This resolves TDE/tdebase#421.

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
1 year ago
Michele Calgaro 6e5c7efaca
tqdesigner: prevent SEGV from invalid pointer. This resolves issue #97.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Signed-off-by: ormorph <roma251078@mail.ru>
1 year ago
Andrei Stepanov ee0c5d5840 Translated using Weblate (Russian)
Currently translated at 100.0% (488 of 488 strings)

Translation: dependencies/tqt3
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/dependencies/tqt3/ru/
1 year ago
Andrei Stepanov a6829398d0 Translated using Weblate (Russian)
Currently translated at 100.0% (488 of 488 strings)

Translation: dependencies/tqt3
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/dependencies/tqt3/ru/
1 year ago
Michele Calgaro 5eccf2a5e3
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro 089d5266f0
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Andrei Stepanov d21227053c Translated using Weblate (Russian)
Currently translated at 100.0% (488 of 488 strings)

Translation: dependencies/tqt3
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/dependencies/tqt3/ru/
1 year ago
Michele Calgaro b35e0845dc
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro 1ba13366a7
Replace Q_EXPORT_*/Q_EXTERN defines with TQ_EXPORT_*/TQ_EXTERN
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro 926102a455
Replace various Q_* and QT_* defines with TQ_* and TQT_*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro e0a3cab446
Minor adjustments to porting documentation
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro f2b3ea52ef
Drop compatibility code for TQSignal
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro fb6884ead2
Drop compatibility code for TQPalette
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Slávek Banko 2e817b4bc1
Remove dangled symlinks for droped compat headers.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
2 years ago
Michele Calgaro c3bb88817b
Drop compatibility code for TQButton
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro 9492e618a7
Drop compatibility code for TQThread
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro 979f5621d7
Drop compatibility code for TQLineEdit
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro 83991febd2
Remove Qt4 related stuff
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro 48ea22d00b
Drop compatibility code for TQToolButton
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro b1bfbe79f3
Drop compat headers
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro fd565e9bad
Reintroduced porting documentation previously removed
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro 7c116f3bf7
Drop attic Qt2 classes (TQtMultiLineEdit and TQtTableView)
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro bfd62a0bbf
Drop Qt2's TQSemiModal and TQSortedList classes
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Louies a8466ab3bb Translated using Weblate (Chinese (zh))
Currently translated at 100.0% (15 of 15 strings)

Translation: dependencies/tqt3 - examples-i18n
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/dependencies/tqt3-examples-i18n/zh/
2 years ago
Michele Calgaro 5350a72404
Drop TQT_NO_COMPAT code from mkspecs files
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Denis Kozadaev 47f034c129 SunOS res_ninit() requires a clean structure
Signed-off-by: Denis Kozadaev <denis@dilos.org>

init structure without condition

Signed-off-by: Denis Kozadaev <denis@dilos.org>
2 years ago
Michele Calgaro fb1f3d6445
Revert "Add single TQObject root parent for all guarded pointers."
Commit b167d09c was functionally incorrect and is causing issues on
selected distributions.
This reverts commit b167d09c43.
This resolves issue TDE/tde#128.
2 years ago
Michele Calgaro a75445b4c3
Drop Qt2 obsolete classes
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Bobby Bingham 0b3c8dfbc9
Enable use of pthread's recursive mutexes
Signed-off-by: Bobby Bingham <koorogi@koorogi.info>
2 years ago
Mehmet Dokuz b6e9b6c6c4 Added translation using Weblate (Turkish) 2 years ago
Mehmet Dokuz af9d6b1145 Added translation using Weblate (Turkish) 2 years ago
Bobby Bingham 999cebcb5d
Fix level when using pthreads recursive mutex
When using the pthreads recursive mutex, the level method was only able
to return either zero or one, but a recursive mutex can be locked more
than once.

Additionally, the way this detected if the mutex was already locked was
to test whether it can be locked again. If testing from the thread that
is currently holding the lock, this locking attempt always succeeds, and
therefore determines that the lock is _not_ held at all. This is
especially bad, as this operation only makes sense to perform from the
thread that holds the lock -- if any thread not holding the lock queries
the number of times the lock is held, that answer can change before the
thread can used it.

Signed-off-by: Bobby Bingham <koorogi@koorogi.info>
2 years ago
Denis Kozadaev 4ff2cb8b3c socket and nsl functions were moved to libc
Signed-off-by: Denis Kozadaev <denis@dilos.org>
2 years ago
Michele Calgaro b167d09c43
Add single TQObject root parent for all guarded pointers.
This helps keeping the object root list shorter, speeding up operations
which require lot of TQObject trees. This relates to TDE/tdebase#309.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro 044c03f28e
Remove unnecessary accelerators from .ui files
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro ec04b50a44
Rename ENABLE_QSTYLECONTROLELEMENTDATA_SLOW_COPY in ENABLE_TQSTYLECONTROLELEMENTDATA_SLOW_COPY
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Mavridis Philippe 12c9e70bad SGI style: enable complex widget rendering
Was commented out for no obvious reason

This resolves issue #64.

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
Slávek Banko 4d35e785e6
Update translations binary files
because they are not generated during build.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Slávek Banko aec367ef28
Use empty d->cString for TQString::shared_null instead of null string.
This restores consistency for the behavior of methods TQString::utf8()
and TQString::local8Bit() with null TQStrings.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Slávek Banko e919ffc1ec
Avoid changes of d->cString for TQString::shared_null to make the value reliable.
This precedes unnecessary allocations, potential use after free and crashes.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Alexander Golubev cc9271d731 Translated using Weblate (Russian)
Currently translated at 100.0% (488 of 488 strings)

Translation: dependencies/tqt3
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/dependencies/tqt3/ru/
3 years ago
Alexander Golubev f5142f56bd Translated using Weblate (Russian)
Currently translated at 100.0% (488 of 488 strings)

Translation: dependencies/tqt3
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/dependencies/tqt3/ru/
3 years ago
Michele Calgaro cde9d7e942
Removed QT_NON_COMMERCIAL check and related code.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Michele Calgaro 09659a5623
TQt Designer: use global includes instead of includehints and
remove duplicated include directives if found in UI files.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Michele Calgaro fef67fdc51
Replaced 'includehints' with 'includes' in *.ui files.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
OBATA Akio 7e4fc64d69 tools: fix to use `pthread_t` for Thread ID
Thread ID is opaque type pthread_t, it may not be compatible with integer,
and may integer with valid id `0`.
Change to store mutex owner thread ID as `pthread_t` type with valid flag
and compare with `pthread_equal()`,

and don't try to print it.

Signed-off-by: OBATA Akio <obache@wizdas.com>
3 years ago
Emanoil Kotsev 1c1b280b1f
Revert back TQt to Qt in the book title
Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
3 years ago