From 97bdea970b2fb017eef7d3b03d7a316eb216266b Mon Sep 17 00:00:00 2001 From: mickeyl Date: Fri, 13 Feb 2004 13:38:06 +0000 Subject: opie-camera no longer needs libopie1 --- (limited to 'noncore/multimedia/camera/gui/mainwindow.cpp') diff --git a/noncore/multimedia/camera/gui/mainwindow.cpp b/noncore/multimedia/camera/gui/mainwindow.cpp index 5da3757..2f42049 100644 --- a/noncore/multimedia/camera/gui/mainwindow.cpp +++ b/noncore/multimedia/camera/gui/mainwindow.cpp @@ -19,6 +19,18 @@ #include "imageio.h" #include "avi.h" +/* OPIE */ +#include +#include +#include +#include +#include +#include +#include +#include +using namespace Opie; + +/* QT */ #include #include #include @@ -36,16 +48,8 @@ #include #include #include -#include -#include -#include -#include -#include -using namespace Opie; -#include -#include -#include +/* STD */ #include #include #include @@ -438,7 +442,7 @@ void CameraMainWindow::shutterClicked() qApp->processEvents(); odebug << "Shutter has been pressed" << oendl; - ODevice::inst()->touchSound(); + ODevice::inst()->playTouchSound(); performCapture( captureFormat ); } @@ -492,7 +496,7 @@ void CameraMainWindow::performCapture( const QString& format ) void CameraMainWindow::startVideoCapture() { - ODevice::inst()->touchSound(); + ODevice::inst()->playTouchSound(); ODevice::inst()->setLedState( Led_Mail, Led_BlinkSlow ); _capturefd = ::open( CAPTUREFILE, O_WRONLY | O_CREAT | O_TRUNC ); @@ -534,7 +538,7 @@ void CameraMainWindow::timerEvent( QTimerEvent* ) void CameraMainWindow::stopVideoCapture() { killTimers(); - ODevice::inst()->touchSound(); + ODevice::inst()->playTouchSound(); ODevice::inst()->setLedState( Led_Mail, Led_Off ); _capturing = false; updateCaption(); -- cgit v0.9.0.2