|
QStringList | deferredAlbumPaths () const |
|
QList< qlonglong > | getNewIdsList () const |
| Returns item ids from new detected items.
|
|
void | setDeferredFileScanning (bool defer) |
|
void | setHintContainer (CollectionScannerHintContainer *const container) |
|
void | setNeedFileCount (bool on) |
| Call this to enable emitting the total files to scan (for progress info) before a complete collection scan.
|
|
void | setObserver (CollectionScannerObserver *const observer) |
| Set an observer to be able to cancel a running scan.
|
|
void | setPerformFastScan (bool on) |
| Call this to disable fast scan with album date check.
|
|
void | setSignalsEnabled (bool on) |
| Call this to enable the progress info signals.
|
|
void | setUpdateHashHint (bool hint=true) |
|
|
void | safelyRemoveAlbums (const QList< int > &albumIds) |
| Prepare the given albums to be removed, typically by setting the albums as orphan and removing all entries from the albums.
|
|
static void | copyFileProperties (const ItemInfo &source, const ItemInfo &dest) |
| When a file is derived from another file, typically through editing, copy all relevant attributes from source file to the new file.
|
|
void | markDatabaseAsScanned () |
|
void | mainEntryPoint (bool complete) |
|
int | checkAlbum (const CollectionLocation &location, const QString &album) |
|
void | itemsWereRemoved (const QList< qlonglong > &removedIds) |
|
void | updateRemovedItemsTime () |
|
void | incrementDeleteRemovedCompleteScanCount () |
|
void | resetDeleteRemovedSettings () |
|
bool | checkDeleteRemoved () |
|
void | loadNameFilters () |
|
int | countItemsInFolder (const QString &path) |
|
DatabaseItem::Category | category (const QFileInfo &info) |
|
void | totalFilesToScan (int count) |
| Emitted once in scanAlbums(), the scan() methods, and updateItemsWithoutDate().
|
|
void | startScanningAlbumRoot (const QString &albumRoot) |
| Notifies the begin of the scanning of the specified album root, album, of stale files, or of the whole collection (after stale files)
|
|
void | startScanningAlbum (const QString &albumRoot, const QString &album) |
|
void | startScanningForStaleAlbums () |
|
void | startScanningAlbumRoots () |
|
void | startCompleteScan () |
|
void | signalScannedNewImage (const QFileInfo &info) |
|
void | finishedScanningAlbumRoot (const QString &albumRoot) |
| Emitted when the scanning has finished.
|
|
void | finishedScanningAlbum (const QString &albumRoot, const QString &album, int filesScanned) |
|
void | finishedScanningForStaleAlbums () |
|
void | finishedCompleteScan () |
|
void | scannedFiles (int filesScanned) |
| Emitted between startScanningAlbum and finishedScanningAlbum.
|
|
void | cancelled () |
| Emitted when the observer told to cancel the scan.
|
|
|
void | completeScan () |
| Carries out a full scan on all available parts of the collection.
|
|
void | finishCompleteScan (const QStringList &albumPaths) |
| If you enable deferred file scanning for a completeScan(), new files will not be scanned.
|
|
void | partialScan (const QString &filePath) |
| Carries out a partial scan on the specified path of the collection.
|
|
void | partialScan (const QString &albumRoot, const QString &album) |
| Same procedure as above, but albumRoot and album is provided.
|
|
qlonglong | scanFile (const QString &filePath, FileScanMode mode=ModifiedScan) |
| The given file will be scanned according to the given mode.
|
|
qlonglong | scanFile (const QString &albumRoot, const QString &album, const QString &fileName, FileScanMode mode=ModifiedScan) |
| Same procedure as above, but albumRoot and album is provided.
|
|
void | scanFile (const ItemInfo &info, FileScanMode mode=ModifiedScan) |
| The given file represented by the ItemInfo will be scanned according to mode.
|
|
static bool | databaseInitialScanDone () |
| Returns if the initial scan of the database has been done.
|
|
void | scanForStaleAlbums (const QList< CollectionLocation > &locations) |
|
void | scanForStaleAlbums (const QList< int > &locationIdsToScan) |
|
void | scanAlbumRoot (const CollectionLocation &location) |
|
void | scanAlbum (const CollectionLocation &location, const QString &album, bool checkDate=false) |
|
void | scanExistingFile (const QFileInfo &fi, qlonglong id) |
|
void | scanFileNormal (const QFileInfo &info, const ItemScanInfo &scanInfo, bool checkSidecar=true, const QFileInfo *const sidecarInfo=nullptr) |
|
void | scanModifiedFile (const QFileInfo &info, const ItemScanInfo &scanInfo) |
|
void | scanFileUpdateHashReuseThumbnail (const QFileInfo &fi, const ItemScanInfo &scanInfo, bool fileWasEdited) |
|
void | cleanScanFile (const QFileInfo &info, const ItemScanInfo &scanInfo) |
|
void | rescanFile (const QFileInfo &info, const ItemScanInfo &scanInfo) |
|
void | completeScanCleanupPart () |
|
void | completeHistoryScanning () |
|
void | finishHistoryScanning () |
|
void | historyScanningStage2 (const QList< qlonglong > &ids) |
|
void | historyScanningStage3 (const QList< qlonglong > &ids) |
|
qlonglong | scanFile (const QFileInfo &fi, int albumId, qlonglong id, FileScanMode mode) |
|
qlonglong | scanNewFile (const QFileInfo &info, int albumId) |
|
qlonglong | scanNewFileFullScan (const QFileInfo &info, int albumId) |
|