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.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/noncore/multimedia/camera/mainwindow.h b/noncore/multimedia/camera/mainwindow.h
index 1d844da..451ad5f 100644
--- a/noncore/multimedia/camera/mainwindow.h
+++ b/noncore/multimedia/camera/mainwindow.h
@@ -39,61 +39,69 @@ class CameraMainWindow: public QMainWindow
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 outputToMenuItemClicked( QAction* );
51 void outputMenuItemClicked( QAction* ); 52 void outputMenuItemClicked( QAction* );
53 void prefixItemChoosen();
54 void appendSettingsChoosen();
52 void shutterClicked(); 55 void shutterClicked();
53 56
54 void updateCaption(); 57 void updateCaption();
55 58
56 protected: 59 protected:
57 void init(); 60 void init();
58 void startVideoCapture(); 61 void startVideoCapture();
59 void stopVideoCapture(); 62 void stopVideoCapture();
60 void postProcessVideo( const QString&, const QString& ); 63 void postProcessVideo( const QString&, const QString& );
61 void performCapture( const QString& ); 64 void performCapture( const QString& );
62 65
63 virtual void timerEvent( QTimerEvent* ); 66 virtual void timerEvent( QTimerEvent* );
64 67
65 protected slots: 68 protected slots:
66 #ifndef QT_NO_DEBUG 69 void doSomething(); // solely for debugging purposes
67 //void doSomething(); // solely for debugging purposes
68 #endif
69 70
70 private: 71 private:
71 PreviewWidget* preview; 72 PreviewWidget* preview;
72 int _rotation; 73 int _rotation;
73 QCopChannel* _sysChannel; 74 QCopChannel* _sysChannel;
74 75
75 QActionGroup* resog; 76 QActionGroup* resog;
76 QActionGroup* qualityg; 77 QActionGroup* qualityg;
77 QActionGroup* zoomg; 78 QActionGroup* zoomg;
78 QActionGroup* flipg; 79 QActionGroup* flipg;
80 QActionGroup* outputTog;
81 QAction* custom;
82 QAction* docfolder;
79 QActionGroup* outputg; 83 QActionGroup* outputg;
80 84
81 QString flip; 85 QString flip;
82 int quality; 86 int quality;
83 int zoom; 87 int zoom;
84 int captureX; 88 int captureX;
85 int captureY; 89 int captureY;
86 QString captureFormat; 90 QString captureFormat;
87 91
92 QString outputTo;
93 QString prefix;
94 bool appendSettings;
95
88 bool _capturing; 96 bool _capturing;
89 int _pics; 97 int _pics;
90 int _videos; 98 int _videos;
91 99
92 QTime _time; 100 QTime _time;
93 int _videopics; 101 int _videopics;
94 int _capturefd; 102 int _capturefd;
95 int _framerate; 103 int _framerate;
96 unsigned char* _capturebuf; 104 unsigned char* _capturebuf;
97}; 105};
98 106
99#endif 107#endif