digiKam
|
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 | |
Digikam::CoreDbWatch::CoreDbWatch | ( | ) |
|
overrideprotected |
|
signal |
Referenced by sendAlbumChange().
|
signal |
Referenced by initializeRemote(), and sendAlbumRootChange().
|
signal |
Referenced by sendCollectionImageChange().
|
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().
void Digikam::CoreDbWatch::doAnyProcessing | ( | ) |
|
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().
|
signal |
Referenced by Digikam::ItemModel::ItemModel(), and sendImageTagChange().
void Digikam::CoreDbWatch::initializeRemote | ( | DatabaseMode | mode | ) |
References albumRootChange(), DatabaseSlave, and Digikam::CollectionManager::instance().
|
signal |
Referenced by sendSearchChange().
void Digikam::CoreDbWatch::sendAlbumChange | ( | const AlbumChangeset & | changeset | ) |
References albumChange().
Referenced by Digikam::CoreDbBackendPrivate::sendToWatch().
void Digikam::CoreDbWatch::sendAlbumRootChange | ( | const AlbumRootChangeset & | changeset | ) |
References albumRootChange().
Referenced by Digikam::CoreDbBackendPrivate::sendToWatch().
void Digikam::CoreDbWatch::sendCollectionImageChange | ( | const CollectionImageChangeset & | changeset | ) |
References collectionImageChange().
Referenced by Digikam::CoreDbBackendPrivate::sendToWatch().
void Digikam::CoreDbWatch::sendDatabaseChanged | ( | ) |
library-internal signal-trigger methods
References databaseChanged().
void Digikam::CoreDbWatch::sendImageChange | ( | const ImageChangeset & | changeset | ) |
References imageChange().
Referenced by Digikam::CoreDbBackendPrivate::sendToWatch().
void Digikam::CoreDbWatch::sendImageTagChange | ( | const ImageTagChangeset & | changeset | ) |
References imageTagChange().
Referenced by Digikam::CoreDbBackendPrivate::sendToWatch().
void Digikam::CoreDbWatch::sendSearchChange | ( | const SearchChangeset & | changeset | ) |
References searchChange().
Referenced by Digikam::CoreDbBackendPrivate::sendToWatch().
void Digikam::CoreDbWatch::sendTagChange | ( | const TagChangeset & | changeset | ) |
References tagChange().
Referenced by Digikam::CoreDbBackendPrivate::sendToWatch().
void Digikam::CoreDbWatch::setApplicationIdentifier | ( | const QString & | identifier | ) |
void Digikam::CoreDbWatch::setDatabaseIdentifier | ( | const QString & | identifier | ) |
|
signal |
Referenced by sendTagChange().