On Tuesday 25 November 2014 12:07:27 Milian Wolff wrote: > On Monday 24 November 2014 19:28:57 Thiago Macieira wrote: > > On Monday 24 November 2014 23:00:45 Mirko Boehm wrote: > > > > Can I inherit from QObjectDecorator and pass "this" as the > > > > JobInterface > > > > *decoratee? > > > > > > The decorator wraps and object and acts as a QObject. It does not really > > > care if the wrapped job is a QObject already. It will add defined > > > signals > > > to the job. > > > > Please don't create new classes named Q + Capital letter unless you're > > doing that inside the Qt Project. > > This object lives in the ThreadWeaver namespace, so that should be fine, no? > It's decorating a QObject after all.
Ah, then it's ok. It's the global namespace that's a problem. As long as no one builds Qt with -qtnamespace ThreadWeaver :-) -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358