Alexander Golubev
f610c11869
TQT_THREAD_SUPPORT->!TQT_NO_THREAD: update documentation
...
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
9 months ago
Alexander Golubev
558bc78e5b
TQT_THREAD_SUPPORT->!TQT_NO_THREAD: update mkspecs
...
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
9 months ago
Alexander Golubev
f7642b09c9
TQT_THREAD_SUPPORT->!TQT_NO_THREAD: migrate sources
...
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
9 months ago
Alexander Golubev
fa4475f36d
Initial conversion for TQT_THREAD_SUPPORT->!TQT_NO_THREAD
...
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
9 months ago
Alexander Golubev
3ee3f6480f
Resort includes in ntqt.h
...
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
9 months ago
Alexander Golubev
74f7b9309e
Add a lock to removing ourself from another's object's sender list
...
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
9 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>
9 months ago
Alexander Golubev
ebc3e67bf4
Workaround crashes caused by some slots deleting the sender
...
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
9 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>
9 months ago
Alexander Golubev
d8738f551b
./configure: turn thread support on by default
...
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
9 months ago
Alexander Golubev
cbdf333378
Avoid setting CONFIG=thread in qmake.conf
...
Otherwise it's impossible to override in ./configure
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
9 months ago
Alexander Golubev
4100c9e29f
Fix compilation with -no-thread
...
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
9 months ago
Alexander Golubev
bd8bd100a4
Fix up mkspecs/linux-g++-32/qplatformdefs.h
...
The head of file was accidentally deleted in 455154ce
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
9 months ago
Alexander Golubev
fad4acbe08
Fix compilation with -disable-inputmethod and -no-inputmethod
...
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 <fatzer2@gmail.com>
9 months ago
Alexander Golubev
beb37238fa
Fix FTBFS with -no-xkb
...
The analogue of XkbKeycodeToKeysym() used to be XKeycodeToKeysym(), but
it was deprecated in favour of XGetKeyboardMapping() method.
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
9 months ago
Alexander Golubev
2f15a471f9
Fix FTBFS with -no-stl
...
On modern compilers placement new requires inclusion of <new>
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
9 months ago
Alexander Golubev
34587584ab
avoid translating the /qt/XIMInputStyle options when saving into config
...
Also use "On The Spot" as the default when the setting in the config is
incorrect.
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
9 months ago
Alexander Golubev
7578fa552b
gitignore: add missing examples (sound, tablet)
...
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
9 months ago
Alexander Golubev
3cba79c7f5
Fix FTBFS with -qt-sql-sqlite3
...
Fix FTBFS when sqlite3 sql driver is being built into the library
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
9 months ago
Alexander Golubev
92fe774704
fix grep complain in configure: "warning: stray \ before c"
...
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
10 months ago
Michele Calgaro
77697cb46c
Remove original Q_WS_* defines
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
10 months ago
Alexander Golubev
facf04e60c
Add .gitignore file
...
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
10 months ago
Michele Calgaro
1d318a47b0
Replace QT_STATIC_CONST_* with actual definitions
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
10 months ago
Michele Calgaro
67bff2edca
Replace Q_WS_* defines with TQ_WS_* equivalents
...
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 <michele.calgaro@yahoo.it>
10 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>
11 months ago
Slávek Banko
a9d178f100
Fix potential buffer overflow in debug functions.
...
This resolves issue #70 .
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
11 months ago
Mavridis Philippe
fd6c582f15
Update README
...
A new README with markdown format, updated information on TQt, contributor section and translations status.
The old README has been preserved as README.Qt3 for historical reasons.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
12 months ago
Mavridis Philippe
aec0061106
Add support for HistoryBackButton and HistoryForwardButton
...
This resolves TDE/tdebase#421 .
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
12 months ago
Michele Calgaro
6e5c7efaca
tqdesigner: prevent SEGV from invalid pointer. This resolves issue #97 .
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Signed-off-by: ormorph <roma251078@mail.ru>
1 year ago
Andrei Stepanov
ee0c5d5840
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/
1 year ago
Andrei Stepanov
a6829398d0
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/
1 year ago
Michele Calgaro
5eccf2a5e3
Replaced various '#define' with actual strings - part 3
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro
089d5266f0
Replace Qt with TQt
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Andrei Stepanov
d21227053c
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/
1 year ago
Michele Calgaro
b35e0845dc
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year 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
926102a455
Replace various Q_* and QT_* defines with TQ_* and TQT_*
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro
e0a3cab446
Minor adjustments to porting documentation
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro
f2b3ea52ef
Drop compatibility code for TQSignal
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro
fb6884ead2
Drop compatibility code for TQPalette
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Slávek Banko
2e817b4bc1
Remove dangled symlinks for droped compat headers.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
1 year ago
Michele Calgaro
c3bb88817b
Drop compatibility code for TQButton
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro
9492e618a7
Drop compatibility code for TQThread
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro
979f5621d7
Drop compatibility code for TQLineEdit
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro
83991febd2
Remove Qt4 related stuff
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro
48ea22d00b
Drop compatibility code for TQToolButton
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro
b1bfbe79f3
Drop compat headers
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro
fd565e9bad
Reintroduced porting documentation previously removed
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro
7c116f3bf7
Drop attic Qt2 classes (TQtMultiLineEdit and TQtTableView)
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro
bfd62a0bbf
Drop Qt2's TQSemiModal and TQSortedList classes
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago