1 /****************************************************************************
\r
3 ** Trolltech hereby grants a license to use the Qt/Eclipse Integration
\r
4 ** plug-in (the software contained herein), in binary form, solely for the
\r
5 ** purpose of creating code to be used with Trolltech's Qt software.
\r
7 ** Qt Designer is licensed under the terms of the GNU General Public
\r
8 ** License versions 2.0 and 3.0 ("GPL License"). Trolltech offers users the
\r
9 ** right to use certain no GPL licensed software under the terms of its GPL
\r
10 ** Exception version 1.2 (http://trolltech.com/products/qt/gplexception).
\r
12 ** THIS SOFTWARE IS PROVIDED BY TROLLTECH AND ITS CONTRIBUTORS (IF ANY) "AS
\r
13 ** IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
\r
14 ** TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
\r
15 ** PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
\r
16 ** OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
\r
17 ** EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
\r
18 ** PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
\r
19 ** PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
\r
20 ** LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
\r
21 ** NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
\r
22 ** SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
\r
24 ** Since we now have the GPL exception I think that the "special exception
\r
25 ** is no longer needed. The license text proposed above (other than the
\r
26 ** special exception portion of it) is the BSD license and we have added
\r
27 ** the BSD license as a permissible license under the exception.
\r
29 ****************************************************************************/
\r
31 #ifndef QQRDECODER_H
\r
32 #define QQRDECODER_H
\r
34 #include <QtGui/QMainWindow>
\r
36 #include "ui_QQrDecoder.h"
\r
38 #include "CameraImageWrapper.h"
\r
40 class QQrDecoder : public QMainWindow
\r
45 QQrDecoder(QWidget *parent = 0);
\r
49 void InitializeSymbianCamera();
\r
52 void findAndDecode();
\r
53 void decodeImage(QImage originalImage);
\r
54 void reloadFormatedPicture(int x);
\r
58 CameraImageWrapper image;
\r
62 #endif // QQRDECODER_H
\r