summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/camera/gui/mainwindow.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/multimedia/camera/gui/mainwindow.h b/noncore/multimedia/camera/gui/mainwindow.h
index d93cca1..b82c2ca 100644
--- a/noncore/multimedia/camera/gui/mainwindow.h
+++ b/noncore/multimedia/camera/gui/mainwindow.h
@@ -1,69 +1,70 @@
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 <qimage.h> 20#include <qimage.h>
21#include <qpixmap.h> 21#include <qpixmap.h>
22#include <qdatetime.h>
22 23
23class QAction; 24class QAction;
24class QActionGroup; 25class QActionGroup;
25class QIconSet; 26class QIconSet;
26class QTimerEvent; 27class QTimerEvent;
27class QToolButton; 28class QToolButton;
28class QLabel; 29class QLabel;
29class MainWindowBase; 30class MainWindowBase;
30class QCopChannel; 31class QCopChannel;
31class PreviewWidget; 32class PreviewWidget;
32 33
33class CameraMainWindow: public QMainWindow 34class CameraMainWindow: public QMainWindow
34{ 35{
35 Q_OBJECT 36 Q_OBJECT
36 37
37 public: 38 public:
38 CameraMainWindow( QWidget * parent = 0, const char * name = "mainwindow", WFlags f = 0 ); 39 CameraMainWindow( QWidget * parent = 0, const char * name = "mainwindow", WFlags f = 0 );
39 virtual ~CameraMainWindow(); 40 virtual ~CameraMainWindow();
40 41
41 public slots: 42 public slots:
42 void changeZoom( int ); 43 void changeZoom( int );
43 void systemMessage( const QCString&, const QByteArray& ); 44 void systemMessage( const QCString&, const QByteArray& );
44 void showContextMenu(); 45 void showContextMenu();
45 void resoMenuItemClicked( QAction* ); 46 void resoMenuItemClicked( QAction* );
46 void qualityMenuItemClicked( QAction* ); 47 void qualityMenuItemClicked( QAction* );
47 void zoomMenuItemClicked( QAction* ); 48 void zoomMenuItemClicked( QAction* );
48 void flipMenuItemClicked( QAction* ); 49 void flipMenuItemClicked( QAction* );
49 void outputToMenuItemClicked( QAction* ); 50 void outputToMenuItemClicked( QAction* );
50 void outputMenuItemClicked( QAction* ); 51 void outputMenuItemClicked( QAction* );
51 void prefixItemChoosen(); 52 void prefixItemChoosen();
52 void appendSettingsChoosen(); 53 void appendSettingsChoosen();
53 void shutterClicked(); 54 void shutterClicked();
54 55
55 void updateCaption(); 56 void updateCaption();
56 57
57 protected: 58 protected:
58 void init(); 59 void init();
59 void startVideoCapture(); 60 void startVideoCapture();
60 void stopVideoCapture(); 61 void stopVideoCapture();
61 void postProcessVideo( const QString&, const QString& ); 62 void postProcessVideo( const QString&, const QString& );
62 void performCapture( const QString& ); 63 void performCapture( const QString& );
63 64
64 virtual void timerEvent( QTimerEvent* ); 65 virtual void timerEvent( QTimerEvent* );
65 66
66 protected slots: 67 protected slots:
67 void doSomething(); // solely for debugging purposes 68 void doSomething(); // solely for debugging purposes
68 69
69 private: 70 private: