[Kde-imaging] kdeextragear-libs-1/libkipi/libkipi

Gilles Caulier caulier.gilles at free.fr
Tue Jun 29 12:22:56 CEST 2004


CVS commit by cgilles: 

In according with Jesper, added new host feature 'AlbumsUseFirstImagePreview' for to enable/disable
the album selection preview in the CDArchiving/ImagesGallery/FinDuplicateImages plugin dialogs.
CCMAIL: kde-imaging at kde.org


  M +9 -0      interface.cpp   1.20
  M +10 -9     interface.h   1.20


--- kdeextragear-libs-1/libkipi/libkipi/interface.cpp  #1.19:1.20
@@ -89,4 +89,11 @@
 */
 
+/*!
+  \enum KIPI::AlbumsUseFirstImagePreview
+  This feature specify that albums use the first image of the collection like preview.
+  This flag is used in ImageGallery, CDArchiving, and FinDuplicateImages dialog for 
+  to lauch a preview of the album.
+*/
+
 
 KIPI::Interface::Interface(QObject *parent, const char *name )
@@ -140,4 +147,6 @@ bool KIPI::Interface::hasFeature( const 
     else if ( feature == "AlbumsHaveCreationDate" )
         return hasFeature( KIPI::AlbumsHaveCreationDate );
+    else if ( feature == "AlbumsUseFirstImagePreview" )
+        return hasFeature( KIPI::AlbumsUseFirstImagePreview );
     else {
         kdWarning( 51000 ) << "Unknown feature asked for in KIPI::Interface::hasFeature: " << feature << endl;

--- kdeextragear-libs-1/libkipi/libkipi/interface.h  #1.19:1.20
@@ -49,5 +49,6 @@ namespace KIPI
         ImageTitlesWritable     = 0x0040,
         AlbumsHaveCategory      = 0x0060,
-        AlbumsHaveCreationDate  = 0x0080
+        AlbumsHaveCreationDate     = 0x0080,
+        AlbumsUseFirstImagePreview = 0x0100
         // When adding new items, remember to update "hasFeature( const QString& feature )"
         // and the hello world plugin.




More information about the Kde-imaging mailing list