KFileMetaData::Property Namespace

namespace KFileMetaData::Property

The Property namespace. More...

Header: #include <Property>
CMake: find_package(KF6 REQUIRED COMPONENTS FileMetaData)
target_link_libraries(mytarget PRIVATE KF6::FileMetaData)

Types

enum Property { Empty, BitRate, Channels, Duration, Genre, …, Description }

Detailed Description

Type Documentation

enum Property::Property

The Property enum contains all files property types that KFileMetaData manipulates

ConstantValueDescription
KFileMetaData::Property::Empty0 
KFileMetaData::Property::BitRate1The Bit Rate of the Audio in the File. Represented as an integer in kbit/sec
KFileMetaData::Property::Channels2The number of channels of the Audio in the File. Represented as an integer
KFileMetaData::Property::Duration3The duration of the media in the file. Represented as an integer in seconds
KFileMetaData::Property::Genre4The Genre of an Audio file. This s represented as a string of genres and not integers. The IDv1 standard provides a list of commonly excepted genres.
KFileMetaData::Property::SampleRate5The same rate or frequency of the Audio in the file. This is represented as an integer in Hz. So a file with "44.1KHz" will have a frequency of 44100
KFileMetaData::Property::TrackNumber6Represents the track number in a set. Typically maps to the "TRCK" tag in IDv3
KFileMetaData::Property::ReleaseYear7Indicates the year a track was released. Represented as an integer. Typically mapped to the "TYE (Year)" tag in IDv1
KFileMetaData::Property::Comment8Represents a comment stored in the file. This can map to e.g. the "COMM" field from IDv3
KFileMetaData::Property::Artist9Represents the artist of a media file. This generally corresponds to the IDv1 ARTIST tag. Many extractors often split this string into a number of artists.
KFileMetaData::Property::Album10Represents the album of a media file. This generally corresponds to the IDv1 ALBUM tag.
KFileMetaData::Property::AlbumArtist11Represents the album artist of a media file. This generally corresponds to the IDv3 TPE2 ("Band/Orchestra/Accompaniment") tag.
KFileMetaData::Property::Composer12Represents the Composer of a media file. This generally corresponds to the IDv2 COMPOSER tag
KFileMetaData::Property::Lyricist13Represents the Lyricist of a media file. This generally corresponds to the IDv2 "Lyricist/text writer" tag
KFileMetaData::Property::Author14The Author field indicated the primary creator of a document. This often corresponds directly to dc:creator
KFileMetaData::Property::Title15Refers to the Title of the content of the file. This can represented by the IDv1 tag TT2 (Title/songname/content description) or the TITLE in a PDF file or the 'dc:title' tag in DublinCore
KFileMetaData::Property::Subject16Refers to the subject of the file. This directly corresponds to the 'dc:subject' tag from DublinCore.
KFileMetaData::Property::Generator17Refers to the Application used to create this file. In the ODF standard this maps to the 'meta:generator' tag. In PDFs its mapped to the "Producer" tag.
KFileMetaData::Property::PageCount18The number of pages in a document
KFileMetaData::Property::WordCount19The number of words in a document. This is often only provided for documents where the word count is available in the metadata
KFileMetaData::Property::LineCount20The number of lines in a document. This is often only provided for documents where the line count is available in the metadata
KFileMetaData::Property::Language (since 5.50)21The language the document is written in. This directly maps to the 'dc:language' tag from DublinCore. We do NOT employ any language detection schemes on the text
KFileMetaData::Property::Copyright22The copyright of the file. Represented as a string
KFileMetaData::Property::Publisher23The publisher of the content. Represented as a string
KFileMetaData::Property::CreationDate24The date the content of the file was created. This is extracted from the File MetaData and not from the file system. In ODF, it corresponds to "meta:creation-date", in PDF to the "CreationDate" tag, and otherwise the "dcterms:created" tag
KFileMetaData::Property::Keywords25The keywords used to represent the document. This is mostly a string list of all the keywords
KFileMetaData::Property::Width26Represents the width of the Media in pixels. This is generally only applicable for Images and Videos
KFileMetaData::Property::Height27Represents the height of the Media in pixels. This is generally only applicable for Images and Videos
KFileMetaData::Property::AspectRatio28The Aspect Ratio of the visual image or video. It is the width of a pixel divided by the height of the pixel
KFileMetaData::Property::FrameRate29Number of frames per second
KFileMetaData::Property::Manufacturer (since 5.60)30The manufacturer of the equipment used for generating the file and metadata. Typically maps to the 'Exif.Image.Make' tag
KFileMetaData::Property::Model (since 5.60)31The model name of the equipment used for generating the file and metadata. Typically maps to the 'Exif.Image.Model' tag
KFileMetaData::Property::ImageDateTime32 
KFileMetaData::Property::ImageOrientation33 
KFileMetaData::Property::PhotoFlash34 
KFileMetaData::Property::PhotoPixelXDimension35 
KFileMetaData::Property::PhotoPixelYDimension36 
KFileMetaData::Property::PhotoDateTimeOriginal37 
KFileMetaData::Property::PhotoFocalLength38 
KFileMetaData::Property::PhotoFocalLengthIn35mmFilm39 
KFileMetaData::Property::PhotoExposureTime40 
KFileMetaData::Property::PhotoFNumber41 
KFileMetaData::Property::PhotoApertureValue42 
KFileMetaData::Property::PhotoExposureBiasValue43 
KFileMetaData::Property::PhotoWhiteBalance44 
KFileMetaData::Property::PhotoMeteringMode45 
KFileMetaData::Property::PhotoISOSpeedRatings46 
KFileMetaData::Property::PhotoSaturation47 
KFileMetaData::Property::PhotoSharpness48 
KFileMetaData::Property::PhotoGpsLatitude49 
KFileMetaData::Property::PhotoGpsLongitude50 
KFileMetaData::Property::PhotoGpsAltitude51 
KFileMetaData::Property::TranslationUnitsTotal52 
KFileMetaData::Property::TranslationUnitsWithTranslation53 
KFileMetaData::Property::TranslationUnitsWithDraftTranslation54 
KFileMetaData::Property::TranslationLastAuthor55 
KFileMetaData::Property::TranslationLastUpDate56 
KFileMetaData::Property::TranslationTemplateDate57 
KFileMetaData::Property::OriginUrl58The URL this file has originally been downloaded from
KFileMetaData::Property::OriginEmailSubject59The subject of the email this file was originally attached to
KFileMetaData::Property::OriginEmailSender60The sender of the email this file was originally attached to
KFileMetaData::Property::OriginEmailMessageId61The message ID of the email this file was originally attached to
KFileMetaData::Property::DiscNumber62Represents the disc number in a multi-disc set. Typically maps to the "TPOS" tag for mp3
KFileMetaData::Property::Location63Represents the location where an audio file was recorded
KFileMetaData::Property::Performer64Represents the (lead) performer of an audio file
KFileMetaData::Property::Ensemble65Represents the ensemble of an audio file
KFileMetaData::Property::Arranger66Represents the arranger of an audio file
KFileMetaData::Property::Conductor67Represents the conductor of an audio file
KFileMetaData::Property::Opus68Represents the opus of an audio file mostly used for classical music
KFileMetaData::Property::Label69Represents the label of the content
KFileMetaData::Property::Compilation70Contains the name of the compilation of an audio file
KFileMetaData::Property::License71Contains the license information of the file
KFileMetaData::Property::Rating72For ratings stored in Metadata tags
KFileMetaData::Property::Lyrics73Contains the lyrics of a song embedded in the file
KFileMetaData::Property::ReplayGainAlbumPeak74Contains ReplayGain information for audio files
KFileMetaData::Property::ReplayGainAlbumGain75Contains ReplayGain information for audio files. The album gain is given in "dB"
KFileMetaData::Property::ReplayGainTrackPeak76Contains ReplayGain information for audio files
KFileMetaData::Property::ReplayGainTrackGain77Contains ReplayGain information for audio files. The track gain is given in "dB"
KFileMetaData::Property::Description78Represents the description stored in the file. This maps to the 'dc:description' tag from DublinCore