[Digikam-devel] [Bug 155374] Allow setting Image titles different than image file name [patch]

Gilles Caulier caulier.gilles at gmail.com
Thu Sep 1 10:57:07 BST 2011


https://bugs.kde.org/show_bug.cgi?id=155374





--- Comment #60 from Gilles Caulier <caulier gilles gmail com>  2011-09-01 09:57:06 ---
Perti,

Look in My last digiKam patch, into KipiImageInfo class. Kipi ImageInfo api has
changed for the future. All setTitle()/title() are deprecated now, and must be
changed as setName()/name(). We need to take a care to libkipi version here to
still compatible for a transition period.

So calls to these method must be wrapped into precompiler branch everywhere
into kipi-plugins like this :

#if KIPI_VERSION >= 0x010300
  // call KIPI::ImageInfo::setName() || KIPI::ImageInfo::name()
#else
  // call KIPI::ImageInfo::setTitle() || KIPI::ImageInfo::title()
#endif

Note : I set these methods as KDE_DEPRECATED into libkipi from git master, but
i don't know why only one call from BatchProcessImages kipi-plugin is tagged as
deprecated at compilation time. There are of course more calls relevant in
kipi-plugins (look with grep).

Gilles Caulier

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list