digiKam
Digikam::DateFormat Class Reference

Public Types

typedef QPair< QString, QVariant > DateFormatDescriptor
 
typedef QList< DateFormatDescriptorDateFormatMap
 
enum  Type {
  Standard = 0 , ISO , FullText , UnixTimeStamp ,
  Custom
}
 

Public Member Functions

 DateFormat ()
 
QVariant format (const QString &identifier)
 
QVariant format (Type type)
 
QString identifier (Type type)
 
DateFormatMapmap ()
 
Type type (const QString &identifier)
 
 ~DateFormat ()
 

Member Typedef Documentation

◆ DateFormatDescriptor

typedef QPair<QString, QVariant> Digikam::DateFormat::DateFormatDescriptor

◆ DateFormatMap

Member Enumeration Documentation

◆ Type

Enumerator
Standard 
ISO 
FullText 
UnixTimeStamp 
Custom 

Constructor & Destructor Documentation

◆ DateFormat()

Digikam::DateFormat::DateFormat ( )
explicit

References Custom, FullText, ISO, Standard, and UnixTimeStamp.

◆ ~DateFormat()

Digikam::DateFormat::~DateFormat ( )
inline

Member Function Documentation

◆ format() [1/2]

QVariant Digikam::DateFormat::format ( const QString &  identifier)

References identifier(), and Standard.

◆ format() [2/2]

QVariant Digikam::DateFormat::format ( Type  type)

References type().

Referenced by Digikam::DateOption::parseOperation().

◆ identifier()

QString Digikam::DateFormat::identifier ( Type  type)

References type().

Referenced by format(), and type().

◆ map()

DateFormatMap& Digikam::DateFormat::map ( )
inline

◆ type()

DateFormat::Type Digikam::DateFormat::type ( const QString &  identifier)

The documentation for this class was generated from the following files: