summaryrefslogtreecommitdiff
path: root/noncore/graphics/drawpad/page.h
Unidiff
Diffstat (limited to 'noncore/graphics/drawpad/page.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/graphics/drawpad/page.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/noncore/graphics/drawpad/page.h b/noncore/graphics/drawpad/page.h
index 888f552..020ab1f 100644
--- a/noncore/graphics/drawpad/page.h
+++ b/noncore/graphics/drawpad/page.h
@@ -13,17 +13,29 @@
13 13
14#ifndef PAGE_H 14#ifndef PAGE_H
15#define PAGE_H 15#define PAGE_H
16 16
17#include <qpixmap.h> 17#include <qpixmap.h>
18 18
19#include <qdatetime.h>
20
19class Page : public QPixmap 21class Page : public QPixmap
20{ 22{
21public: 23public:
22 Page(); 24 Page();
23 Page(int w, int h); 25 Page(int w, int h);
24 Page(const QSize& size); 26 Page(const QSize& size);
25 27
26 ~Page(); 28 ~Page();
29
30 QString title() const;
31 QDateTime lastModified() const;
32
33 void setTitle(QString title);
34 void setLastModified(QDateTime lastModified);
35
36private:
37 QString m_title;
38 QDateTime m_lastModified;
27}; 39};
28 40
29#endif // PAGE_H 41#endif // PAGE_H