author | zecke <zecke> | 2004-03-13 23:10:26 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-03-13 23:10:26 (UTC) |
commit | 6b5ec807e25094979f5631a3a46baf7415326d8a (patch) (side-by-side diff) | |
tree | a5af190712e332d3b6869795cb944b98102fdb1f | |
parent | 874af2f5ce2d48a460d5d9fa1d6535b68e5966da (diff) | |
download | opie-6b5ec807e25094979f5631a3a46baf7415326d8a.zip opie-6b5ec807e25094979f5631a3a46baf7415326d8a.tar.gz opie-6b5ec807e25094979f5631a3a46baf7415326d8a.tar.bz2 |
ODP changes
-rw-r--r-- | noncore/multimedia/camera/cmd/capture.cpp | 2 | ||||
-rw-r--r-- | noncore/multimedia/camera/gui/main.cpp | 2 | ||||
-rw-r--r-- | noncore/multimedia/camera/gui/mainwindow.cpp | 5 | ||||
-rw-r--r-- | noncore/multimedia/camera/lib/imageio.cpp | 1 | ||||
-rw-r--r-- | noncore/multimedia/camera/lib/zcameraio.cpp | 2 | ||||
-rw-r--r-- | noncore/multimedia/opierec/helpwindow.cpp | 2 | ||||
-rw-r--r-- | noncore/multimedia/opierec/main.cpp | 2 |
7 files changed, 14 insertions, 2 deletions
diff --git a/noncore/multimedia/camera/cmd/capture.cpp b/noncore/multimedia/camera/cmd/capture.cpp index 64c223c..688622b 100644 --- a/noncore/multimedia/camera/cmd/capture.cpp +++ b/noncore/multimedia/camera/cmd/capture.cpp @@ -21,12 +21,14 @@ #include <opie2/oapplication.h> #include <opie2/odebug.h> #include <qimage.h> +using namespace Opie::Core; +using namespace Opie::Core; Capturer::Capturer() :QFrame( 0 ), height( 320 ), width( 240 ), zoom( 1 ), quality( 90 ), flip( "A" ), format( "JPEG" ), name( "Untitled" ) { } diff --git a/noncore/multimedia/camera/gui/main.cpp b/noncore/multimedia/camera/gui/main.cpp index f25475c..7d6b3bb 100644 --- a/noncore/multimedia/camera/gui/main.cpp +++ b/noncore/multimedia/camera/gui/main.cpp @@ -10,15 +10,17 @@ ** ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. ** **********************************************************************/ + #include "mainwindow.h" #include <opie2/oapplication.h> +using namespace Opie::Core; int main( int argc, char **argv ) { OApplication a( argc, argv, "Opie-Camera" ); CameraMainWindow* w = new CameraMainWindow(); a.showMainWidget( w ); a.exec(); diff --git a/noncore/multimedia/camera/gui/mainwindow.cpp b/noncore/multimedia/camera/gui/mainwindow.cpp index e4e1b6c..7f2a9bd 100644 --- a/noncore/multimedia/camera/gui/mainwindow.cpp +++ b/noncore/multimedia/camera/gui/mainwindow.cpp @@ -25,13 +25,12 @@ #include <opie2/oapplication.h> #include <opie2/oconfig.h> #include <opie2/odebug.h> #include <qpe/global.h> #include <qpe/resource.h> #include <qpe/qcopenvelope_qws.h> -using namespace Opie; /* QT */ #include <qapplication.h> #include <qaction.h> #include <qvbox.h> #include <qcombobox.h> @@ -61,12 +60,16 @@ using namespace Opie; #define CAPTUREFILE "/tmp/capture.dat" #define OUTPUTFILE "/tmp/output.avi" #define OUTPUT_TO_CUSTOM 250 #define OUTPUT_TO_DOCFOLDER 251 + +using namespace Opie::Ui; +using namespace Opie::Core; + CameraMainWindow::CameraMainWindow( QWidget * parent, const char * name, WFlags f ) :QMainWindow( parent, name, f ), _rotation( 270 ), // FIXME: get this from current settings (ODevice?) _capturing( false ), _pics( 1 ), _videos( 1 ) { diff --git a/noncore/multimedia/camera/lib/imageio.cpp b/noncore/multimedia/camera/lib/imageio.cpp index ed0d39f..7d20848 100644 --- a/noncore/multimedia/camera/lib/imageio.cpp +++ b/noncore/multimedia/camera/lib/imageio.cpp @@ -15,12 +15,13 @@ #include "imageio.h" #include <opie2/odebug.h> #include <qimage.h> +using namespace Opie::Core; void bufferToImage( int _width, int _height, unsigned char* bp, QImage* image ) { unsigned char* p; image->create( _width, _height, 16 ); diff --git a/noncore/multimedia/camera/lib/zcameraio.cpp b/noncore/multimedia/camera/lib/zcameraio.cpp index d59cbbb..c4be42f 100644 --- a/noncore/multimedia/camera/lib/zcameraio.cpp +++ b/noncore/multimedia/camera/lib/zcameraio.cpp @@ -27,12 +27,14 @@ #include <qdatetime.h> #include <opie2/odebug.h> #define SHARPZDC "/dev/sharp_zdc" +using namespace Opie::Core; + ZCameraIO* ZCameraIO::_instance = 0; ZCameraIO* ZCameraIO::instance() { if ( !ZCameraIO::_instance ) { diff --git a/noncore/multimedia/opierec/helpwindow.cpp b/noncore/multimedia/opierec/helpwindow.cpp index a3b29fa..6aebaa1 100644 --- a/noncore/multimedia/opierec/helpwindow.cpp +++ b/noncore/multimedia/opierec/helpwindow.cpp @@ -8,13 +8,13 @@ ** *****************************************************************************/ #include "helpwindow.h" #include <qlayout.h> -#include <qpe/qpetoolbar.h> +#include <qtoolbar.h> #include <qpe/resource.h> #include <qaction.h> #include <qmenubar.h> #include <ctype.h> diff --git a/noncore/multimedia/opierec/main.cpp b/noncore/multimedia/opierec/main.cpp index bb51446..a435d8e 100644 --- a/noncore/multimedia/opierec/main.cpp +++ b/noncore/multimedia/opierec/main.cpp @@ -1,7 +1,8 @@ /*************************************************************************** + main.cpp - main routine ***************************************************************************/ //// main.cpp //// copyright 2001, 2002, by L. J. Potter <ljp@llornkcor.com> /*************************************************************************** * This program is free software; you can redistribute it and/or modify * @@ -21,11 +22,12 @@ int main(int argc, char* argv[]) { #else #include <opie2/oapplicationfactory.h> +using namespace Opie::Core; OPIE_EXPORT_APP( OApplicationFactory<QtRec> ) #endif |