QGraphicsObject uses multiple inheritance?
General and Desktop
5
Posts
3
Posters
2.2k
Views
1
Watching
-
That is the question, in the documentation appear this: "QGraphicsObject":http://qt-project.org/doc/qt-4.8/qgraphicsobject.html - Inherits: QObject and QGraphicsItem.
-
Yes, what's wrong with this?
[quote author="Mariø™" date="1340064631"]That is the question, in the documentation appear this: "QGraphicsObject":http://qt-project.org/doc/qt-4.8/qgraphicsobject.html - Inherits: QObject and QGraphicsItem.[/quote]
BYW, many other class use multiple inheritance too. such as
@
class QWidget : public QObject, public QPaintDevice
@