On Fri, Nov 30, 2018 at 11:34 PM Jérôme Godbout <[email protected]> wrote:
> While I agree with your point, it’s easy to shoot yourself in the foot as > soon as one add a slots into that QThread inherited class (can see the kdab > recommendation on the subject point #5: > https://www.kdab.com/nailing-13-signal-slot-mistakes-clazy-1-3/ ). Your > green developer will be tempted to add a slots into this object if they > feel they need a slots and there the fun will be over. Having to specify > your connect() not auto is very rare. > Probably, but as it happens it's almost always easier to shoot yourself in the foot than to avoid it. And while subclassing QThread isn't the best way 99.5% of cases, it's still a valid approach, so it should not be summarily dismissed. >
_______________________________________________ Interest mailing list [email protected] https://lists.qt-project.org/listinfo/interest
