summaryrefslogtreecommitdiff
path: root/noncore/multimedia/camera/mainwindow.h
Unidiff
Diffstat (limited to 'noncore/multimedia/camera/mainwindow.h') (more/less context) (ignore 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
@@ -36,57 +36,64 @@ class CameraMainWindow: public QMainWindow
36{ 36{
37 Q_OBJECT 37 Q_OBJECT
38 38
39 public: 39 public:
40 CameraMainWindow( QWidget * parent = 0, const char * name = "mainwindow", WFlags f = 0 ); 40 CameraMainWindow( QWidget * parent = 0, const char * name = "mainwindow", WFlags f = 0 );
41 virtual ~CameraMainWindow(); 41 virtual ~CameraMainWindow();
42 42
43 public slots: 43 public slots:
44 void changeZoom( int ); 44 void changeZoom( int );
45 void systemMessage( const QCString&, const QByteArray& ); 45 void systemMessage( const QCString&, const QByteArray& );
46 void showContextMenu(); 46 void showContextMenu();
47 void resoMenuItemClicked( QAction* ); 47 void resoMenuItemClicked( QAction* );
48 void qualityMenuItemClicked( QAction* ); 48 void qualityMenuItemClicked( QAction* );
49 void zoomMenuItemClicked( QAction* ); 49 void zoomMenuItemClicked( QAction* );
50 void flipMenuItemClicked( QAction* ); 50 void flipMenuItemClicked( QAction* );
51 void outputMenuItemClicked( QAction* ); 51 void outputMenuItemClicked( QAction* );
52 void shutterClicked(); 52 void shutterClicked();
53 53
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;
71 QActionGroup* qualityg; 76 QActionGroup* qualityg;
72 QActionGroup* zoomg; 77 QActionGroup* zoomg;
73 QActionGroup* flipg; 78 QActionGroup* flipg;
74 QActionGroup* outputg; 79 QActionGroup* outputg;
75 80
76 QString flip; 81 QString flip;
77 int quality; 82 int quality;
78 int zoom; 83 int zoom;
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