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>
8 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>
8 months ago
Alexander Golubev
8e4edc5883
gitignore: add a couple more tests
...
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
8 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>
8 months ago
Alexander Golubev
b930cec601
Resort includes in ntqt.h
...
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
8 months ago
Alexander Golubev
d8738f551b
./configure: turn thread support on by default
...
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
8 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>
8 months ago
Alexander Golubev
4100c9e29f
Fix compilation with -no-thread
...
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
9 months ago
Michele Calgaro
77697cb46c
Remove original Q_WS_* defines
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
9 months ago
Alexander Golubev
facf04e60c
Add .gitignore file
...
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
9 months ago
Michele Calgaro
1d318a47b0
Replace QT_STATIC_CONST_* with actual definitions
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
9 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>
9 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>
11 months ago
Mavridis Philippe
aec0061106
Add support for HistoryBackButton and HistoryForwardButton
...
This resolves TDE/tdebase#421 .
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
11 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>
11 months 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/
11 months 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/
12 months ago
Michele Calgaro
5eccf2a5e3
Replaced various '#define' with actual strings - part 3
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
12 months ago
Michele Calgaro
089d5266f0
Replace Qt with TQt
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
12 months 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
Louies
a8466ab3bb
Translated using Weblate (Chinese (zh))
...
Currently translated at 100.0% (15 of 15 strings)
Translation: dependencies/tqt3 - examples-i18n
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/dependencies/tqt3-examples-i18n/zh/
1 year ago
Michele Calgaro
5350a72404
Drop TQT_NO_COMPAT code from mkspecs files
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Denis Kozadaev
47f034c129
SunOS res_ninit() requires a clean structure
...
Signed-off-by: Denis Kozadaev <denis@dilos.org>
init structure without condition
Signed-off-by: Denis Kozadaev <denis@dilos.org>
1 year ago
Michele Calgaro
fb1f3d6445
Revert "Add single TQObject root parent for all guarded pointers."
...
Commit b167d09c
was functionally incorrect and is causing issues on
selected distributions.
This reverts commit b167d09c43
.
This resolves issue TDE/tde#128 .
1 year ago