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

KIPI::Interface Class Reference

#include <interface.h>

List of all members.

Signals

void selectionChanged (bool hasSelection)
void currentAlbumChanged (bool anyAlbum)

Public Member Functions

 Interface (QObject *parent, const char *name=0)
virtual ~Interface ()
virtual ImageCollection currentAlbum ()=0
virtual ImageCollection currentSelection ()=0
virtual QValueList< ImageCollectionallAlbums ()=0
virtual ImageInfo info (const KURL &)=0
virtual bool addImage (const KURL &, QString &err)
virtual void delImage (const KURL &)
virtual void refreshImages (const KURL::List &)
virtual QString fileExtensions ()
bool hasFeature (KIPI::Features feature)

Protected Member Functions

virtual int features () const =0

Friends

class PluginLoader


Constructor & Destructor Documentation

KIPI::Interface::Interface QObject *  parent,
const char *  name = 0
 

KIPI::Interface::~Interface  )  [virtual]
 


Member Function Documentation

bool KIPI::Interface::addImage const KURL &  ,
QString &  err
[virtual]
 

Tell the host application that a new image has been made available to it. Returns true if the host application did accept the new image, otherwise err will be filled with an error description.

QValueList< KIPI::ImageCollection > KIPI::Interface::allAlbums  )  [pure virtual]
 

Returns a list of albums.

KIPI::ImageCollection KIPI::Interface::currentAlbum  )  [pure virtual]
 

Returns list of all images in current album. If there are no current album, the returned KIPI::ImageCollection::isValid() will return false.

void KIPI::Interface::currentAlbumChanged bool  anyAlbum  )  [signal]
 

KIPI::ImageCollection KIPI::Interface::currentSelection  )  [pure virtual]
 

Current selection in a thumbnail view for example. If there are no current selection, the returned KIPI::ImageCollection::isValid() will return false.

void KIPI::Interface::delImage const KURL &   )  [virtual]
 

int KIPI::Interface::features  )  const [protected, pure virtual]
 

Return a bitwise or of the KIPI::Features that thus application support.

QString KIPI::Interface::fileExtensions  )  [virtual]
 

Return a list of images file extention will be used in the plugins for to sort the files list before a treatment. The default implementation return, the supported images formats by KDE.

bool KIPI::Interface::hasFeature KIPI::Features  feature  ) 
 

Tells whether the host application under which the plugin currently executes a given feature. See KIPI::Features for details on the individual features.

virtual ImageInfo KIPI::Interface::info const KURL &   )  [pure virtual]
 

void KIPI::Interface::refreshImages const KURL::List &   )  [virtual]
 

Tells the host app that the following images has changed on disk

void KIPI::Interface::selectionChanged bool  hasSelection  )  [signal]
 


Friends And Related Function Documentation

friend class PluginLoader [friend]
 


The documentation for this class was generated from the following files:
Generated on Tue Sep 13 05:02:14 2005 for libKipi by  doxygen 1.4.4