summaryrefslogtreecommitdiff
path: root/noncore/multimedia/camera/mainwindow.h
Unidiff
Diffstat (limited to 'noncore/multimedia/camera/mainwindow.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/multimedia/camera/mainwindow.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/noncore/multimedia/camera/mainwindow.h b/noncore/multimedia/camera/mainwindow.h
index ad8d1b1..ac83488 100644
--- a/noncore/multimedia/camera/mainwindow.h
+++ b/noncore/multimedia/camera/mainwindow.h
@@ -54,17 +54,22 @@ class CameraMainWindow: public QMainWindow
54 void updateCaption(); 54 void updateCaption();
55 55
56 protected: 56 protected:
57 void init(); 57 void init();
58 void startVideoCapture(); 58 void startVideoCapture();
59 void stopVideoCapture(); 59 void stopVideoCapture();
60 void postProcessVideo(); 60 void postProcessVideo( const QString&, const QString& );
61 void performCapture( const QString& ); 61 void performCapture( const QString& );
62 62
63 virtual void timerEvent( QTimerEvent* ); 63 virtual void timerEvent( QTimerEvent* );
64 64
65 protected slots:
66 #ifndef QT_NO_DEBUG
67 void doSomething(); // solely for debugging purposes
68 #endif
69
65 private: 70 private:
66 PreviewWidget* preview; 71 PreviewWidget* preview;
67 int _rotation; 72 int _rotation;
68 QCopChannel* _sysChannel; 73 QCopChannel* _sysChannel;
69 74
70 QActionGroup* resog; 75 QActionGroup* resog;
@@ -79,14 +84,16 @@ class CameraMainWindow: public QMainWindow
79 int captureX; 84 int captureX;
80 int captureY; 85 int captureY;
81 QString captureFormat; 86 QString captureFormat;
82 87
83 bool _capturing; 88 bool _capturing;
84 int _pics; 89 int _pics;
90 int _videos;
85 91
86 QTime _time; 92 QTime _time;
87 int _videopics; 93 int _videopics;
88 int _capturefd; 94 int _capturefd;
95 int _framerate;
89 unsigned char* _capturebuf; 96 unsigned char* _capturebuf;
90}; 97};
91 98
92#endif 99#endif