Diffstat (limited to 'noncore/graphics/drawpad/page.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/graphics/drawpad/page.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/noncore/graphics/drawpad/page.cpp b/noncore/graphics/drawpad/page.cpp index 35ec0e0..7034a20 100644 --- a/noncore/graphics/drawpad/page.cpp +++ b/noncore/graphics/drawpad/page.cpp | |||
@@ -18,2 +18,3 @@ Page::Page() | |||
18 | { | 18 | { |
19 | m_lastModified = QDateTime::currentDateTime(); | ||
19 | } | 20 | } |
@@ -23,2 +24,3 @@ Page::Page(int w, int h) | |||
23 | { | 24 | { |
25 | m_lastModified = QDateTime::currentDateTime(); | ||
24 | } | 26 | } |
@@ -28,2 +30,3 @@ Page::Page(const QSize& size) | |||
28 | { | 30 | { |
31 | m_lastModified = QDateTime::currentDateTime(); | ||
29 | } | 32 | } |
@@ -33 +36,22 @@ Page::~Page() | |||
33 | } | 36 | } |
37 | |||
38 | QString Page::title() const | ||
39 | { | ||
40 | return m_title; | ||
41 | } | ||
42 | |||
43 | QDateTime Page::lastModified() const | ||
44 | { | ||
45 | return m_lastModified; | ||
46 | } | ||
47 | |||
48 | void Page::setTitle(QString title) | ||
49 | { | ||
50 | m_title = title; | ||
51 | } | ||
52 | |||
53 | void Page::setLastModified(QDateTime lastModified) | ||
54 | { | ||
55 | m_lastModified = lastModified; | ||
56 | } | ||
57 | |||