Revision 690377

Go back to digest for 22nd July 2007

Features in Graphics

Marcel Wiesweg committed changes in /trunk/extragear/graphics/digikam:

Refactor thumbnail generation:
Move code out of ioslave into threadimageio, where most of the special wisdom for loading images is already collected.

All ioslaves are now neat and tidy.

I removed the KDE based loading code using directly KIO::ThumbCreator and the associated hacks, and added a PreviewJob in ThumbnailJob. This should work just as well, using well documented API.

File Changes

Added 4 files
  • /trunk/extragear/graphics/digikam/libs/threadimageio
  •   /thumbnailbasic.cpp
  •   /thumbnailcreator.cpp
  •   /thumbnailcreator.h
  •   /thumbnailcreator_p.h
Modified 7 files
  • /trunk/extragear/graphics/digikam
  •   /kioslave/CMakeLists.txt
  •   /kioslave/digikamthumbnail.cpp
  •   /kioslave/digikamthumbnail.h
  •   /libs/threadimageio/loadsavethread.cpp
  •   /libs/threadimageio/previewtask.cpp
  •   /libs/thumbbar/thumbnailjob.cpp
  •   /libs/thumbbar/thumbnailjob.h
11 files changed in total