|
Krita Source Code Documentation
|
#include <recorder_snapshots_scanner.h>
Inheritance diagram for RecorderSnapshotsScanner:Signals | |
| void | scanningFinished (SnapshotDirInfoList snapshots) |
Public Member Functions | |
| RecorderSnapshotsScanner () | |
| void | setup (const QString &snapshotDirectory) |
| void | stop () |
| ~RecorderSnapshotsScanner () | |
Protected Member Functions | |
| void | run () override |
Private Member Functions | |
| SnapshotDirInfo | readSnapshotDirInfo (const QString &path) const |
Private Attributes | |
| QString | snapshotDirectory |
Definition at line 24 of file recorder_snapshots_scanner.h.
| RecorderSnapshotsScanner::RecorderSnapshotsScanner | ( | ) |
Definition at line 21 of file recorder_snapshots_scanner.cpp.
| RecorderSnapshotsScanner::~RecorderSnapshotsScanner | ( | ) |
|
private |
Definition at line 72 of file recorder_snapshots_scanner.cpp.
References SnapshotDirInfo::dateTime, SnapshotDirInfo::name, SnapshotDirInfo::path, SnapshotDirInfo::size, RecorderConst::snapshotFilePatternFor(), and SnapshotDirInfo::thumbnail.
|
overrideprotected |
Definition at line 50 of file recorder_snapshots_scanner.cpp.
References readSnapshotDirInfo(), scanningFinished(), SnapshotDirInfo::size, and snapshotDirectory.
|
signal |
| void RecorderSnapshotsScanner::setup | ( | const QString & | snapshotDirectory | ) |
Definition at line 31 of file recorder_snapshots_scanner.cpp.
References snapshotDirectory.
| void RecorderSnapshotsScanner::stop | ( | ) |
Definition at line 36 of file recorder_snapshots_scanner.cpp.
References RecorderConst::waitThreadTimeoutMs.
|
private |
Definition at line 44 of file recorder_snapshots_scanner.h.