qobject_cast has several advantages over dynamic_cast:
- it works without RTTI;
- it's usually faster.
Also, when it comes to casting QObjects, qobject_cast is de facto
standard.
davidedmundson |
KWin |
qobject_cast has several advantages over dynamic_cast:
Also, when it comes to casting QObjects, qobject_cast is de facto
standard.
Lint OK |
No Unit Test Coverage |
Buildable 5810 | |
Build 5828: arc lint + arc unit |