digiKam
|
Public Types | |
enum | FileNameType { CurrentVersionName , NewVersionName } |
Public Member Functions | |
VersionNamingScheme * | namingScheme () const |
VersionFileOperation | operation (FileNameType request, const VersionFileInfo &loadedFile, const DImageHistory &initialResolvedHistory, const DImageHistory ¤tHistory) |
VersionFileOperation | operationNewVersionAs (const VersionFileInfo &loadedFile, const VersionFileInfo &saveLocation, const DImageHistory &initialResolvedHistory, const DImageHistory ¤tHistory) |
VersionFileOperation | operationNewVersionInFormat (const VersionFileInfo &loadedFile, const QString &format, const DImageHistory &initialResolvedHistory, const DImageHistory ¤tHistory) |
void | setNamingScheme (VersionNamingScheme *scheme) |
void | setSettings (const VersionManagerSettings &settings) |
VersionManagerSettings | settings () const |
virtual QString | toplevelDirectory (const QString &path) |
VersionManager () | |
virtual QStringList | workspaceFileFormats () const |
virtual | ~VersionManager () |
|
explicit |
|
virtual |
VersionNamingScheme * Digikam::VersionManager::namingScheme | ( | ) | const |
VersionFileOperation Digikam::VersionManager::operation | ( | FileNameType | request, |
const VersionFileInfo & | loadedFile, | ||
const DImageHistory & | initialResolvedHistory, | ||
const DImageHistory & | currentHistory | ||
) |
References CurrentVersionName, and NewVersionName.
Referenced by Digikam::EditorWindow::saveVersionFileOperation().
VersionFileOperation Digikam::VersionManager::operationNewVersionAs | ( | const VersionFileInfo & | loadedFile, |
const VersionFileInfo & | saveLocation, | ||
const DImageHistory & | initialResolvedHistory, | ||
const DImageHistory & | currentHistory | ||
) |
VersionFileOperation Digikam::VersionManager::operationNewVersionInFormat | ( | const VersionFileInfo & | loadedFile, |
const QString & | format, | ||
const DImageHistory & | initialResolvedHistory, | ||
const DImageHistory & | currentHistory | ||
) |
Referenced by Digikam::EditorWindow::saveInFormatVersionFileOperation().
void Digikam::VersionManager::setNamingScheme | ( | VersionNamingScheme * | scheme | ) |
void Digikam::VersionManager::setSettings | ( | const VersionManagerSettings & | settings | ) |
References settings().
Referenced by Digikam::ImageWindow::slotSetupChanged().
VersionManagerSettings Digikam::VersionManager::settings | ( | ) | const |
Referenced by setSettings().
|
virtual |
Reimplemented in Digikam::DatabaseVersionManager.
|
virtual |