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

Public Types

enum  DatabaseMode { DatabaseMaster , DatabaseSlave }
 

Signals

void albumChange (const AlbumChangeset &changeset)
 
void albumRootChange (const AlbumRootChangeset &changeset)
 
void collectionImageChange (const CollectionImageChangeset &changeset)
 
void databaseChanged ()
 
void imageChange (const ImageChangeset &changeset)
 
void imageTagChange (const ImageTagChangeset &changeset)
 
void searchChange (const SearchChangeset &changeset)
 
void tagChange (const TagChangeset &changeset)
 

Public Member Functions

 CoreDbWatch ()
 
void doAnyProcessing ()
 
void initializeRemote (DatabaseMode mode)
 
void sendAlbumChange (const AlbumChangeset &changeset)
 
void sendAlbumRootChange (const AlbumRootChangeset &changeset)
 
void sendCollectionImageChange (const CollectionImageChangeset &changeset)
 
void sendDatabaseChanged ()
 library-internal signal-trigger methods More...
 
void sendImageChange (const ImageChangeset &changeset)
 
void sendImageTagChange (const ImageTagChangeset &changeset)
 
void sendSearchChange (const SearchChangeset &changeset)
 
void sendTagChange (const TagChangeset &changeset)
 
void setApplicationIdentifier (const QString &identifier)
 
void setDatabaseIdentifier (const QString &identifier)
 

Protected Member Functions

 ~CoreDbWatch () override
 

Member Enumeration Documentation

◆ DatabaseMode

Enumerator
DatabaseMaster 
DatabaseSlave 

Constructor & Destructor Documentation

◆ CoreDbWatch()

Digikam::CoreDbWatch::CoreDbWatch ( )

◆ ~CoreDbWatch()

Digikam::CoreDbWatch::~CoreDbWatch ( )
overrideprotected

Member Function Documentation

◆ albumChange

void Digikam::CoreDbWatch::albumChange ( const AlbumChangeset changeset)
signal

Referenced by sendAlbumChange().

◆ albumRootChange

void Digikam::CoreDbWatch::albumRootChange ( const AlbumRootChangeset changeset)
signal

◆ collectionImageChange

void Digikam::CoreDbWatch::collectionImageChange ( const CollectionImageChangeset changeset)
signal

◆ databaseChanged

void Digikam::CoreDbWatch::databaseChanged ( )
signal

Retrieve the CoreDbWatch object from CoreDbAccess::databaseWatch(). This does not describe a change of the contents of a table; rather, it signals that a new database has been loaded. That means all cached content has to be discarded.

Referenced by sendDatabaseChanged().

◆ doAnyProcessing()

void Digikam::CoreDbWatch::doAnyProcessing ( )

◆ imageChange

void Digikam::CoreDbWatch::imageChange ( const ImageChangeset changeset)
signal

Notifies of changes in the database. Connect to the set of signals that you are interested in.

Referenced by Digikam::ItemModel::ItemModel(), and sendImageChange().

◆ imageTagChange

void Digikam::CoreDbWatch::imageTagChange ( const ImageTagChangeset changeset)
signal

◆ initializeRemote()

void Digikam::CoreDbWatch::initializeRemote ( DatabaseMode  mode)

◆ searchChange

void Digikam::CoreDbWatch::searchChange ( const SearchChangeset changeset)
signal

Referenced by sendSearchChange().

◆ sendAlbumChange()

void Digikam::CoreDbWatch::sendAlbumChange ( const AlbumChangeset changeset)

◆ sendAlbumRootChange()

void Digikam::CoreDbWatch::sendAlbumRootChange ( const AlbumRootChangeset changeset)

◆ sendCollectionImageChange()

void Digikam::CoreDbWatch::sendCollectionImageChange ( const CollectionImageChangeset changeset)

◆ sendDatabaseChanged()

void Digikam::CoreDbWatch::sendDatabaseChanged ( )

library-internal signal-trigger methods

References databaseChanged().

◆ sendImageChange()

void Digikam::CoreDbWatch::sendImageChange ( const ImageChangeset changeset)

◆ sendImageTagChange()

void Digikam::CoreDbWatch::sendImageTagChange ( const ImageTagChangeset changeset)

◆ sendSearchChange()

void Digikam::CoreDbWatch::sendSearchChange ( const SearchChangeset changeset)

◆ sendTagChange()

void Digikam::CoreDbWatch::sendTagChange ( const TagChangeset changeset)

◆ setApplicationIdentifier()

void Digikam::CoreDbWatch::setApplicationIdentifier ( const QString &  identifier)

◆ setDatabaseIdentifier()

void Digikam::CoreDbWatch::setDatabaseIdentifier ( const QString &  identifier)

◆ tagChange

void Digikam::CoreDbWatch::tagChange ( const TagChangeset changeset)
signal

Referenced by sendTagChange().


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