QCursorAdapter.h

00001 /*
00002  * @(#)QCursorAdapter.h  0.2.0 / 2007-10-25
00003  *
00004  * Copyright (c) 2007, ETF and contributors. All rights reserved.
00005  *
00006  * This software is licensed under the LGPL, version 2.1, license.
00007  * A copy of the license is included in the file LICENSE-LGPL.txt.
00008  */
00009 #ifndef QCURSORADAPTER_H
00010 #define QCURSORADAPTER_H
00011 
00012 #include "JavaQxCore.h"
00013 
00014 #include <QCursor>
00015 
00016 /*^**************************************************************************^*/
00017 /*- QCursorAdapter Class.                                                    -*/
00018 /*^**************************************************************************^*/
00019 
00026 class JAVAQX_EXPORT QCursorAdapter : public QCursor
00027 {
00028 public:
00029   QCursorAdapter(int type);
00030 public:
00031   static int cursorType(const QCursor &cursor);
00032 private:
00033   static int rangeCheck(int type);
00034 private:
00035   static const Qt::CursorShape CURSOR_SHAPE[];
00036 };
00037 
00038 #endif // QCURSORADAPTER_H
00039 
00040 /*^*****************************************************************************
00041   File History:
00042 
00043  - 2007-10-25 09:20:22 Slobodan
00044    Initial version
00045 
00046 *****************************************************************************^*/

Copyright © 2007 ETF and contributors. All Rights Reserved.