Diffstat (limited to 'libopie2/opiecore/okeyfilter.h') (more/less context) (show whitespace changes)
-rw-r--r-- | libopie2/opiecore/okeyfilter.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/libopie2/opiecore/okeyfilter.h b/libopie2/opiecore/okeyfilter.h index a65bc48..d183641 100644 --- a/libopie2/opiecore/okeyfilter.h +++ b/libopie2/opiecore/okeyfilter.h | |||
@@ -12,67 +12,62 @@ _;:, .> :=|. This program is free software; you can | |||
12 | .%`+i> _;_. | 12 | .%`+i> _;_. |
13 | .i_,=:_. -<s. This program is distributed in the hope that | 13 | .i_,=:_. -<s. This program is distributed in the hope that |
14 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | 14 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; |
15 | : .. .:, . . . without even the implied warranty of | 15 | : .. .:, . . . without even the implied warranty of |
16 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | 16 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A |
17 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU | 17 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU |
18 | ..}^=.= = ; Library General Public License for more | 18 | ..}^=.= = ; Library General Public License for more |
19 | ++= -. .` .: details. | 19 | ++= -. .` .: details. |
20 | : = ...= . :.=- | 20 | : = ...= . :.=- |
21 | -. .:....=;==+<; You should have received a copy of the GNU | 21 | -. .:....=;==+<; You should have received a copy of the GNU |
22 | -_. . . )=. = Library General Public License along with | 22 | -_. . . )=. = Library General Public License along with |
23 | -- :-=` this library; see the file COPYING.LIB. | 23 | -- :-=` this library; see the file COPYING.LIB. |
24 | If not, write to the Free Software Foundation, | 24 | If not, write to the Free Software Foundation, |
25 | Inc., 59 Temple Place - Suite 330, | 25 | Inc., 59 Temple Place - Suite 330, |
26 | Boston, MA 02111-1307, USA. | 26 | Boston, MA 02111-1307, USA. |
27 | */ | 27 | */ |
28 | 28 | ||
29 | /* QT */ | 29 | /* QT */ |
30 | #include <qwindowsystem_qws.h> | 30 | #include <qwindowsystem_qws.h> |
31 | #include <qvaluelist.h> | 31 | #include <qvaluelist.h> |
32 | 32 | ||
33 | namespace Opie { | 33 | namespace Opie { |
34 | namespace Core { | 34 | namespace Core { |
35 | class ODevice; | 35 | class ODevice; |
36 | namespace Internal { | 36 | |
37 | class iPAQ; | ||
38 | class SIMpad; | ||
39 | } | ||
40 | 37 | ||
41 | /** | 38 | /** |
42 | * A singleton which will manage all possible keyboard filters inside opie. | 39 | * A singleton which will manage all possible keyboard filters inside opie. |
43 | * It makes sure that key handlers of odevice are checked first than the | 40 | * It makes sure that key handlers of odevice are checked first than the |
44 | * keyfilters of software. | 41 | * keyfilters of software. |
45 | * @short a keyfilter proxy | 42 | * @short a keyfilter proxy |
46 | * @see QWSServer::KeyboardFilter | 43 | * @see QWSServer::KeyboardFilter |
47 | * @author Rajko Albrecht | 44 | * @author Rajko Albrecht |
48 | * @version 1.0 | 45 | * @version 1.0 |
49 | */ | 46 | */ |
50 | class OKeyFilter | 47 | class OKeyFilter |
51 | { | 48 | { |
52 | friend class Opie::Core::ODevice; | 49 | friend class Opie::Core::ODevice; |
53 | friend class Opie::Core::Internal::iPAQ; | ||
54 | friend class Opie::Core::Internal::SIMpad; | ||
55 | 50 | ||
56 | protected: | 51 | protected: |
57 | /** | 52 | /** |
58 | * Protected constructor - generate class via inst() | 53 | * Protected constructor - generate class via inst() |
59 | * @see inst() | 54 | * @see inst() |
60 | */ | 55 | */ |
61 | OKeyFilter(); | 56 | OKeyFilter(); |
62 | /** | 57 | /** |
63 | * Protected constructor - generate class via inst() | 58 | * Protected constructor - generate class via inst() |
64 | * @see inst() | 59 | * @see inst() |
65 | */ | 60 | */ |
66 | OKeyFilter(const OKeyFilter&){}; | 61 | OKeyFilter(const OKeyFilter&){}; |
67 | /** | 62 | /** |
68 | * Append filter to the primary list. | 63 | * Append filter to the primary list. |
69 | * This is only allowed for friend classes from odevice | 64 | * This is only allowed for friend classes from odevice |
70 | * @param aFilter a filter to append | 65 | * @param aFilter a filter to append |
71 | * @see addHandler | 66 | * @see addHandler |
72 | */ | 67 | */ |
73 | virtual void addPreHandler(QWSServer::KeyboardFilter*aFilter)=0; | 68 | virtual void addPreHandler(QWSServer::KeyboardFilter*aFilter)=0; |
74 | /** | 69 | /** |
75 | * Remove the specified filter from list and give back ownership. | 70 | * Remove the specified filter from list and give back ownership. |
76 | * This is only allowed for friend classes from odevice | 71 | * This is only allowed for friend classes from odevice |
77 | * @param aFilter a filter to remove | 72 | * @param aFilter a filter to remove |
78 | * @see remHandler | 73 | * @see remHandler |