ThreadWeaver: using QObject's as Jobs

Milian Wolff mail at milianw.de
Tue Nov 25 11:07:27 GMT 2014


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.

Bye
-- 
Milian Wolff
mail at milianw.de
http://milianw.de




More information about the kde-core-devel mailing list