1 /****************************************************************************
2 ** $Id: qt/src/kernel/qkeyboard_qws.h 2.3.10 edited 2005-01-24 $
4 ** Definition of Qt/Embedded keyboards
8 ** Copyright (C) 1992-2000 Trolltech AS. All rights reserved.
10 ** This file is part of the kernel module of the Qt GUI Toolkit.
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.
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.
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.
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.
28 ** Contact info@trolltech.com if any conditions of this licensing are
31 **********************************************************************/
33 #ifndef QKEYBOARD_QWS_H
34 #define QKEYBOARD_QWS_H
40 #ifndef QT_NO_QWS_KEYBOARD
41 class Q_EXPORT QWSKeyboardHandler : public QObject {
45 virtual ~QWSKeyboardHandler();
48 virtual void processKeyEvent(int unicode, int keycode, int modifiers,
49 bool isPress, bool autoRepeat);
53 Q_EXPORT bool qwsSetKeyboardAutoRepeat( int delay, int period );
54 Q_EXPORT bool qwsGetKeyboardAutoRepeat( int *delay, int *period );