DGestureRecord Class Reference

#include <dgesturerecord.h>

List of all members.

Public Member Functions

 DGestureRecord (int id=-1, const QString &label=QString())
 DGestureRecord (const StrokeList &strokes, int id=-1, const QString &label=QString())

Public Attributes

int id
QString label
QDate date
QString notes
StrokeList strokes
QSet< int > classes
QSet< int > collections


Detailed Description

Note that although this is called a "record", its members are high-level and more friendly than what's stored in the SQL database. It's called a "record" mainly for consistency.

Note: This is a class, not a struct, so that it can be used as a template parameter.


Constructor & Destructor Documentation

DGestureRecord::DGestureRecord ( int  id = -1,
const QString &  label = QString() 
) [inline]

DGestureRecord::DGestureRecord ( const StrokeList strokes,
int  id = -1,
const QString &  label = QString() 
) [inline]


Member Data Documentation

int DGestureRecord::id

QString DGestureRecord::label

QDate DGestureRecord::date

QString DGestureRecord::notes

StrokeList DGestureRecord::strokes

QSet<int> DGestureRecord::classes

An ordered list of strokes.

QSet<int> DGestureRecord::collections

QSet, not QList, as it's naturally unordered and shouldn't contain duplicates.


The documentation for this class was generated from the following file:
Generated on Mon Jul 30 09:46:52 2007 for Digest by  doxygen 1.5.2