Commit Graph

499 Commits (25ad1267da6916e738a126ff5a9b41cd686adfc6)
 

Author SHA1 Message Date
Michele Calgaro 25ad1267da
Fix errors in qt.dcf introduced in commit 8a071b48. This relates to
issue #171.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 months ago
Michele Calgaro 252a2ec8b0
Rename IO and network class nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 months ago
Michele Calgaro 87d29563e3
Rename utility class nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
8 months ago
Michele Calgaro 628b0bb74c
Rename drag-n-drop nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
8 months ago
Michele Calgaro 7552c6d730
Rename main window nt* related files to equivalent tq*. The file
"ntqsession.h" was totally unnecessary and has been removed.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
8 months ago
Michele Calgaro c113da2069
Rename codec nt* related files to equivalent tq*.
The qrtlcodec files have been renamed into tqhebrewcodec files, for consistency with file naming used for other codecs.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
8 months ago
Michele Calgaro aeefd3fe45
Rename threading nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
8 months ago
Michele Calgaro 2cbcca0db1
Rename date and time nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
8 months ago
Michele Calgaro a09a6bc05e
Remove documentation for QWS classes and Qt/Embedded
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
8 months ago
Michele Calgaro bba3e1fa38
Fix wrong documentation changes introduced in recent commits
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
8 months ago
Michele Calgaro 8a071b48ef
Remove documentation about activeqt, because the latter is part of the commercial edition of Qt3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
8 months ago
Michele Calgaro 7bc57326e6 Rename style nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
8 months ago
Michele Calgaro ccbc1c3572
Rename icon nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
8 months ago
Michele Calgaro 0cf411b09c
Rename text nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
9 months ago
Michele Calgaro e6077c30d1
Rename str nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
9 months ago
Michele Calgaro 8c029298d9
Rename image nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
9 months ago
Michele Calgaro 0881ed5059
Rename ptr nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
9 months ago
Michele Calgaro 1f0ce8533c
Rename template library nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
9 months ago
Michele Calgaro 8ac0e970e4
Rename ntqwidget* related files to equivalent tqwidget*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
9 months ago
Michele Calgaro 68b81013e8
Rename nt* canvas related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
9 months ago
Michele Calgaro 1702a6daff
Rename nt* dom and xml related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
9 months ago
Michele Calgaro 5fffa30386
Rename nt* sql related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
9 months ago
Michele Calgaro 04913ce7a4
Rename ntqobject*.h and qobject*.cpp to tqobject*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
9 months ago
Michele Calgaro c11c0f228b
Move tqt.h from tqtinterface
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
9 months ago
OBATA Akio 729c01ffb2 Fix a missing `if` clause guard
It was mismatched with indents and sibling `if` clause cases.

Signed-off-by: OBATA Akio <obache@wizdas.com>
9 months ago
OBATA Akio 9ae164eb83 Fix to compare thread_id with `pthread_equal()`
`pthread_t` is an opaque type, should not be compared with `==`.

Signed-off-by: OBATA Akio <obache@wizdas.com>
9 months ago
Nik Reist 168dd9b0c5 Remove commercial site content and documentation
trolltech domain is no longer valid.

Signed-off-by: Nik Reist <nik.reist@murena.io>
9 months ago
Andrei Stepanov 486211a79e Translated using Weblate (Russian)
Currently translated at 100.0% (488 of 488 strings)

Translation: dependencies/tqt3
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/dependencies/tqt3/ru/
10 months ago
Michele Calgaro 08a71c8f8d
Correctly release glib mainloop and gsource, to avoid memory leaks
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
10 months ago
Slávek Banko f5bf794e23
Update translations binary files
because they are not generated during build.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
10 months ago
Michele Calgaro 7563c4825f
Prevent creation of text codecs when the application is shutting down. This resolves issue #142
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
11 months ago
Alexander Golubev 9c5ea5617a TQTextEdit: remove one of two readOnly flags
There were two flags for read-only with different capitalization:
readonly and readOnly. This was probably a mistake.

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
11 months ago
Alexander Golubev 2b1c78cb53 TQTextEdit: add missing mightStartDrag initialization
mightStartDrag might have been used uninitialized when moving mouse with
pressed mouse button into window.

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
11 months ago
Alexander Golubev 1b951e5229 Improve TQFont-related cleanup
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 <fatzer2@gmail.com>
11 months ago
Alexander Golubev ffbaaf0e1c Improve TQFont-related cleanup
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 <fatzer2@gmail.com>
11 months ago
Alexander Golubev fb0d62eec8 TQFileDialog: cleanup pixmaps before destroying TQApplication
Otherwise it results in small memmory leakage on exit of Xlib data.

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
11 months ago
Alexander Golubev ee63474739 examples/canvas: fix some memory leaks
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
11 months ago
Hugo Carvalho 4bcca712ef Translated using Weblate (Portuguese)
Currently translated at 100.0% (464 of 464 strings)

Translation: dependencies/tqt3
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/dependencies/tqt3/pt/
11 months ago
Hugo Carvalho e90af9984b Translated using Weblate (Portuguese (Brazil))
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/
11 months ago
Alexander Golubev c2c385eef2 TQPrintDialog: cleanup data requested from libcups
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
11 months ago
Alexander Golubev e1bb179fde inputmethods/xim: fix incorrect fontset ref counting
- rename fontsetRefCount -> fontsetCacheRefCount
- move fontsetCacheRefCount to constructor as setHolderWidget() could be
  called more than once

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
11 months ago
Hugo Carvalho 7e24b2b61e Translated using Weblate (Portuguese)
Currently translated at 100.0% (464 of 464 strings)

Translation: dependencies/tqt3
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/dependencies/tqt3/pt/
11 months ago
Alexander Golubev 5920542e9e TQPrinterPrivate: add virtual destructor.
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 <fatzer2@gmail.com>
11 months ago
Alexander Golubev 8a13d9aef4 Zero unused data fields in XClientMessageEvent struct
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 <fatzer2@gmail.com>
11 months ago
Alexander Golubev 1938504ea0 Zero padding bytes in DndReceiverProp struct.
This removes valgrind's complains about accessing uninitialized memory.

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
11 months ago
Alexander Golubev b1e6f38464 Fix TQThreadStorage destruction in the main thread
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 <fatzer2@gmail.com>
11 months ago
Alexander Golubev bcda401191 Fix TQString::sprintf() not calling va_end() in case of bad cformat
Also rearrange code a bit so it would be obvious that the function
doesn't return a dangling reference.

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
11 months ago
Alexander Golubev 1278ed0dad Fix a small memory leak in xim plugin
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 <fatzer2@gmail.com>
11 months ago
Alexander Golubev 8e4edc5883 gitignore: add a couple more tests
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
11 months ago
Alexander Golubev 87129eac9a Add explicit declaration TQChar&TQCharRef default constructor/destructor
This suppresses -Wdeprecated-copy warning.

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
11 months ago