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

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

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

Member Typedef Documentation

◆ DAlbumIDs

typedef QList<int> Digikam::DInfoInterface::DAlbumIDs
inherited

List of Album ids.

◆ DInfoMap

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

Map of properties name and value.

Member Enumeration Documentation

◆ SetupPage

Enumerator
ExifToolPage 

Constructor & Destructor Documentation

◆ DBInfoIface()

Digikam::DBInfoIface::DBInfoIface ( QObject *const  parent,
const QList< QUrl > &  lst = QList<QUrl>(),
const ApplicationSettings::OperationType  type = ApplicationSettings::Unspecified 
)
explicit

◆ ~DBInfoIface()

Digikam::DBInfoIface::~DBInfoIface ( )
override

Member Function Documentation

◆ albumChooser()

QWidget * Digikam::DBInfoIface::albumChooser ( QWidget *const  parent) const
overridevirtual

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

Reimplemented from Digikam::DInfoInterface.

References Digikam::DInfoInterface::signalAlbumChooserSelectionChanged().

◆ albumChooserItems()

DBInfoIface::DAlbumIDs Digikam::DBInfoIface::albumChooserItems ( ) const
overridevirtual

Reimplemented from Digikam::DInfoInterface.

References Digikam::Album::globalID().

◆ albumInfo()

◆ albumItems() [1/2]

QList< QUrl > Digikam::DBInfoIface::albumItems ( Album *const  album) const

◆ albumItems() [2/2]

QList< QUrl > Digikam::DBInfoIface::albumItems ( int  id) const
overridevirtual

Reimplemented from Digikam::DInfoInterface.

References albumItems().

◆ albumsItems()

QList< QUrl > Digikam::DBInfoIface::albumsItems ( const DAlbumIDs lst) const
overridevirtual

Reimplemented from Digikam::DInfoInterface.

References albumItems().

◆ allAlbumItems()

QList< QUrl > Digikam::DBInfoIface::allAlbumItems ( ) const
overridevirtual

Reimplemented from Digikam::DInfoInterface.

◆ currentAlbumItems()

QList< QUrl > Digikam::DBInfoIface::currentAlbumItems ( ) const
overridevirtual

◆ currentSelectedItems()

QList< QUrl > Digikam::DBInfoIface::currentSelectedItems ( ) const
overridevirtual

Low level items and albums methods.

Reimplemented from Digikam::DInfoInterface.

References Digikam::DigikamApp::instance(), Digikam::ItemIconView::selectedUrls(), and Digikam::DigikamApp::view().

◆ defaultUploadUrl()

QUrl Digikam::DBInfoIface::defaultUploadUrl ( ) const
overridevirtual

◆ deleteImage()

void Digikam::DBInfoIface::deleteImage ( const QUrl &  url)
overridevirtual

Manipulate with item.

Reimplemented from Digikam::DInfoInterface.

References Digikam::DIO::del(), and Digikam::ItemInfo::fromUrl().

◆ itemInfo()

◆ openSetupPage()

void Digikam::DBInfoIface::openSetupPage ( SetupPage  page)
overridevirtual

◆ parseAlbumItemsRecursive()

void Digikam::DBInfoIface::parseAlbumItemsRecursive ( )
overridevirtual

◆ passShortcutActionsToWidget()

QMap< QString, QString > Digikam::DBInfoIface::passShortcutActionsToWidget ( QWidget *const  ) const
overridevirtual

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

Reimplemented from Digikam::DInfoInterface.

References Digikam::TagsActionMngr::defaultManager(), and Digikam::TagsActionMngr::registerActionsToWidget().

◆ setAlbumInfo()

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

◆ setItemInfo()

◆ signalAlbumChooserSelectionChanged()

Q_SIGNAL void Digikam::DInfoInterface::signalAlbumChooserSelectionChanged ( )
inherited

Referenced by albumChooser().

◆ signalAlbumItemsRecursiveCompleted()

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

◆ signalImportedImage()

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

◆ signalLastItemUrl()

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

◆ signalSetupChanged()

Q_SIGNAL void Digikam::DInfoInterface::signalSetupChanged ( )
inherited

◆ signalShortcutPressed()

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

Referenced by DBInfoIface().

◆ signalUploadUrlChanged()

Q_SIGNAL void Digikam::DInfoInterface::signalUploadUrlChanged ( )
inherited

◆ slotDateTimeForUrl()

void Digikam::DBInfoIface::slotDateTimeForUrl ( const QUrl &  url,
const QDateTime &  dt,
bool  updModDate 
)
overridevirtual

◆ slotMetadataChangedForUrl()

void Digikam::DBInfoIface::slotMetadataChangedForUrl ( const QUrl &  url)
overridevirtual

◆ supportAlbums()

bool Digikam::DBInfoIface::supportAlbums ( ) const
overridevirtual

Reimplemented from Digikam::DInfoInterface.

◆ tagFilterModel()

QAbstractItemModel * Digikam::DBInfoIface::tagFilterModel ( )
overridevirtual

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

Reimplemented from Digikam::DInfoInterface.

References Digikam::AbstractAlbumModel::IgnoreRootAlbum, and Digikam::TagPropertiesFilterModel::setSourceAlbumModel().

◆ uploadUrl()

QUrl Digikam::DBInfoIface::uploadUrl ( ) const
overridevirtual

Reimplemented from Digikam::DInfoInterface.

References Digikam::PAlbum::folderPath().

◆ uploadWidget()

QWidget * Digikam::DBInfoIface::uploadWidget ( QWidget *const  parent) const
overridevirtual

Album selector view methods (to upload items from an external place).

Reimplemented from Digikam::DInfoInterface.

References Digikam::DInfoInterface::signalUploadUrlChanged().


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