Hydra 0.20
hydra::FileItemRecord Class Reference

#include <Records.h>

Inheritance diagram for hydra::FileItemRecord:

List of all members.

Public Types

typedef hydra::Tags tags_t

Public Member Functions

virtual void save (QDataStream &out) const
 saver, throws exceptions on errors
virtual void load (QDataStream &in)
 loader, throws exceptions on errors
quint64 modtimeAsInt64 (void) const
void setModtimeFromInt64 (quint64 i)

Public Attributes

QUuid id
QString title
QString desc
qint32 filetype
tags_t tags
QDateTime modtime

Detailed Description

The main file record, keyed by their UUID. This contains all the information, like tags, for a particular file.

key=UUID db=main.sqlite table=fileitems

Author:
Aleksander Demko

Member Data Documentation

The modificationTime of this record new records are created with invalid QDateTime only after the user deliberatly updates the record does the record get a real modtime.

(move this to the DB layer eventually? - probably not, as this is very specific)

Author:
Aleksander Demko

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables