author | zecke <zecke> | 2004-04-08 00:42:01 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-04-08 00:42:01 (UTC) |
commit | 5afca2540a2d6bf733c89ea97748496a679bc576 (patch) (unidiff) | |
tree | 3e4e419ccc0e1b1cb71cc2cf7e75d36f9301de81 /noncore/graphics/drawpad/drawpadcanvas.h | |
parent | 8c54ad421c7bee65b2a1442ce85c09f2eff3efc6 (diff) | |
download | opie-5afca2540a2d6bf733c89ea97748496a679bc576.zip opie-5afca2540a2d6bf733c89ea97748496a679bc576.tar.gz opie-5afca2540a2d6bf733c89ea97748496a679bc576.tar.bz2 |
Import a QPixmap via QCOP
Diffstat (limited to 'noncore/graphics/drawpad/drawpadcanvas.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/graphics/drawpad/drawpadcanvas.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/noncore/graphics/drawpad/drawpadcanvas.h b/noncore/graphics/drawpad/drawpadcanvas.h index 80a2a7e..2b3d4a5 100644 --- a/noncore/graphics/drawpad/drawpadcanvas.h +++ b/noncore/graphics/drawpad/drawpadcanvas.h | |||
@@ -20,25 +20,26 @@ | |||
20 | #include <qpointarray.h> | 20 | #include <qpointarray.h> |
21 | 21 | ||
22 | class DrawPad; | 22 | class DrawPad; |
23 | class Page; | 23 | class Page; |
24 | 24 | ||
25 | class DrawPadCanvas : public QScrollView | 25 | class DrawPadCanvas : public QScrollView |
26 | { | 26 | { |
27 | Q_OBJECT | 27 | Q_OBJECT |
28 | 28 | ||
29 | public: | 29 | public: |
30 | DrawPadCanvas(DrawPad* drawPad, QWidget* parent = 0, const char* name = 0); | 30 | DrawPadCanvas(DrawPad* drawPad, QWidget* parent = 0, const char* name = 0); |
31 | ~DrawPadCanvas(); | 31 | ~DrawPadCanvas(); |
32 | 32 | ||
33 | void load(QIODevice* ioDevice); | 33 | void load(QIODevice* ioDevice); |
34 | void initialPage(); | 34 | void initialPage(); |
35 | void save(QIODevice* ioDevice); | 35 | void save(QIODevice* ioDevice); |
36 | 36 | ||
37 | void importPage(const QString& fileName); | 37 | void importPage(const QString& fileName); |
38 | void exportPage(uint fromPage, uint toPage, const QString& name, const QString& format); | 38 | void exportPage(uint fromPage, uint toPage, const QString& name, const QString& format); |
39 | void importPixmap( const QPixmap& ); | ||
39 | 40 | ||
40 | bool goPreviousPageEnabled(); | 41 | bool goPreviousPageEnabled(); |
41 | bool goNextPageEnabled(); | 42 | bool goNextPageEnabled(); |
42 | 43 | ||
43 | Page* currentPage(); | 44 | Page* currentPage(); |
44 | QList<Page> pages(); | 45 | QList<Page> pages(); |
@@ -53,13 +54,13 @@ public slots: | |||
53 | void deleteAll(); | 54 | void deleteAll(); |
54 | void newPage(QString title, uint width, uint height, const QColor& color); | 55 | void newPage(QString title, uint width, uint height, const QColor& color); |
55 | void clearPage(); | 56 | void clearPage(); |
56 | void deletePage(); | 57 | void deletePage(); |
57 | void movePageUp(); | 58 | void movePageUp(); |
58 | void movePageDown(); | 59 | void movePageDown(); |
59 | 60 | ||
60 | void undo(); | 61 | void undo(); |
61 | void redo(); | 62 | void redo(); |
62 | 63 | ||
63 | void goFirstPage(); | 64 | void goFirstPage(); |
64 | void goPreviousPage(); | 65 | void goPreviousPage(); |
65 | void goNextPage(); | 66 | void goNextPage(); |