Main Page | Namespace List | Class List | File List | Namespace Members | Class Members | File Members

interface.h File Reference

#include <qstring.h>
#include <qobject.h>
#include <kurl.h>
#include "libkipi/imagecollection.h"
#include "libkipi/imageinfo.h"

Include dependency graph for interface.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  KIPI

Enumerations

enum  Features {
  AlbumsHaveComments = 1 << 0, ImagesHasComments = 1 << 1, ImagesHasTime = 1 << 2, SupportsDateRanges = 1 << 3,
  AcceptNewImages = 1 << 4, ImageTitlesWritable = 1 << 5, AlbumsHaveCategory = 1 << 6, AlbumsHaveCreationDate = 1 << 7,
  AlbumsUseFirstImagePreview = 1 << 8
}


Enumeration Type Documentation

enum KIPI::Features
 

Not all host applications support the full subset of features that KIPI allows access to. As an example KimDaBa do not support comments for albums. Thus before a plugin expect a decant value for the comment, it should check whether KIPI::AlbumsHaveComments are set. It does so using KIPI::Interface::hasFeature()

Enumeration values:
AlbumsHaveComments  This feature specify that albums have descriptions associated to them.
ImagesHasComments  This feature specifies that images in the host application has descriptions associated to them.
ImagesHasTime  This feature specifies that images has a date associated with it, which the host application can display and set
SupportsDateRanges  This feature specify whether the host application supports that the user can specify a date range for images, like 1998-2000.
AcceptNewImages  This feature specifies that the host application do accept new images. Use ImageCollection::uploadPath to find the location to place the image, and KIPI::Interface::addImage() to tell the host application about the new image.
ImageTitlesWritable  This features specifies whether the plugin can change the title for images
AlbumsHaveCategory  This feature specify that albums are category associated to them ('travels', 'friends', 'monuments', etc.).
AlbumsHaveCreationDate  This feature specify that albums are a creation date associated to them.
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.


Generated on Tue Mar 22 22:15:55 2005 for libKipi by  doxygen 1.4.1