summaryrefslogtreecommitdiffstats
path: root/src/kernel/qapplication.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Rename remaining ntq[s-z]* related files to equivalent tq*Michele Calgaro2024-09-121-1/+1
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Rename remaining ntq[m-r]* related files to equivalent tq* (except ntqmodules.h)Michele Calgaro2024-09-041-2/+2
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Rename remaining ntq[i-l]* related files to equivalent tq*Michele Calgaro2024-08-311-1/+1
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Rename remaining ntq[d-h]* related files to equivalent tq*Michele Calgaro2024-08-311-2/+2
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Rename remaining ntq[a-c]* related files to equivalent tq* (except ↵Michele Calgaro2024-08-291-2/+2
| | | | | | ntqapplication.h and ntqconfig.h) Signed-off-by: Michele Calgaro <[email protected]>
* Rename global classes nt* related files to equivalent tq*Michele Calgaro2024-08-291-1/+1
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Improve handling of the global post event list in order to minimize possible ↵Michele Calgaro2024-08-231-75/+84
| | | | | | | | | | | | | | 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 <[email protected]>
* Rename more widget nt* related files to equivalent tq*Michele Calgaro2024-08-121-1/+1
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Rename environment class nt* related files to equivalent tq*Michele Calgaro2024-07-281-3/+3
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Rename graphics class nt* related files to equivalent tq* (part 1)Michele Calgaro2024-07-181-1/+1
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Rename IO and network class nt* related files to equivalent tq*Michele Calgaro2024-07-101-4/+4
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Rename drag-n-drop nt* related files to equivalent tq*Michele Calgaro2024-07-071-1/+1
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Rename main window nt* related files to equivalent tq*. The fileMichele Calgaro2024-07-061-2/+2
| | | | | | "ntqsession.h" was totally unnecessary and has been removed. Signed-off-by: Michele Calgaro <[email protected]>
* Rename threading nt* related files to equivalent tq*Michele Calgaro2024-06-301-3/+3
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Remove documentation for QWS classes and Qt/EmbeddedMichele Calgaro2024-06-251-9/+1
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Rename style nt* related files to equivalent tq*Michele Calgaro2024-06-121-2/+2
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Rename text nt* related files to equivalent tq*Michele Calgaro2024-06-081-1/+1
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Rename ptr nt* related files to equivalent tq*Michele Calgaro2024-06-061-1/+1
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Rename ntqwidget* related files to equivalent tqwidget*Michele Calgaro2024-06-021-4/+4
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Rename ntqobject*.h and qobject*.cpp to tqobject*Michele Calgaro2024-05-271-1/+1
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Improve TQFont-related cleanupAlexander Golubev2024-03-291-1/+1
| | | | | | | | | Improve TQFont cleanup making sure that all instances of TQFont are destroyed before TQApplication (or specifically before disconnect from X11). This gets reed of several valgrind complains about leaks deep inside fontconfig. Signed-off-by: Alexander Golubev <[email protected]>
* Improve TQFont-related cleanupAlexander Golubev2024-03-291-0/+6
| | | | | | | | | Improve TQFont cleanup making sure that all instances of TQFont are destroyed before TQApplication (or specifically before disconnect from X11). This gets reed of several valgrind complains about leaks deep inside fontconfig. Signed-off-by: Alexander Golubev <[email protected]>
* Fix TQThreadStorage destruction in the main threadAlexander Golubev2024-03-181-2/+22
| | | | | | | | | | | | | | | Before that the allocations of TQThreadStorage objects from the main thread were never destroyed and memory associated with them were never freed. The second one isn't a huge problem as at that point program is terminating anyway (but it still makes valgrind complain). The first one is the bigger issue as destructors might contain some essential external cleanups like removing temporary files. Also make `TQApplication::guiThread()` return `0` when the thread is destroyed (may happen on the program exiting during destruction of statics). Signed-off-by: Alexander Golubev <[email protected]>
* Fix compilation with -no-threadAlexander Golubev2024-03-101-7/+13
| | | | Signed-off-by: Alexander Golubev <[email protected]>
* Replace Q_WS_* defines with TQ_WS_* equivalentsMichele Calgaro2024-02-121-35/+35
| | | | | | | | | | | | 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 <[email protected]>
* Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOTMichele Calgaro2023-12-271-3/+3
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Replace Q_EXPORT_*/Q_EXTERN defines with TQ_EXPORT_*/TQ_EXTERNMichele Calgaro2023-09-131-12/+12
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Removed explicit usage of the 'register' keyword.Michele Calgaro2020-01-301-6/+6
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* QT_NO_* -> TQT_NO_* renaming.Michele Calgaro2018-10-171-58/+58
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* qt -> tqt conversion:Michele Calgaro2018-09-271-3/+3
| | | | | | | | | 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 <[email protected]>
* Conversion QT_THREAD_SUPPORT -> TQT_THREAD_SUPPORT. This is part of theMichele Calgaro2018-09-161-37/+37
| | | | | | | qt->tqt conversion and is required to align to corresponding patch for common/admin module. Signed-off-by: Michele Calgaro <[email protected]>
* Automated update from Qt3Timothy Pearson2013-11-251-9/+20
|
* Automated update from Qt3Timothy Pearson2013-08-151-0/+3
|
* Automated update from Qt3Timothy Pearson2013-08-151-2/+6
|
* Automated update from Qt3Timothy Pearson2013-08-061-12/+61
|
* Automated update from Qt3Timothy Pearson2013-06-101-1/+1
|
* Automated update from Qt3Timothy Pearson2013-05-171-1/+1
|
* Automated update from Qt3Timothy Pearson2013-05-141-32/+110
|
* Automated update from Qt3Timothy Pearson2013-04-221-16/+29
|
* Automated update from Qt3Timothy Pearson2013-04-111-1/+2
|
* Automated update from Qt3Timothy Pearson2013-02-241-1/+8
|
* Automated update from Qt3Timothy Pearson2013-02-181-1/+1
|
* Automated update from Qt3Timothy Pearson2012-12-071-7/+10
|
* Automated update from Qt3Timothy Pearson2012-12-061-2/+7
|
* Automated update from Qt3Timothy Pearson2012-12-061-14/+110
|
* Automated update from Qt3Timothy Pearson2012-10-301-0/+31
|
* Automated update from Qt3Timothy Pearson2012-10-161-2/+35
|
* Automated update from qt3Timothy Pearson2012-03-061-100/+100
|
* Automated conversion from qt3Timothy Pearson2012-02-281-21/+21
|
* Automated update from qt3Timothy Pearson2012-02-271-36/+36
|