author | leseb <leseb> | 2002-06-13 17:11:03 (UTC) |
---|---|---|
committer | leseb <leseb> | 2002-06-13 17:11:03 (UTC) |
commit | 615176c17202f1a8aa7aa504b8dd747b089385a9 (patch) (unidiff) | |
tree | b5906e134037cd72871e0cecac4a3c9ed4c9a9e2 /noncore/graphics/drawpad/page.h | |
parent | 54de91b66a2f0f985ff89503e919f85713d1f22c (diff) | |
download | opie-615176c17202f1a8aa7aa504b8dd747b089385a9.zip opie-615176c17202f1a8aa7aa504b8dd747b089385a9.tar.gz opie-615176c17202f1a8aa7aa504b8dd747b089385a9.tar.bz2 |
More progress in page attributes
Diffstat (limited to 'noncore/graphics/drawpad/page.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/graphics/drawpad/page.h | 12 |
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 | |||
@@ -1,29 +1,41 @@ | |||
1 | /*************************************************************************** | 1 | /*************************************************************************** |
2 | * * | 2 | * * |
3 | * DrawPad - a drawing program for Opie Environment * | 3 | * DrawPad - a drawing program for Opie Environment * |
4 | * * | 4 | * * |
5 | * (C) 2002 by S. Prud'homme <prudhomme@laposte.net> * | 5 | * (C) 2002 by S. Prud'homme <prudhomme@laposte.net> * |
6 | * * | 6 | * * |
7 | * This program is free software; you can redistribute it and/or modify * | 7 | * This program is free software; you can redistribute it and/or modify * |
8 | * it under the terms of the GNU General Public License as published by * | 8 | * it under the terms of the GNU General Public License as published by * |
9 | * the Free Software Foundation; either version 2 of the License, or * | 9 | * the Free Software Foundation; either version 2 of the License, or * |
10 | * (at your option) any later version. * | 10 | * (at your option) any later version. * |
11 | * * | 11 | * * |
12 | ***************************************************************************/ | 12 | ***************************************************************************/ |
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 | |||
19 | class Page : public QPixmap | 21 | class Page : public QPixmap |
20 | { | 22 | { |
21 | public: | 23 | public: |
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 | |||
36 | private: | ||
37 | QString m_title; | ||
38 | QDateTime m_lastModified; | ||
27 | }; | 39 | }; |
28 | 40 | ||
29 | #endif // PAGE_H | 41 | #endif // PAGE_H |