]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/qte/qte-2.3.10/openmn/qkeyboard_qws.h
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / qte / qte-2.3.10 / openmn / qkeyboard_qws.h
1 /****************************************************************************
2 ** $Id: qt/src/kernel/qkeyboard_qws.h   2.3.10   edited 2005-01-24 $
3 **
4 ** Definition of Qt/Embedded keyboards
5 **
6 ** Created : 991025
7 **
8 ** Copyright (C) 1992-2000 Trolltech AS.  All rights reserved.
9 **
10 ** This file is part of the kernel module of the Qt GUI Toolkit.
11 **
12 ** This file may be distributed and/or modified under the terms of the
13 ** GNU General Public License version 2 as published by the Free Software
14 ** Foundation and appearing in the file LICENSE.GPL included in the
15 ** packaging of this file.
16 **
17 ** Licensees holding valid Qt Enterprise Edition or Qt Professional Edition
18 ** licenses for Qt/Embedded may use this file in accordance with the
19 ** Qt Embedded Commercial License Agreement provided with the Software.
20 **
21 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
22 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
23 **
24 ** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
25 **   information about Qt Commercial License Agreements.
26 ** See http://www.trolltech.com/gpl/ for GPL licensing information.
27 **
28 ** Contact info@trolltech.com if any conditions of this licensing are
29 ** not clear to you.
30 **
31 **********************************************************************/
32
33 #ifndef QKEYBOARD_QWS_H
34 #define QKEYBOARD_QWS_H
35
36 #ifndef QT_H
37 #include "qobject.h"
38 #endif // QT_H
39
40 #ifndef QT_NO_QWS_KEYBOARD
41 class Q_EXPORT QWSKeyboardHandler : public QObject {
42     Q_OBJECT
43 public:
44     QWSKeyboardHandler();
45     virtual ~QWSKeyboardHandler();
46
47 protected:
48     virtual void processKeyEvent(int unicode, int keycode, int modifiers,
49                             bool isPress, bool autoRepeat);
50 };
51 #endif
52
53 Q_EXPORT bool qwsSetKeyboardAutoRepeat( int delay, int period );
54 Q_EXPORT bool qwsGetKeyboardAutoRepeat( int *delay, int *period );
55
56 #endif