summaryrefslogtreecommitdiffstats
path: root/src/kernel/qwidget.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Improve handling of the global post event list in order to minimize possible ↵Michele Calgaro2024-08-291-1/+4
| | | | | | | | | | | | | | | crashes on exit. Key points: 1. a TQPostEventList can now have an associated mutex, which is used in case of the global post event list (GPEL) 2. the lifetime of the GPEL is no longer associated to the lifetime of the TQApplication object, but rather extended to the lifetime of the main thread. The GPEL is a static local initialized on first access and destroyed when the global static object destructor is invoked 3. access to the GPEL after the TQApplication object has been destroyed has been minimized by protecting calls in ~TQObject() and ~TQWidget(). 4. special care was taken not to affect performances or unnecessarily create tons of unused TQMutexes This replaces PR #182. Technically it is still possibly unsafe due to the order of destruction of the globat static objects not being guaranteed across multiple compilation units, but the aforementioned changes should minimize (possible to zero) the chances of a SEGV happening. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit ddce1c91f8582885497b463b24bac59f6fdfdf63)
* Added check for tqApp pointer in TQWidget destructorormorph2024-08-161-2/+2
| | | | | | | Necessary for the application to shut down properly Signed-off-by: ormorph <roma251078@mail.ru> (cherry picked from commit c55ef27a2c511c29a8a82d00bd2ede1fb02cfa41)
* Replace Q_WS_* defines with TQ_WS_* equivalentsMichele Calgaro2024-02-141-36/+36
| | | | | | | | | | | | | 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> (cherry picked from commit 67bff2edcacb208dc44dcd521386bef686dc6dbf)
* Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOTMichele Calgaro2023-12-311-5/+5
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit fb401a891f1b426e9419c0cb16403df407138611)
* Removed explicit usage of the 'register' keyword.Michele Calgaro2020-01-301-3/+3
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* QT_NO_* -> TQT_NO_* renaming.Michele Calgaro2018-10-171-44/+44
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Conversion QT_THREAD_SUPPORT -> TQT_THREAD_SUPPORT. This is part of theMichele Calgaro2018-09-161-2/+2
| | | | | | | qt->tqt conversion and is required to align to corresponding patch for common/admin module. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Fixed "TQApplication::postEvent: Unexpected null receiver" warning message. ↵Michele Calgaro2014-07-301-3/+3
| | | | This resolves bug 1901 and 1909.
* Automated update from Qt3Timothy Pearson2013-10-171-0/+1
|
* Automated update from Qt3Timothy Pearson2013-05-071-2/+2
|
* Automated update from Qt3Timothy Pearson2012-12-061-0/+9
|
* Automated update from Qt3Timothy Pearson2012-11-141-1/+12
|
* Automated update from qt3Timothy Pearson2012-03-061-7/+7
|
* Automated conversion from qt3Timothy Pearson2012-02-281-6/+6
|
* Automated update from qt3Timothy Pearson2012-02-271-28/+28
|
* Automated update from Qt3Timothy Pearson2012-02-131-3/+3
|
* Automated conversion from Qt3Timothy Pearson2012-02-071-3/+3
|
* Update to latest tqt3 automated conversionTimothy Pearson2012-01-261-20/+20
|
* Update from qt3Timothy Pearson2012-01-261-0/+20
|
* Sync with latest scriptTimothy Pearson2011-12-051-2/+2
|
* Update from latest conversion scriptTimothy Pearson2011-12-051-1/+1
|
* Fix native TQt3 accidental conversion to tquitTimothy Pearson2011-11-141-6/+6
|
* Test conversion to TQt3 from Qt3 8c6fc1f8e35fd264dd01c582ca5e7549b32ab731Timothy Pearson2011-11-081-0/+6081