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