Alexander Golubev
74f7b9309e
Add a lock to removing ourself from another's object's sender list
...
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
7 months ago
Alexander Golubev
14e882386b
TQObject::activate_signal: uniformly apply if(sol) checks
...
It seems the situation where sol is NULL is theoretically possible. So
keep the checks and apply those uniformly to all instances of access to
`sol`.
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
7 months ago
Alexander Golubev
ebc3e67bf4
Workaround crashes caused by some slots deleting the sender
...
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
7 months ago
Alexander Golubev
5a662b671d
Deduplicate code in TQObject::activate_signal()
...
According to a benchmark the while() loop with direct use of iterators
were ~10% slower than the current one which handled case when there is
only one connection to a signal separately.
But use of a range-based for loop sped up even this case for ~1.5%.
Closes: https://mirror.git.trinitydesktop.org/gitea/TDE/tqt3/issues/121
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
7 months ago
Alexander Golubev
4100c9e29f
Fix compilation with -no-thread
...
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
7 months ago
Michele Calgaro
fb401a891f
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
9 months ago
Michele Calgaro
1ba13366a7
Replace Q_EXPORT_*/Q_EXTERN defines with TQ_EXPORT_*/TQ_EXTERN
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro
99e56ba8db
Removed explicit usage of the 'register' keyword.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Michele Calgaro
69d87202cb
QT_NO_* -> TQT_NO_* renaming.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
02964eb384
Conversion QT_THREAD_SUPPORT -> TQT_THREAD_SUPPORT. This is part of the
...
qt->tqt conversion and is required to align to corresponding patch for
common/admin module.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
caab7b3557
Added safety harness for currentThreadObject() usage.
...
currentThreadObject() returns a null pointer if the
current thread was not started using the TQThread API.
This relates to bug 1748.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
9 years ago
Timothy Pearson
523c1fd99e
Automated update from Qt3
11 years ago
Timothy Pearson
ab9c0372a3
Automated update from Qt3
11 years ago
Timothy Pearson
8d210f61fc
Automated update from Qt3
11 years ago
Timothy Pearson
9a4765a62e
Automated update from Qt3
12 years ago
Timothy Pearson
68f557434a
Automated update from Qt3
12 years ago
Timothy Pearson
33e2cf2d1c
Automated update from Qt3
12 years ago
Timothy Pearson
3f5dc49edf
Automated update from Qt3
12 years ago
Timothy Pearson
eb1d1e0dec
Automated update from qt3
13 years ago
Timothy Pearson
41bb408dde
Automated conversion from qt3
13 years ago
Timothy Pearson
520c05ef06
Automated update from qt3
13 years ago
Timothy Pearson
359640943b
Automated update from Qt3
13 years ago
Timothy Pearson
ea318d1431
Update to latest tqt3 automated conversion
13 years ago
Timothy Pearson
e02e31c8b9
Sync with latest script
13 years ago
Timothy Pearson
0f92dd542b
Fix native TQt3 accidental conversion to tquit
13 years ago
Timothy Pearson
d796c9dd93
Test conversion to TQt3 from Qt3 8c6fc1f8e35fd264dd01c582ca5e7549b32ab731
13 years ago