categoryitemmodel.cpp File Reference

#include "categoryitemmodel.h"
#include <QDataStream>
#include <QList>
#include <QMimeData>
#include <QPixmap>
#include <QSet>
#include <QSqlTableModel>
#include "MvcDigestDb/digestdbmodel.h"
#include "MvcDigestDb/digestdbcontroller.h"

Classes

struct  CategoryItemModel::CategoryItem

Defines

#define GESTURE_MIME_FORMAT_STR   "text/x-gesture-id-set"
#define COLLECTION_TABLE_STR   "Collection"
#define COLLECTION_TABLE_ID_STR   "id"
#define COLLECTION_TABLE_ID_INDEX   0
#define COLLECTION_TABLE_LABEL_INDEX   1
#define GESTURE_TABLE_STR   "Gesture"
#define GESTURE_TABLE_ID_STR   "id"
#define GESTURE_TABLE_ID_INDEX   0
#define GESTURE_TABLE_LABEL_INDEX   1
#define GESTURE_TABLE_DATE_INDEX   2
#define GESTURE_TABLE_NOTES_INDEX   3
#define GESTURE_TABLE_NUMSTROKES_INDEX   4
#define GESTURE_TABLE_STROKES_INDEX   5
#define CLASSMAP_TABLE_STR   "ClassMap"
#define CLASSMAP_TABLE_GESTUREID_STR   "gestureId"
#define CLASSMAP_TABLE_CLASSID_STR   "classId"
#define COLLECTIONMAP_TABLE_STR   "CollectionMap"
#define COLLECTIONMAP_TABLE_GESTUREID_STR   "gestureId"
#define COLLECTIONMAP_TABLE_COLLECTIONID_STR   "collectionId"

Functions

bool categoryItemPtrLessThan (const CategoryItemModel::CategoryItem *a, const CategoryItemModel::CategoryItem *b)

Variables

static QString s_libraryRootStr = QObject::tr("Library")
static QString s_classesRootStr = QObject::tr("Classes")
static QString s_collectionsRootStr = QObject::tr("Collections")
static QVariant s_libraryPix
static QVariant s_collectionPix
static QVariant s_classPix

Define Documentation

#define CLASSMAP_TABLE_CLASSID_STR   "classId"

#define CLASSMAP_TABLE_GESTUREID_STR   "gestureId"

#define CLASSMAP_TABLE_STR   "ClassMap"

#define COLLECTION_TABLE_ID_INDEX   0

#define COLLECTION_TABLE_ID_STR   "id"

#define COLLECTION_TABLE_LABEL_INDEX   1

#define COLLECTION_TABLE_STR   "Collection"

#define COLLECTIONMAP_TABLE_COLLECTIONID_STR   "collectionId"

#define COLLECTIONMAP_TABLE_GESTUREID_STR   "gestureId"

#define COLLECTIONMAP_TABLE_STR   "CollectionMap"

#define GESTURE_MIME_FORMAT_STR   "text/x-gesture-id-set"

#define GESTURE_TABLE_DATE_INDEX   2

#define GESTURE_TABLE_ID_INDEX   0

#define GESTURE_TABLE_ID_STR   "id"

#define GESTURE_TABLE_LABEL_INDEX   1

#define GESTURE_TABLE_NOTES_INDEX   3

#define GESTURE_TABLE_NUMSTROKES_INDEX   4

#define GESTURE_TABLE_STR   "Gesture"

#define GESTURE_TABLE_STROKES_INDEX   5


Function Documentation

bool categoryItemPtrLessThan ( const CategoryItemModel::CategoryItem a,
const CategoryItemModel::CategoryItem b 
)


Variable Documentation

QString s_classesRootStr = QObject::tr("Classes") [static]

QVariant s_classPix [static]

QVariant s_collectionPix [static]

QString s_collectionsRootStr = QObject::tr("Collections") [static]

QVariant s_libraryPix [static]

QString s_libraryRootStr = QObject::tr("Library") [static]


Generated on Mon Jul 30 09:46:50 2007 for Digest by  doxygen 1.5.2