[Digikam-devel] extragear/graphics/digikam/utilities/cameragui

Andi Clemens andi.clemens at gmx.net
Wed Oct 14 22:23:43 BST 2009


Oh I meant "moev the method into the DownloadHistory", not CameraController.
This could be a thread (if safe) and emit signals, and the CameraUI reacts on 
them.
Instead of providing a single item like we do now, we could provide the whole 
list (map) and then return to the main event loop?

Andi

On Wednesday 14 October 2009 23:16:14 Gilles Caulier wrote:
> Excepted if lock mechanism is implemented in DB interface
> 
> Gilles
> 
> 2009/10/14 Andi Clemens <andi.clemens at gmx.net>:
> > On Wednesday 14 October 2009 23:09:09 Gilles Caulier wrote:
> >> Andi,
> >>
> >> This loop query the database. I'm not sure if DB methods are thread
> >> safe. Anyway, i don't think that moving this code in camera ctrl is
> >> the right place. Writting another little QThread wrapper to run this
> >> code will be better i think.
> >
> > But if it is not thread-safe, another QThread wrapper will not be useful
> > too, or am I misunderstanding this now?
> >
> > Andi
> > _______________________________________________
> > Digikam-devel mailing list
> > Digikam-devel at kde.org
> > https://mail.kde.org/mailman/listinfo/digikam-devel
> 
> _______________________________________________
> Digikam-devel mailing list
> Digikam-devel at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-devel
> 



More information about the Digikam-devel mailing list