summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Rename str nt* related files to equivalent tq*Michele Calgaro2024-06-06844-4366/+4366
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Rename image nt* related files to equivalent tq*Michele Calgaro2024-06-06218-1295/+1295
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Rename ptr nt* related files to equivalent tq*Michele Calgaro2024-06-06330-2370/+2370
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Rename template library nt* related files to equivalent tq*Michele Calgaro2024-06-05366-2842/+2842
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Rename ntqwidget* related files to equivalent tqwidget*Michele Calgaro2024-06-02743-21625/+21640
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Rename nt* canvas related files to equivalent tq*Michele Calgaro2024-05-31128-2826/+2826
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Rename nt* dom and xml related files to equivalent tq*Michele Calgaro2024-05-30213-5293/+5293
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Rename nt* sql related files to equivalent tq*Michele Calgaro2024-05-28377-5517/+5517
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Rename ntqobject*.h and qobject*.cpp to tqobject*Michele Calgaro2024-05-27639-7732/+7734
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Move tqt.h from tqtinterfaceMichele Calgaro2024-05-272-0/+33
| | | | 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]>
* Remove commercial site content and documentationNik Reist2024-05-156-380/+4
| | | | | | trolltech domain is no longer valid. Signed-off-by: Nik Reist <[email protected]>
* Translated using Weblate (Russian)Andrei Stepanov2024-05-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/
* Correctly release glib mainloop and gsource, to avoid memory leaksMichele Calgaro2024-04-303-4/+19
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Update translations binary filesSlávek Banko2024-04-187-0/+4
| | | | | | because they are not generated during build. Signed-off-by: Slávek Banko <[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]>
* examples/canvas: fix some memory leaksAlexander Golubev2024-03-222-9/+22
| | | | Signed-off-by: Alexander Golubev <[email protected]>
* Translated using Weblate (Portuguese)Hugo Carvalho2024-03-211-85/+85
| | | | | | | Currently translated at 100.0% (464 of 464 strings) Translation: dependencies/tqt3 Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/dependencies/tqt3/pt/
* Translated using Weblate (Portuguese (Brazil))Hugo Carvalho2024-03-211-1/+1
| | | | | | | Currently translated at 100.0% (464 of 464 strings) Translation: dependencies/tqt3 Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/dependencies/tqt3/pt_BR/
* TQPrintDialog: cleanup data requested from libcupsAlexander Golubev2024-03-211-0/+5
| | | | Signed-off-by: Alexander Golubev <[email protected]>
* inputmethods/xim: fix incorrect fontset ref countingAlexander Golubev2024-03-211-3/+4
| | | | | | | | - rename fontsetRefCount -> fontsetCacheRefCount - move fontsetCacheRefCount to constructor as setHolderWidget() could be called more than once Signed-off-by: Alexander Golubev <[email protected]>
* Translated using Weblate (Portuguese)Hugo Carvalho2024-03-201-464/+483
| | | | | | | Currently translated at 100.0% (464 of 464 strings) Translation: dependencies/tqt3 Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/dependencies/tqt3/pt/
* 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]>
* Fix a small memory leak in xim pluginAlexander Golubev2024-03-161-4/+6
| | | | | | | | | | TQXIMInputContext::setHolderWidget() function may be (and actually is) called more than once. This results in multiple instances of the same object being added to ximContextList. But the destructor removes only one instance, which effectively results in leak of several bytes whenever a window is opened. Signed-off-by: Alexander Golubev <[email protected]>
* gitignore: add a couple more testsAlexander Golubev2024-03-161-0/+3
| | | | 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]>
* ./configure: turn thread support on by defaultAlexander Golubev2024-03-111-1/+0
| | | | Signed-off-by: Alexander Golubev <[email protected]>
* 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 <[email protected]>
* Fix compilation with -no-threadAlexander Golubev2024-03-104-27/+61
| | | | Signed-off-by: Alexander Golubev <[email protected]>
* 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 <[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]>
* 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 <[email protected]>
* gitignore: add missing examples (sound, tablet)Alexander Golubev2024-02-291-0/+4
| | | | Signed-off-by: Alexander Golubev <[email protected]>
* 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 <[email protected]>
* fix grep complain in configure: "warning: stray \ before c"Alexander Golubev2024-02-211-3/+3
| | | | Signed-off-by: Alexander Golubev <[email protected]>
* Remove original Q_WS_* definesMichele Calgaro2024-02-202-22/+0
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Add .gitignore fileAlexander Golubev2024-02-191-0/+303
| | | | Signed-off-by: Alexander Golubev <[email protected]>