25 #ifndef DIGIKAM_VERSION_NAMING_SCHEME_H
26 #define DIGIKAM_VERSION_NAMING_SCHEME_H
61 const QString& filename,
62 QVariant* counter =
nullptr,
63 QVariant* intermediateCounter =
nullptr) = 0;
72 const QString& baseName,
73 const QVariant& counter) = 0;
83 const QString& filename,
84 const QVariant& version,
85 const QVariant& counter) = 0;
92 const QString& filename) = 0;
94 const QString& fileName) = 0;
125 virtual QString baseName(
const QString& currentPath,
const QString& filename,
126 QVariant* counter, QVariant* intermediateCounter)
override;
127 virtual QString versionFileName(
const QString& currentPath,
const QString& filename,
128 const QVariant& counter)
override;
129 virtual QString intermediateFileName(
const QString& currentPath,
const QString& filename,
130 const QVariant& version,
const QVariant& counter)
override;
131 virtual QString directory(
const QString& currentPath,
const QString& filename)
override;
132 virtual QString intermediateDirectory(
const QString& currentPath,
const QString& fileName)
override;
133 virtual QVariant initialCounter()
override;
134 virtual QVariant incrementedCounter(
const QVariant& counter)
override;
Definition: versionnamingscheme.h:119
virtual ~DefaultVersionNamingScheme()=default
DefaultVersionNamingScheme()=default
Definition: versionnamingscheme.h:41
virtual QString intermediateFileName(const QString &path, const QString &filename, const QVariant &version, const QVariant &counter)=0
virtual ~VersionNamingScheme()=default
virtual QString baseName(const QString &path, const QString &filename, QVariant *counter=nullptr, QVariant *intermediateCounter=nullptr)=0
virtual QString versionFileName(const QString &path, const QString &baseName, const QVariant &counter)=0
virtual QString directory(const QString &path, const QString &filename)=0
VersionNamingScheme()=default
virtual QVariant initialCounter()=0
virtual QVariant incrementedCounter(const QVariant &counter)=0
virtual QString intermediateDirectory(const QString ¤tPath, const QString &fileName)=0
Definition: datefolderview.cpp:43