Multiple Inheritance in Qt
Introduction
A quick trivia quiz:
- Does Qt use multiple inheritance?
- If so, how many public Qt classes use it?
- Does any Qt class directly inherit from more than two classes?
- Does Qt let you multiply inherit (directly or indirectly) from QObject?
If you can correctly answer these questions off the top of your head you're definitely a Qt and C++ guru and can stop reading now. If not, then by the end of this article you will be able to answer these questions and impress your colleagues with your knowledge.
