[Digikam-devel] branches/extragear/graphics/digikam

Marcel Wiesweg marcel.wiesweg at gmx.de
Tue Jul 6 19:55:41 BST 2010


SVN commit 1146835 by mwiesweg:

Add wrapper classes for two of the new tables:

TagProperties provides easy access to the properties of a tag.

ImageTagPair provides a similar interface for a single pair of an image
and a tag. Note that the tag need not necessarily be assigned to the image;
the new class allows to do that as well.
There is a method to find all tags with image-tag properties for a given image,
also available from the ImageInfo object.

CCMAIL: digikam-devel at kde.org


 M  +2 -0      CMakeLists.txt  
 A             libs/database/imagetagpair.cpp   [License: GPL (v2+)]
 A             libs/database/imagetagpair.h   [License: GPL (v2+)]
 A             libs/database/tagproperties.cpp   [License: GPL (v2+)]
 A             libs/database/tagproperties.h   [License: GPL (v2+)]


--- branches/extragear/graphics/digikam/CMakeLists.txt #1146834:1146835
@@ -1033,9 +1033,11 @@
         ${CMAKE_CURRENT_SOURCE_DIR}/libs/database/imagecopyright.cpp
         ${CMAKE_CURRENT_SOURCE_DIR}/libs/database/imagequerybuilder.cpp
         ${CMAKE_CURRENT_SOURCE_DIR}/libs/database/imagescanner.cpp
+        ${CMAKE_CURRENT_SOURCE_DIR}/libs/database/imagetagpair.cpp
         ${CMAKE_CURRENT_SOURCE_DIR}/libs/database/namefilter.cpp
         ${CMAKE_CURRENT_SOURCE_DIR}/libs/database/searchxml.cpp
         ${CMAKE_CURRENT_SOURCE_DIR}/libs/database/schemaupdater.cpp
+        ${CMAKE_CURRENT_SOURCE_DIR}/libs/database/tagproperties.cpp
         ${CMAKE_CURRENT_SOURCE_DIR}/libs/database/upgradedb_sqlite2tosqlite3.cpp
         ${CMAKE_CURRENT_SOURCE_DIR}/libs/database/databasecopymanager.cpp
         ${CMAKE_CURRENT_SOURCE_DIR}/libs/database/databaseserverstarter.cpp



More information about the Digikam-devel mailing list