author | mickeyl <mickeyl> | 2003-04-13 22:27:57 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-04-13 22:27:57 (UTC) |
commit | f47258125bac368987a90ca49a118721ecbc3a8b (patch) (unidiff) | |
tree | 04d137fce8890a311d0cc1c3ab2853acc64ccb45 /noncore/multimedia/camera/previewwidget.h | |
parent | 053c38bb48ae8e7563293bc029f3c9d029b947f7 (diff) | |
download | opie-f47258125bac368987a90ca49a118721ecbc3a8b.zip opie-f47258125bac368987a90ca49a118721ecbc3a8b.tar.gz opie-f47258125bac368987a90ca49a118721ecbc3a8b.tar.bz2 |
make opiecam work!
Diffstat (limited to 'noncore/multimedia/camera/previewwidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/camera/previewwidget.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/noncore/multimedia/camera/previewwidget.h b/noncore/multimedia/camera/previewwidget.h index 6b64768..dada301 100644 --- a/noncore/multimedia/camera/previewwidget.h +++ b/noncore/multimedia/camera/previewwidget.h | |||
@@ -25,19 +25,23 @@ class QResizeEvent; | |||
25 | 25 | ||
26 | class PreviewWidget: public QLabel | 26 | class PreviewWidget: public QLabel |
27 | { | 27 | { |
28 | Q_OBJECT | 28 | Q_OBJECT |
29 | 29 | ||
30 | public: | 30 | public: |
31 | PreviewWidget( QWidget * parent = 0, const char * name = 0, WFlags f = 0 ); | 31 | PreviewWidget( QWidget * parent = 0, const char * name = 0, WFlags f = 0 ); |
32 | virtual ~PreviewWidget(); | 32 | virtual ~PreviewWidget(); |
33 | 33 | ||
34 | protected: | 34 | protected: |
35 | virtual void timerEvent( QTimerEvent* ); | 35 | virtual void timerEvent( QTimerEvent* ); |
36 | virtual void resizeEvent( QResizeEvent* ); | 36 | virtual void resizeEvent( QResizeEvent* ); |
37 | virtual void mousePressEvent( QMouseEvent* ); | ||
38 | |||
39 | signals: | ||
40 | void contextMenuRequested(); | ||
37 | 41 | ||
38 | private: | 42 | private: |
39 | QPixmap p; | 43 | QPixmap p; |
40 | QImage i; | 44 | QImage i; |
41 | }; | 45 | }; |
42 | 46 | ||
43 | #endif | 47 | #endif |