summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Deduplicate code in TQObject::activate_signal()feat/naive-dedupAlexander Golubev2024-03-111-99/+28
| | | | Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* Avoid setting CONFIG=thread in qmake.confAlexander Golubev2024-03-105-5/+5
| | | | | | Otherwise it's impossible to override in ./configure Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* Fix compilation with -no-threadAlexander Golubev2024-03-104-27/+61
| | | | Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* Fix up mkspecs/linux-g++-32/qplatformdefs.hAlexander Golubev2024-03-101-0/+7
| | | | | | The head of file was accidentally deleted in 455154ce Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* Fix compilation with -disable-inputmethod and -no-inputmethodAlexander Golubev2024-03-074-5/+18
| | | | | | | | | | | | | | | | | | | | | | | | | As for now here are two sets of inputmethod options: - -enable-inputmethod/disable-inputmethod - which seems to supposed to control whether build the 'inputmethod' module or not - -inputmethod/-no-inputmethod - which seems to supposed to enable/disable inputmethod support without changing the ABI. Before the patch both -disable-inputmethod and -no-inputmethod were just breaking the build: -no-inputmethod were disabling some code with support for the module, but didn't disabled the module build itself nor build of plugins. -disable-inputmethod were disabling build of plugins and module, but didn't disabled code depending upon it. It seems the inputmethod support were still WIP when the last release of Qt3 came to be, hence the mess. This patch fixes the build if both -disable-inputmethod AND -no-inputmethod are supplied. Disabling only one is not enough due to tqmake/configure have problems handling two different options of the same name. Later the -inputmethod/-no-inputmethod should be probably removed entirely. Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* Fix FTBFS with -no-xkbAlexander Golubev2024-03-041-4/+17
| | | | | | | The analogue of XkbKeycodeToKeysym() used to be XKeycodeToKeysym(), but it was deprecated in favour of XGetKeyboardMapping() method. Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* Fix FTBFS with -no-stlAlexander Golubev2024-03-041-0/+2
| | | | | | On modern compilers placement new requires inclusion of <new> Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* avoid translating the /qt/XIMInputStyle options when saving into configAlexander Golubev2024-03-022-6/+7
| | | | | | | Also use "On The Spot" as the default when the setting in the config is incorrect. Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* gitignore: add missing examples (sound, tablet)Alexander Golubev2024-02-291-0/+4
| | | | Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* Fix FTBFS with -qt-sql-sqlite3Alexander Golubev2024-02-291-0/+5
| | | | | | Fix FTBFS when sqlite3 sql driver is being built into the library Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* fix grep complain in configure: "warning: stray \ before c"Alexander Golubev2024-02-211-3/+3
| | | | Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* Remove original Q_WS_* definesMichele Calgaro2024-02-202-22/+0
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Add .gitignore fileAlexander Golubev2024-02-191-0/+303
| | | | Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* Replace QT_STATIC_CONST_* with actual definitionsMichele Calgaro2024-02-1512-155/+129
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Replace Q_WS_* defines with TQ_WS_* equivalentsMichele Calgaro2024-02-12209-1191/+1213
| | | | | | | | | | | | This is the first part of the replacement process. Usage of Q_WS_* has been replaced with the equivalent TQ_WS_*. Definition of Q_WS_* has been mirrored into TQ_WS_* defines, to allow TDE code to continue building till replacement is carried over to all other modules. Once that is completed, the original Q_WS_* defines will be removed. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOTMichele Calgaro2023-12-27472-3800/+3800
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Fix potential buffer overflow in debug functions.Slávek Banko2023-12-261-3/+3
| | | | | | This resolves issue #70. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Update READMEMavridis Philippe2023-12-173-8/+66
| | | | | | | | 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>
* Add support for HistoryBackButton and HistoryForwardButtonMavridis Philippe2023-12-163-12/+21
| | | | | | This resolves TDE/tdebase#421. Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* tqdesigner: prevent SEGV from invalid pointer. This resolves issue #97.Michele Calgaro2023-12-081-1/+9
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> Signed-off-by: ormorph <roma251078@mail.ru>
* Translated using Weblate (Russian)Andrei Stepanov2023-12-031-1/+1
| | | | | | | Currently translated at 100.0% (488 of 488 strings) Translation: dependencies/tqt3 Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/dependencies/tqt3/ru/
* Translated using Weblate (Russian)Andrei Stepanov2023-12-011-1/+1
| | | | | | | Currently translated at 100.0% (488 of 488 strings) Translation: dependencies/tqt3 Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/dependencies/tqt3/ru/
* Replaced various '#define' with actual strings - part 3Michele Calgaro2023-11-242-2/+2
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Replace Qt with TQtMichele Calgaro2023-11-1958-292/+292
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Translated using Weblate (Russian)Andrei Stepanov2023-11-051-1/+1
| | | | | | | Currently translated at 100.0% (488 of 488 strings) Translation: dependencies/tqt3 Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/dependencies/tqt3/ru/
* Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, ↵Michele Calgaro2023-09-23396-7141/+7141
| | | | | | QIODevice with TQ* version Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Replace Q_EXPORT_*/Q_EXTERN defines with TQ_EXPORT_*/TQ_EXTERNMichele Calgaro2023-09-13577-1582/+1582
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Replace various Q_* and QT_* defines with TQ_* and TQT_*Michele Calgaro2023-09-0793-598/+598
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Minor adjustments to porting documentationMichele Calgaro2023-08-072-16/+16
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Drop compatibility code for TQSignalMichele Calgaro2023-08-078-123/+8
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Drop compatibility code for TQPaletteMichele Calgaro2023-07-188-86/+11
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Remove dangled symlinks for droped compat headers.Slávek Banko2023-07-1852-52/+0
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Drop compatibility code for TQButtonMichele Calgaro2023-07-1614-109/+5
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Drop compatibility code for TQThreadMichele Calgaro2023-07-118-41/+2
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Drop compatibility code for TQLineEditMichele Calgaro2023-07-1110-213/+45
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Remove Qt4 related stuffMichele Calgaro2023-07-0937-263/+11
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Drop compatibility code for TQToolButtonMichele Calgaro2023-07-0910-333/+13
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Drop compat headersMichele Calgaro2023-07-0845-1127/+0
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Reintroduced porting documentation previously removedMichele Calgaro2023-07-072-0/+32
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Drop attic Qt2 classes (TQtMultiLineEdit and TQtTableView)Michele Calgaro2023-07-076-7128/+0
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Drop Qt2's TQSemiModal and TQSortedList classesMichele Calgaro2023-07-0729-568/+8
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Translated using Weblate (Chinese (zh))Louies2023-07-011-16/+18
| | | | | | | 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/
* Drop TQT_NO_COMPAT code from mkspecs filesMichele Calgaro2023-06-1756-1567/+0
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* SunOS res_ninit() requires a clean structureDenis Kozadaev2023-06-151-0/+2
| | | | | | | | Signed-off-by: Denis Kozadaev <denis@dilos.org> init structure without condition Signed-off-by: Denis Kozadaev <denis@dilos.org>
* Revert "Add single TQObject root parent for all guarded pointers."Michele Calgaro2023-06-121-2/+1
| | | | | | | Commit b167d09c was functionally incorrect and is causing issues on selected distributions. This reverts commit b167d09c43be6c8b7d30f0d4fb1bf1e86c51b8a7. This resolves issue TDE/tde#128.
* Drop Qt2 obsolete classesMichele Calgaro2023-06-0321-480/+4
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Enable use of pthread's recursive mutexesBobby Bingham2023-06-021-190/+6
| | | | Signed-off-by: Bobby Bingham <koorogi@koorogi.info>
* Added translation using Weblate (Turkish)Mehmet Dokuz2023-05-311-0/+1985
|
* Added translation using Weblate (Turkish)Mehmet Dokuz2023-05-311-0/+70
|
* Fix level when using pthreads recursive mutexBobby Bingham2023-05-231-16/+12
| | | | | | | | | | | | | | | | | 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>