summaryrefslogtreecommitdiff
authormickeyl <mickeyl>2003-04-21 17:51:59 (UTC)
committer mickeyl <mickeyl>2003-04-21 17:51:59 (UTC)
commite3d9c4f3e6a45128128cc22218c4fc30bbb41f3d (patch) (unidiff)
tree2349f3305021a940c00cdb7a9329dff340dc9ce7
parentb3ec819dfed40b05b2bea1b1392de774bc1f572d (diff)
downloadopie-e3d9c4f3e6a45128128cc22218c4fc30bbb41f3d.zip
opie-e3d9c4f3e6a45128128cc22218c4fc30bbb41f3d.tar.gz
opie-e3d9c4f3e6a45128128cc22218c4fc30bbb41f3d.tar.bz2
compile fix for non-debug build
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/camera/mainwindow.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/multimedia/camera/mainwindow.h b/noncore/multimedia/camera/mainwindow.h
index ac83488..1d844da 100644
--- a/noncore/multimedia/camera/mainwindow.h
+++ b/noncore/multimedia/camera/mainwindow.h
@@ -1,99 +1,99 @@
1/********************************************************************** 1/**********************************************************************
2** Copyright (C) 2003 Michael 'Mickey' Lauer. All rights reserved. 2** Copyright (C) 2003 Michael 'Mickey' Lauer. All rights reserved.
3** 3**
4** This file is part of Opie Environment. 4** This file is part of Opie Environment.
5** 5**
6** This file may be distributed and/or modified under the terms of the 6** This file may be distributed and/or modified under the terms of the
7** GNU General Public License version 2 as published by the Free Software 7** GNU General Public License version 2 as published by the Free Software
8** Foundation and appearing in the file LICENSE.GPL included in the 8** Foundation and appearing in the file LICENSE.GPL included in the
9** packaging of this file. 9** packaging of this file.
10** 10**
11** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 11** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
12** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 12** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
13** 13**
14**********************************************************************/ 14**********************************************************************/
15 15
16#ifndef MAINWINDOW_H 16#ifndef MAINWINDOW_H
17#define MAINWINDOW_H 17#define MAINWINDOW_H
18 18
19#include <qmainwindow.h> 19#include <qmainwindow.h>
20#include <qdatetime.h> 20#include <qdatetime.h>
21#include <qimage.h> 21#include <qimage.h>
22#include <qpixmap.h> 22#include <qpixmap.h>
23#include <qdatetime.h> 23#include <qdatetime.h>
24 24
25class QAction; 25class QAction;
26class QActionGroup; 26class QActionGroup;
27class QIconSet; 27class QIconSet;
28class QTimerEvent; 28class QTimerEvent;
29class QToolButton; 29class QToolButton;
30class QLabel; 30class QLabel;
31class MainWindowBase; 31class MainWindowBase;
32class QCopChannel; 32class QCopChannel;
33class PreviewWidget; 33class PreviewWidget;
34 34
35class CameraMainWindow: public QMainWindow 35class 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( const QString&, const QString& ); 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: 65 protected slots:
66 #ifndef QT_NO_DEBUG 66 #ifndef QT_NO_DEBUG
67 void doSomething(); // solely for debugging purposes 67 //void doSomething(); // solely for debugging purposes
68 #endif 68 #endif
69 69
70 private: 70 private:
71 PreviewWidget* preview; 71 PreviewWidget* preview;
72 int _rotation; 72 int _rotation;
73 QCopChannel* _sysChannel; 73 QCopChannel* _sysChannel;
74 74
75 QActionGroup* resog; 75 QActionGroup* resog;
76 QActionGroup* qualityg; 76 QActionGroup* qualityg;
77 QActionGroup* zoomg; 77 QActionGroup* zoomg;
78 QActionGroup* flipg; 78 QActionGroup* flipg;
79 QActionGroup* outputg; 79 QActionGroup* outputg;
80 80
81 QString flip; 81 QString flip;
82 int quality; 82 int quality;
83 int zoom; 83 int zoom;
84 int captureX; 84 int captureX;
85 int captureY; 85 int captureY;
86 QString captureFormat; 86 QString captureFormat;
87 87
88 bool _capturing; 88 bool _capturing;
89 int _pics; 89 int _pics;
90 int _videos; 90 int _videos;
91 91
92 QTime _time; 92 QTime _time;
93 int _videopics; 93 int _videopics;
94 int _capturefd; 94 int _capturefd;
95 int _framerate; 95 int _framerate;
96 unsigned char* _capturebuf; 96 unsigned char* _capturebuf;
97}; 97};
98 98
99#endif 99#endif