<div class="gmail_quote">On Mon, Nov 9, 2009 at 9:01 AM, Jean-Baptiste Kempf <span dir="ltr"><<a href="mailto:jb@videolan.org">jb@videolan.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Then, MainInputManager is a QObject derivative, so I believe that the<br>
static_casts around MainInputManager could be replaced with success by<br>
using qobject_cast, which is better for QObjects.<br></blockquote></div><br>Unfortunately, it seems this is not the fact, since qobject_cast expects a QObject* at the argument, which in our case is void*.<br>