summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* qobject.cpp: fix compilation with -DTQT_NO_USERDATAAlexander Golubev2024-03-161-1/+1
| | | | Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* Add a lock to removing ourself from another's object's sender listAlexander Golubev2024-03-161-20/+19
| | | | | | Also simplify locks around removeObjFromList() in disconnectInternal(). Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* TQObject::activate_signal: uniformly apply if(sol) checksAlexander Golubev2024-03-161-10/+10
| | | | | | | | It seems the situation where sol is NULL is theoretically possible. So keep the checks and apply those uniformly to all instances of access to `sol`. Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* Deduplicate code in TQObject::activate_signal()Alexander Golubev2024-03-161-103/+30
| | | | | | | | | | | According to a benchmark the while() loop with direct use of iterators were ~10% slower than the current one which handled case when there is only one connection to a signal separately. But use of a range-based for loop sped up even this case for ~1.5%. Closes: https://mirror.git.trinitydesktop.org/gitea/TDE/tqt3/issues/121 Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* Resort includes in ntqt.hAlexander Golubev2024-03-131-5/+5
| | | | Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* ./configure: turn thread support on by defaultAlexander Golubev2024-03-111-1/+0
| | | | 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.