diff options
author | Michele Calgaro <[email protected]> | 2024-02-24 12:36:33 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-02-24 12:36:33 +0900 |
commit | f5ac4d867b86acf1d40b4c481c3d78ddc5d25874 (patch) | |
tree | 8ddda8c7189147332adb37e5b3805c775311212c /src/include | |
parent | b36c429d1c07c8869d8724dc348f9942e6ab3d62 (diff) | |
download | tderadio-f5ac4d867b86acf1d40b4c481c3d78ddc5d25874.tar.gz tderadio-f5ac4d867b86acf1d40b4c481c3d78ddc5d25874.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
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. |