digiKam
Digikam::DInfoInterface Class Reference
+ Inheritance diagram for Digikam::DInfoInterface:

Public Types

typedef QList< int > DAlbumIDs
 List of Album ids. More...
 
typedef QMap< QString, QVariant > DInfoMap
 Map of properties name and value. More...
 
enum  SetupPage { ExifToolPage = 0 }
 

Public Member Functions

virtual void deleteImage (const QUrl &url)
 Manipulate with item. More...
 
 DInfoInterface (QObject *const parent)
 
virtual void openSetupPage (SetupPage page)
 Open configuration dialog page. More...
 
virtual QMap< QString, QString > passShortcutActionsToWidget (QWidget *const) const
 Pass extra shortcut actions to widget and return prefixes of shortcuts. More...
 
Q_SIGNAL void signalAlbumItemsRecursiveCompleted (const QList< QUrl > &imageList)
 
Q_SIGNAL void signalSetupChanged ()
 
Q_SIGNAL void signalShortcutPressed (const QString &shortcut, int val)
 
virtual Q_SLOT void slotDateTimeForUrl (const QUrl &url, const QDateTime &dt, bool updModDate)
 Slot to call when date time stamp from item is changed. More...
 
virtual Q_SLOT void slotMetadataChangedForUrl (const QUrl &url)
 Slot to call when something in metadata from item is changed. More...
 
virtual QAbstractItemModel * tagFilterModel ()
 Return an instance of tag filter model if host application support this feature, else null pointer. More...
 
 ~DInfoInterface () override
 
virtual QList< QUrl > currentSelectedItems () const
 Low level items and albums methods. More...
 
virtual QList< QUrl > currentAlbumItems () const
 
virtual void parseAlbumItemsRecursive ()
 
virtual QList< QUrl > albumItems (int) const
 
virtual QList< QUrl > albumsItems (const DAlbumIDs &) const
 
virtual QList< QUrl > allAlbumItems () const
 
virtual DInfoMap albumInfo (int) const
 
virtual void setAlbumInfo (int, const DInfoMap &) const
 
virtual DInfoMap itemInfo (const QUrl &) const
 
virtual void setItemInfo (const QUrl &, const DInfoMap &) const
 
Q_SIGNAL void signalLastItemUrl (const QUrl &)
 
virtual QWidget * albumChooser (QWidget *const parent) const
 Albums chooser view methods (to use items from albums before to process). More...
 
virtual DAlbumIDs albumChooserItems () const
 
virtual bool supportAlbums () const
 
Q_SIGNAL void signalAlbumChooserSelectionChanged ()
 
virtual QWidget * uploadWidget (QWidget *const parent) const
 Album selector view methods (to upload items from an external place). More...
 
virtual QUrl uploadUrl () const
 
Q_SIGNAL void signalUploadUrlChanged ()
 
virtual QUrl defaultUploadUrl () const
 Url to upload new items without to use album selector. More...
 
Q_SIGNAL void signalImportedImage (const QUrl &)
 

Member Typedef Documentation

◆ DAlbumIDs

List of Album ids.

◆ DInfoMap

typedef QMap<QString, QVariant> Digikam::DInfoInterface::DInfoMap

Map of properties name and value.

Member Enumeration Documentation

◆ SetupPage

Enumerator
ExifToolPage 

Constructor & Destructor Documentation

◆ DInfoInterface()

Digikam::DInfoInterface::DInfoInterface ( QObject *const  parent)
explicit

◆ ~DInfoInterface()

Digikam::DInfoInterface::~DInfoInterface ( )
override

Member Function Documentation

◆ albumChooser()

QWidget * Digikam::DInfoInterface::albumChooser ( QWidget *const  parent) const
virtual

Albums chooser view methods (to use items from albums before to process).

Reimplemented in Digikam::DBInfoIface.

◆ albumChooserItems()

DInfoInterface::DAlbumIDs Digikam::DInfoInterface::albumChooserItems ( ) const
virtual

Reimplemented in Digikam::DBInfoIface.

◆ albumInfo()

DInfoInterface::DInfoMap Digikam::DInfoInterface::albumInfo ( int  ) const
virtual

Reimplemented in Digikam::DBInfoIface.

◆ albumItems()

QList< QUrl > Digikam::DInfoInterface::albumItems ( int  ) const
virtual

Reimplemented in Digikam::DBInfoIface.

◆ albumsItems()

