24 ****************************************************************************/ |
24 ****************************************************************************/ |
25 |
25 |
26 #include "hbinputmethodnull_p.h" |
26 #include "hbinputmethodnull_p.h" |
27 #include "hbinputeditorinterface.h" |
27 #include "hbinputeditorinterface.h" |
28 |
28 |
29 // |
29 /*! |
30 // HbInputMethodNull |
30 \internal |
31 // |
31 */ |
32 |
|
33 // --------------------------------------------------------------------------- |
|
34 // HbInputMethodNull::Instance |
|
35 // |
|
36 // --------------------------------------------------------------------------- |
|
37 // |
|
38 HbInputMethodNull* HbInputMethodNull::Instance() |
32 HbInputMethodNull* HbInputMethodNull::Instance() |
39 { |
33 { |
40 static HbInputMethodNull myInstance; |
34 static HbInputMethodNull myInstance; |
41 return &myInstance; |
35 return &myInstance; |
42 } |
36 } |
43 |
37 |
44 // --------------------------------------------------------------------------- |
38 /*! |
45 // HbInputMethodNull::HbInputMethodNull |
39 \internal |
46 // |
40 */ |
47 // --------------------------------------------------------------------------- |
|
48 // |
|
49 HbInputMethodNull::HbInputMethodNull() |
41 HbInputMethodNull::HbInputMethodNull() |
50 { |
42 { |
51 } |
43 } |
52 |
44 |
53 // --------------------------------------------------------------------------- |
45 /*! |
54 // HbInputMethodNull::~HbInputMethodNull |
46 \internal |
55 // |
47 */ |
56 // --------------------------------------------------------------------------- |
|
57 // |
|
58 HbInputMethodNull::~HbInputMethodNull() |
48 HbInputMethodNull::~HbInputMethodNull() |
59 { |
49 { |
60 } |
50 } |
61 |
51 |
62 // --------------------------------------------------------------------------- |
52 /*! |
63 // HbInputMethodNull::identifierName |
53 \internal |
64 // |
54 */ |
65 // --------------------------------------------------------------------------- |
|
66 // |
|
67 QString HbInputMethodNull::identifierName() |
55 QString HbInputMethodNull::identifierName() |
68 { |
56 { |
69 return QString(); |
57 return QString(); |
70 } |
58 } |
71 |
59 |
72 // --------------------------------------------------------------------------- |
60 /*! |
73 // HbInputMethodNull::isComposing |
61 \internal |
74 // |
62 */ |
75 // --------------------------------------------------------------------------- |
|
76 // |
|
77 bool HbInputMethodNull::isComposing() const |
63 bool HbInputMethodNull::isComposing() const |
78 { |
64 { |
79 return false; |
65 return false; |
80 } |
66 } |
81 |
67 |
82 // --------------------------------------------------------------------------- |
68 /*! |
83 // HbInputMethodNull::language |
69 \internal |
84 // |
70 */ |
85 // --------------------------------------------------------------------------- |
|
86 // |
|
87 QString HbInputMethodNull::language() |
71 QString HbInputMethodNull::language() |
88 { |
72 { |
89 return QString(); |
73 return QString(); |
90 } |
74 } |
91 |
75 |
92 // --------------------------------------------------------------------------- |
76 /*! |
93 // HbInputMethodNull::reset |
77 \internal |
94 // |
78 */ |
95 // --------------------------------------------------------------------------- |
|
96 // |
|
97 void HbInputMethodNull::reset() |
79 void HbInputMethodNull::reset() |
98 { |
80 { |
99 } |
81 } |
100 |
82 |
101 // --------------------------------------------------------------------------- |
83 /*! |
102 // HbInputMethodNull::filterEvent |
84 \internal |
103 // |
85 */ |
104 // --------------------------------------------------------------------------- |
|
105 // |
|
106 bool HbInputMethodNull::filterEvent(const QEvent* event) |
86 bool HbInputMethodNull::filterEvent(const QEvent* event) |
107 { |
87 { |
108 if (!event || event->type() != QEvent::KeyPress) { |
88 if (!event || event->type() != QEvent::KeyPress) { |
109 return false; |
89 return false; |
110 } |
90 } |