1 /***************************************************************************
2 * Copyright (C) 2007 by Pino Toscano <pino@kde.org> *
4 * This program is free software; you can redistribute it and/or modify *
5 * it under the terms of the GNU General Public License as published by *
6 * the Free Software Foundation; either version 2 of the License, or *
7 * (at your option) any later version. *
8 ***************************************************************************/
10 #ifndef OKULAR_ANNOTATIONS_P_H
11 #define OKULAR_ANNOTATIONS_P_H
14 #include "annotations.h"
17 #include <QtCore/QDateTime>
18 #include <QtCore/QString>
19 #include <QtCore/QVariant>
20 #include <QtGui/QColor>
28 class AnnotationPrivate
33 virtual ~AnnotationPrivate();
36 * Transforms the annotation coordinates with the transformation
37 * defined by @p matrix.
39 void annotationTransform( const QMatrix
&matrix
);
41 virtual void transform( const QMatrix
&matrix
);
42 virtual void baseTransform( const QMatrix
&matrix
);
43 virtual void resetTransformation();
44 virtual void translate( const NormalizedPoint
&coord
);
51 QDateTime m_modifyDate
;
52 QDateTime m_creationDate
;
55 NormalizedRect m_boundary
;
56 NormalizedRect m_transformedBoundary
;
58 Okular::Annotation::Style m_style
;
59 Okular::Annotation::Window m_window
;
60 QLinkedList
< Okular::Annotation::Revision
> m_revisions
;
62 Annotation::DisposeDataFunction m_disposeFunc
;