summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Added check for tqApp pointer in TQWidget destructorormorph2024-08-161-2/+2
| | | | | | Necessary for the application to shut down properly Signed-off-by: ormorph <[email protected]>
* Rename more widget nt* related files to equivalent tq*Michele Calgaro2024-08-1286-197/+197
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Rename basic widget nt* related files to equivalent tq*Michele Calgaro2024-07-2983-196/+196
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Rename environment class nt* related files to equivalent tq*Michele Calgaro2024-07-2833-105/+128
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Rename text class nt* related files to equivalent tq*Michele Calgaro2024-07-2448-106/+83
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Rename graphics class nt* related files to equivalent tq* (part 2)Michele Calgaro2024-07-21121-224/+224
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Fix OpenType language definition tags and array access. This resolves issue #171Michele Calgaro2024-07-211-9/+32
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Rename graphics class nt* related files to equivalent tq* (part 1)Michele Calgaro2024-07-18142-326/+326
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Rename IO and network class nt* related files to equivalent tq*Michele Calgaro2024-07-10152-410/+410
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Rename utility class nt* related files to equivalent tq*Michele Calgaro2024-07-07141-207/+205
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Rename drag-n-drop nt* related files to equivalent tq*Michele Calgaro2024-07-0726-49/+49
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Rename main window nt* related files to equivalent tq*. The fileMichele Calgaro2024-07-0683-247/+200
| | | | | | "ntqsession.h" was totally unnecessary and has been removed. Signed-off-by: Michele Calgaro <[email protected]>
* Rename codec nt* related files to equivalent tq*.Michele Calgaro2024-07-0137-112/+109
| | | | | | The qrtlcodec files have been renamed into tqhebrewcodec files, for consistency with file naming used for other codecs. Signed-off-by: Michele Calgaro <[email protected]>
* Rename threading nt* related files to equivalent tq*Michele Calgaro2024-06-3043-87/+87
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Rename date and time nt* related files to equivalent tq*Michele Calgaro2024-06-2984-110/+110
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Remove documentation for QWS classes and Qt/EmbeddedMichele Calgaro2024-06-2571-2423/+75
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Rename style nt* related files to equivalent tq*Michele Calgaro2024-06-1269-93/+93
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Rename icon nt* related files to equivalent tq*Michele Calgaro2024-06-1226-34/+34
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Rename text nt* related files to equivalent tq*Michele Calgaro2024-06-0881-135/+135
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Rename str nt* related files to equivalent tq*Michele Calgaro2024-06-06145-185/+185
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Rename image nt* related files to equivalent tq*Michele Calgaro2024-06-0644-55/+55
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Rename ptr nt* related files to equivalent tq*Michele Calgaro2024-06-0690-111/+111
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Rename template library nt* related files to equivalent tq*Michele Calgaro2024-06-0565-82/+82
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Rename ntqwidget* related files to equivalent tqwidget*Michele Calgaro2024-06-0292-132/+132
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Rename nt* canvas related files to equivalent tq*Michele Calgaro2024-05-318-23/+23
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Rename nt* dom and xml related files to equivalent tq*Michele Calgaro2024-05-307-39/+39
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Rename nt* sql related files to equivalent tq*Michele Calgaro2024-05-2865-263/+263
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Rename ntqobject*.h and qobject*.cpp to tqobject*Michele Calgaro2024-05-2791-109/+111
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Move tqt.h from tqtinterfaceMichele Calgaro2024-05-271-0/+32
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Fix a missing `if` clause guardOBATA Akio2024-05-231-1/+2
| | | | | | It was mismatched with indents and sibling `if` clause cases. Signed-off-by: OBATA Akio <[email protected]>
* Fix to compare thread_id with `pthread_equal()`OBATA Akio2024-05-231-1/+1
| | | | | | `pthread_t` is an opaque type, should not be compared with `==`. Signed-off-by: OBATA Akio <[email protected]>
* Correctly release glib mainloop and gsource, to avoid memory leaksMichele Calgaro2024-04-303-4/+19
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Prevent creation of text codecs when the application is shutting down. This ↵Michele Calgaro2024-04-041-34/+74
| | | | | | resolves issue #142 Signed-off-by: Michele Calgaro <[email protected]>
* TQTextEdit: remove one of two readOnly flagsAlexander Golubev2024-04-032-9/+9
| | | | | | | There were two flags for read-only with different capitalization: readonly and readOnly. This was probably a mistake. Signed-off-by: Alexander Golubev <[email protected]>
* TQTextEdit: add missing mightStartDrag initializationAlexander Golubev2024-04-031-0/+1
| | | | | | | mightStartDrag might have been used uninitialized when moving mouse with pressed mouse button into window. Signed-off-by: Alexander Golubev <[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-297-1/+41
| | | | | | | | | 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]>
* TQFileDialog: cleanup pixmaps before destroying TQApplicationAlexander Golubev2024-03-221-0/+8
| | | | | | Otherwise it results in small memmory leakage on exit of Xlib data. Signed-off-by: Alexander Golubev <[email protected]>
* TQPrintDialog: cleanup data requested from libcupsAlexander Golubev2024-03-211-0/+5
| | | | Signed-off-by: Alexander Golubev <[email protected]>
* TQPrinterPrivate: add virtual destructor.Alexander Golubev2024-03-201-0/+3
| | | | | | | | | As derivative from it e.g. TQPrinterUnixPrivate are getting deleted (e.g in unix TQPrinter implementation) by a reference to base class. Also added missing include to the header. Signed-off-by: Alexander Golubev <[email protected]>
* Zero unused data fields in XClientMessageEvent structAlexander Golubev2024-03-191-1/+1
| | | | | | | valgrind was complaining about access to uninitialized data because unused elements in client_message.data.l array weren't set o any value. Signed-off-by: Alexander Golubev <[email protected]>
* Zero padding bytes in DndReceiverProp struct.Alexander Golubev2024-03-191-1/+1
| | | | | | This removes valgrind's complains about accessing uninitialized memory. Signed-off-by: Alexander Golubev <[email protected]>
* Fix TQThreadStorage destruction in the main threadAlexander Golubev2024-03-185-2/+47
| | | | | | | | | | | | | | | 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 TQString::sprintf() not calling va_end() in case of bad cformatAlexander Golubev2024-03-171-4/+3
| | | | | | | Also rearrange code a bit so it would be obvious that the function doesn't return a dangling reference. Signed-off-by: Alexander Golubev <[email protected]>
* Add explicit declaration TQChar&TQCharRef default constructor/destructorAlexander Golubev2024-03-141-0/+12
| | | | | | This suppresses -Wdeprecated-copy warning. Signed-off-by: Alexander Golubev <[email protected]>
* Resort includes in ntqt.hAlexander Golubev2024-03-131-5/+5
| | | | Signed-off-by: Alexander Golubev <[email protected]>
* Fix compilation with -no-threadAlexander Golubev2024-03-103-26/+59
| | | | Signed-off-by: Alexander Golubev <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* Fix FTBFS with -no-stlAlexander Golubev2024-03-041-0/+2
| | | | | | On modern compilers placement new requires inclusion of <new> Signed-off-by: Alexander Golubev <[email protected]>