QList< QUrl > Digikam::DInfoInterface::albumsItems ( const DAlbumIDs ) const
virtual

Reimplemented in Digikam::DBInfoIface.

◆ allAlbumItems()

QList< QUrl > Digikam::DInfoInterface::allAlbumItems ( ) const
virtual

◆ currentAlbumItems()

QList< QUrl > Digikam::DInfoInterface::currentAlbumItems ( ) const
virtual

◆ currentSelectedItems()

QList< QUrl > Digikam::DInfoInterface::currentSelectedItems ( ) const
virtual

Low level items and albums methods.

Reimplemented in Digikam::DMetaInfoIface, and Digikam::DBInfoIface.

◆ defaultUploadUrl()

QUrl Digikam::DInfoInterface::defaultUploadUrl ( ) const
virtual

Url to upload new items without to use album selector.

Reimplemented in Digikam::DMetaInfoIface, and Digikam::DBInfoIface.

◆ deleteImage()

void Digikam::DInfoInterface::deleteImage ( const QUrl &  url)
virtual

Manipulate with item.

Reimplemented in Digikam::DMetaInfoIface, and Digikam::DBInfoIface.

◆ itemInfo()

◆ openSetupPage()

void Digikam::DInfoInterface::openSetupPage ( SetupPage  page)
virtual

Open configuration dialog page.

Reimplemented in ShowFoto::ShowfotoInfoIface, and Digikam::DBInfoIface.

◆ parseAlbumItemsRecursive()

void Digikam::DInfoInterface::parseAlbumItemsRecursive ( )
virtual

◆ passShortcutActionsToWidget()

QMap< QString, QString > Digikam::DInfoInterface::passShortcutActionsToWidget ( QWidget * const  ) const
virtual

Pass extra shortcut actions to widget and return prefixes of shortcuts.

Reimplemented in Digikam::DBInfoIface.

◆ setAlbumInfo()

void Digikam::DInfoInterface::setAlbumInfo ( int  ,
const DInfoMap  
) const
virtual

◆ setItemInfo()

void Digikam::DInfoInterface::setItemInfo ( const QUrl &  ,
const DInfoMap  
) const
virtual

◆ signalAlbumChooserSelectionChanged()

Q_SIGNAL void Digikam::DInfoInterface::signalAlbumChooserSelectionChanged ( )

◆ signalAlbumItemsRecursiveCompleted()

Q_SIGNAL void Digikam::DInfoInterface::signalAlbumItemsRecursiveCompleted ( const QList< QUrl > &  imageList)

◆ signalImportedImage()

Q_SIGNAL void Digikam::DInfoInterface::signalImportedImage ( const QUrl &  )

◆ signalLastItemUrl()

Q_SIGNAL void Digikam::DInfoInterface::signalLastItemUrl ( const QUrl &  )

◆ signalSetupChanged()

Q_SIGNAL void Digikam::DInfoInterface::signalSetupChanged ( )

◆ signalShortcutPressed()

Q_SIGNAL void Digikam::DInfoInterface::signalShortcutPressed ( const QString &  shortcut,
int  val 
)

◆ signalUploadUrlChanged()

Q_SIGNAL void Digikam::DInfoInterface::signalUploadUrlChanged ( )

◆ slotDateTimeForUrl()

void Digikam::DInfoInterface::slotDateTimeForUrl ( const QUrl &  url,
const QDateTime &  dt,
bool  updModDate 
)
virtual

Slot to call when date time stamp from item is changed.

Reimplemented in Digikam::DMetaInfoIface, and Digikam::DBInfoIface.

◆ slotMetadataChangedForUrl()

void Digikam::DInfoInterface::slotMetadataChangedForUrl ( const QUrl &  url)
virtual

Slot to call when something in metadata from item is changed.

Reimplemented in Digikam::DMetaInfoIface, and Digikam::DBInfoIface.

◆ supportAlbums()

bool Digikam::DInfoInterface::supportAlbums ( ) const
virtual

◆ tagFilterModel()

QAbstractItemModel * Digikam::DInfoInterface::tagFilterModel ( )
virtual

Return an instance of tag filter model if host application support this feature, else null pointer.

Reimplemented in Digikam::DBInfoIface.

◆ uploadUrl()

QUrl Digikam::DInfoInterface::uploadUrl ( ) const
virtual

◆ uploadWidget()

QWidget * Digikam::DInfoInterface::uploadWidget ( QWidget *const  parent) const
virtual

The documentation for this class was generated from the following files: