[vlc-devel] [PATCH] Qt4: Enable tabs in sout dialog

Jean-Baptiste Kempf jb at videolan.org
Fri Dec 30 02:27:51 CET 2011


On Thu, Dec 29, 2011 at 08:26:31PM -0500, Edward Wang wrote :
> On 11-12-29 08:13 PM, Jean-Baptiste Kempf wrote:
> >A new class, just for a getter, used only once? Why not using
> >something simpler, like QObject::findChild ?
> Can't do that, it is the QTabBar in question is protected and can
> only be accessed via a subclass, reference QT docs:
> http://developer.qt.nokia.com/doc/qt-4.8/QTabWidget.html

That doesn't mean it isn't accessible with QObject::findChild. Did you
try it and it fails?

Best regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device



More information about the vlc-devel mailing list