summaryrefslogtreecommitdiff
path: root/inputmethods/multikey/keyboard.h
authormickeyl <mickeyl>2004-05-14 15:47:06 (UTC)
committer mickeyl <mickeyl>2004-05-14 15:47:06 (UTC)
commit3378aa3bfa5fc0e9e664ae5d3800107c790dfc5a (patch) (unidiff)
tree1d7ce18cc0e543d8c07d08ec3b63734fe73f61a4 /inputmethods/multikey/keyboard.h
parenta9c907c218d106727ad3879a125c77ae7900635f (diff)
downloadopie-3378aa3bfa5fc0e9e664ae5d3800107c790dfc5a.zip
opie-3378aa3bfa5fc0e9e664ae5d3800107c790dfc5a.tar.gz
opie-3378aa3bfa5fc0e9e664ae5d3800107c790dfc5a.tar.bz2
CLEANUP: Don't include header files via relative paths
Note: Remember to rm stamp-headers
Diffstat (limited to 'inputmethods/multikey/keyboard.h') (more/less context) (ignore whitespace changes)
-rw-r--r--inputmethods/multikey/keyboard.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/inputmethods/multikey/keyboard.h b/inputmethods/multikey/keyboard.h
index 0b56988..77bf718 100644
--- a/inputmethods/multikey/keyboard.h
+++ b/inputmethods/multikey/keyboard.h
@@ -1,47 +1,47 @@
1/********************************************************************** 1/**********************************************************************
2** Copyright (C) 2000 Trolltech AS. All rights reserved. 2** Copyright (C) 2000 Trolltech AS. All rights reserved.
3** 3**
4** This file is part of Qtopia Environment. 4** This file is part of Qtopia Environment.
5** 5**
6** This file may be distributed and/or modified under the terms of the 6** This file may be distributed and/or modified under the terms of the
7** GNU General Public License version 2 as published by the Free Software 7** GNU General Public License version 2 as published by the Free Software
8** Foundation and appearing in the file LICENSE.GPL included in the 8** Foundation and appearing in the file LICENSE.GPL included in the
9** packaging of this file. 9** packaging of this file.
10** 10**
11** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 11** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
12** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 12** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
13** 13**
14** See http://www.trolltech.com/gpl/ for GPL licensing information. 14** See http://www.trolltech.com/gpl/ for GPL licensing information.
15** 15**
16** Contact info@trolltech.com if any conditions of this licensing are 16** Contact info@trolltech.com if any conditions of this licensing are
17** not clear to you. 17** not clear to you.
18** 18**
19**********************************************************************/ 19**********************************************************************/
20#include <qframe.h> 20#include <qframe.h>
21#include <qmap.h> 21#include <qmap.h>
22#include "../pickboard/pickboardcfg.h" 22#include <pickboardcfg.h>
23#include "../pickboard/pickboardpicks.h" 23#include <pickboardpicks.h>
24#include "configdlg.h" 24#include "configdlg.h"
25 25
26class QTimer; 26class QTimer;
27 27
28namespace MultiKey 28namespace MultiKey
29{ 29{
30 30
31class KeyboardConfig : public DictFilterConfig 31class KeyboardConfig : public DictFilterConfig
32{ 32{
33public: 33public:
34 KeyboardConfig(PickboardPicks* p) : DictFilterConfig(p), backspaces(0) { nrows = 1; } 34 KeyboardConfig(PickboardPicks* p) : DictFilterConfig(p), backspaces(0) { nrows = 1; }
35 virtual void generateText(const QString &s); 35 virtual void generateText(const QString &s);
36 void decBackspaces() { if (backspaces) backspaces--; } 36 void decBackspaces() { if (backspaces) backspaces--; }
37 void incBackspaces() { backspaces++; } 37 void incBackspaces() { backspaces++; }
38 void resetBackspaces() { backspaces = 0; } 38 void resetBackspaces() { backspaces = 0; }
39private: 39private:
40 int backspaces; 40 int backspaces;
41}; 41};
42 42
43 43
44class KeyboardPicks : public PickboardPicks 44class KeyboardPicks : public PickboardPicks
45{ 45{
46 Q_OBJECT 46 Q_OBJECT
47public: 47public: