Michele Calgaro
77697cb46c
Remove original Q_WS_* defines
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 months ago
Michele Calgaro
1d318a47b0
Replace QT_STATIC_CONST_* with actual definitions
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 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>
4 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>
6 months 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>
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>
9 months ago
Michele Calgaro
926102a455
Replace various Q_* and QT_* defines with TQ_* and TQT_*
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
9 months ago
Michele Calgaro
83991febd2
Remove Qt4 related stuff
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
11 months ago
Michele Calgaro
bfd62a0bbf
Drop Qt2's TQSemiModal and TQSortedList classes
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
11 months ago
Michele Calgaro
a75445b4c3
Drop Qt2 obsolete classes
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Bobby Bingham
0b3c8dfbc9
Enable use of pthread's recursive mutexes
...
Signed-off-by: Bobby Bingham <koorogi@koorogi.info>
1 year ago
Bobby Bingham
999cebcb5d
Fix level when using pthreads recursive mutex
...
When using the pthreads recursive mutex, the level method was only able
to return either zero or one, but a recursive mutex can be locked more
than once.
Additionally, the way this detected if the mutex was already locked was
to test whether it can be locked again. If testing from the thread that
is currently holding the lock, this locking attempt always succeeds, and
therefore determines that the lock is _not_ held at all. This is
especially bad, as this operation only makes sense to perform from the
thread that holds the lock -- if any thread not holding the lock queries
the number of times the lock is held, that answer can change before the
thread can used it.
Signed-off-by: Bobby Bingham <koorogi@koorogi.info>
1 year ago
Slávek Banko
aec367ef28
Use empty d->cString for TQString::shared_null instead of null string.
...
This restores consistency for the behavior of methods TQString::utf8()
and TQString::local8Bit() with null TQStrings.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
2 years ago
Slávek Banko
e919ffc1ec
Avoid changes of d->cString for TQString::shared_null to make the value reliable.
...
This precedes unnecessary allocations, potential use after free and crashes.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
2 years ago
OBATA Akio
7e4fc64d69
tools: fix to use `pthread_t` for Thread ID
...
Thread ID is opaque type pthread_t, it may not be compatible with integer,
and may integer with valid id `0`.
Change to store mutex owner thread ID as `pthread_t` type with valid flag
and compare with `pthread_equal()`,
and don't try to print it.
Signed-off-by: OBATA Akio <obache@wizdas.com>
2 years ago
Ray-V
2fbf9ffbc6
Add unicode points so that upper() and lower() functions work for:
...
- latin letter sharp s
- latin letter glottal stop
- greek lunate sigma symbol
- greek letter san
Signed-off-by: Ray-V <ray-v@inbox.lv>
3 years ago
Slávek Banko
ce03d78623
Return TQT_NO_WORKSPACE setting, according to TQT_MODULE_WORKSPACE,
...
unwantedly removed in commit a41a034902
.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Michele Calgaro
0f480dc43f
Fixed broken Q_FULL_TEMPLATE_INSTANTIATION define (renamed to TQ_FULL_TEMPLATE_INSTANTIATION).
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
gregory guy
3d5e557e40
Fix FTBFS with compiler's options(gcc): -Werror=format-security -Wformat
...
Signed-off-by: gregory guy <gregory-tde@laposte.net>
4 years ago
Michele Calgaro
4a8f6dd3c5
Fixed minor typo in H file include names.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro
292fa30f0f
Removed obsolete Qt2's TQStack class and replaced with TQt3's TQPtrStack.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro
99e56ba8db
Removed explicit usage of the 'register' keyword.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Slávek Banko
da15dfe6d7
Fix FTBFS when building with musl libc.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Michele Calgaro
80dc1e5317
Added tqDebug/tqWarning/tqFatal functions that takes a TQCString
...
argument. This fixes FTBFS of examples caused by previous ambiguous
call and solves bug 3021.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Slávek Banko
1aa221a2bc
Change tests for glibc version.
...
It resolves building with libc libraries
other than glibc - for example musl libc.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
gregory guy
6131b4262e
This fixes bug: 639
...
Add desktop files for:
- tqassistant
- tqdesigner
- tqlinguist
- tqtconfig
These files have been made with the contribution of Laurent Dard's
patch (see bugzilla:639) with little change/addition from I.
Add 'sysshare' option to the configure script.
Signed-off-by: gregory guy <g-gregory@gmx.fr>
5 years ago
Michele Calgaro
e9567cacad
Removed unnecessary and unused TQT_REAL_TQT definition.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Michele Calgaro
d63a113c5c
Added utility functions tqDebug/tqWarning/tqFatal based on TQString parameter.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Michele Calgaro
835a7b87e7
Added timestamp to debug functions (tqDebug, tqWarning, tqFatal).
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Slávek Banko
4e83f4f200
Make use of TQString::utf8() and TQString::local8Bit() safe for conversion to char*.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Michele Calgaro
9226c02de9
Improved class name used in previous commit. Suggestion comes from
...
Slavek :-)
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Michele Calgaro
7c9a149f4c
Fixed FTBFS caused by name conflict with new postgres server dev 11 package.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
7f4d09f200
Removed obsolete CHECK_PTR and replaced CHECK_PTR/Q_CHECK_PTR with TQ_CHECK_PTR.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
c048ce6e8c
Removed obsolete Qt2's TQVector class and replaced
...
with TQt3's TQPtrVector.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
789e7c7f92
Removed obsolete Qt2's TQList/TQListIterator classes and replaced
...
with TQt3's TQPtrList/TQPtrListIterator ones.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
69d87202cb
QT_NO_* -> TQT_NO_* renaming.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
5fd88f2a20
qt -> tqt conversion:
...
QT_NO_ASCII_CAST -> TQT_NO_ASCII_CAST
QT_NO_STL -> TQT_NO_STL
QT_NO_COMPAT -> TQT_NO_COMPAT
QT_NO_TRANSLATION -> TQT_NO_TRANSLATION
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
3e98ce7f85
qt -> tqt conversion:
...
QTDIR -> TQTDIR
QTDOC -> TQTDOC
INCDIR_QT -> INCDIR_TQT
LIBDIR_QT -> LIBDIR_TQT
QT_INC -> TQT_INC
QT_LIB -> TQT_LIB
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
9f5d59f336
qt -> tqt conversion:
...
qtlib -> tqtlib
libqt -> libtqt
QTLIB -> TQTLIB
LIBQT -> LIBTQT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Slávek Banko
ff63338d18
Always build with a clean namespace
...
QT_CLEAN_NAMESPACE constant is no more needed
This may theoretically affect applications created for Qt1 and Qt2,
but such applications require further modifications as well.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
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
Slávek Banko
017e8dbffe
Fix FTBFS with stricter C++11
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Slávek Banko
9bbdfea568
Do not force POSIX mutexes on FreeBSD
...
This relates to bug 2462
See comments on bug 2744
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
7 years ago
Timothy Pearson
d49abd0e62
Third part of prior commit
...
GIT client malfunctions are fun!
8 years ago
Timothy Pearson
6d05fcd18d
Second part of prior commit
8 years ago
Timothy Pearson
0b1b8701d9
Use time_t for UNIX timestamps
...
WARNING: This breaks the ABI!
8 years ago
Michele Calgaro
6b220f98eb
Added operator[] convenience function to TQPtrList, similarly to TQValueList.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
9 years ago
Timothy Pearson
dfb87398c7
Automated update from Qt3
9 years ago
Timothy Pearson
891a448afa
Automated update from Qt3
9 years ago
Michele Calgaro
a41a034902
Moved iconview widget to src/widget folders.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
9 years ago