diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-02-24 12:36:33 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-02-25 11:52:19 +0900 |
| commit | ac8ddffa35685b0bd2b90ad3c13ef45fe2749806 (patch) | |
| tree | 5dafcfcdce851efc83f4eadd2ee93635c1d3d0c1 /src/include | |
| parent | 24e8de3859e0b0499d463df6db5dd3bb58195030 (diff) | |
| download | tderadio-ac8ddffa35685b0bd2b90ad3c13ef45fe2749806.tar.gz tderadio-ac8ddffa35685b0bd2b90ad3c13ef45fe2749806.zip | |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit f5ac4d867b86acf1d40b4c481c3d78ddc5d25874)
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/interfaces.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/interfaces.h b/src/include/interfaces.h index a969ef6..853933e 100644 --- a/src/include/interfaces.h +++ b/src/include/interfaces.h @@ -54,9 +54,9 @@ ///////////////////////////////////////////////////////////////////////////// - Why are we not using QT signal/slots? + Why are we not using TQt signal/slots? - First the idea of using qt for connecting interfaces is very nice, as the + First the idea of using tqt for connecting interfaces is very nice, as the signal/slot model is well known and hopefully properly implemented. But there are some problems: @@ -78,13 +78,13 @@ forget to connect signals/slots of that interfaces. - Aggregation of multiple interface implementations (each one is an TQObject) - is not possible because qt does not allow multiple inheritance of TQObjects + is not possible because tqt does not allow multiple inheritance of TQObjects ///////////////////////////////////////////////////////////////////////////// What about our own solution? - Well, it eliminates at least the qt-problems explained above. But first we + Well, it eliminates at least the tqt-problems explained above. But first we need a common mechanism to manage interface connections. This functionality can be provided by a common base class "InterfaceBase". It stores all connected interfaces in a list of InterfaceBase pointers, e.g. TQPtrList. |
