equal
deleted
inserted
replaced
63 static QGraphicsWidget *createGraphicsProxyWidget(QWidget *widget); |
63 static QGraphicsWidget *createGraphicsProxyWidget(QWidget *widget); |
64 static HbInputDigitType inputDigitType(HbInputLanguage language); |
64 static HbInputDigitType inputDigitType(HbInputLanguage language); |
65 static QGraphicsProxyWidget *graphicsProxyWidget(const QWidget *w); |
65 static QGraphicsProxyWidget *graphicsProxyWidget(const QWidget *w); |
66 }; |
66 }; |
67 |
67 |
68 /*! |
|
69 Returns true if given input mode is Chinese input mode. |
|
70 */ |
|
71 inline bool HbInputUtils::isChineseInputMode(HbInputModeType inputMode) |
68 inline bool HbInputUtils::isChineseInputMode(HbInputModeType inputMode) |
72 { |
69 { |
73 return (inputMode & HbChineseModeMask) != 0; |
70 return (inputMode & HbChineseModeMask) != 0; |
74 } |
71 } |
75 |
72 |
76 /*! |
|
77 Returns true if given keyboard type is qwerty keyboard. |
|
78 */ |
|
79 inline bool HbInputUtils::isQwertyKeyboard(HbKeyboardType keyboardType) |
73 inline bool HbInputUtils::isQwertyKeyboard(HbKeyboardType keyboardType) |
80 { |
74 { |
81 return (keyboardType & HbQwertyKeyboardMask) != 0; |
75 return (keyboardType & HbQwertyKeyboardMask) != 0; |
82 } |
76 } |
83 |
77 |
84 /*! |
|
85 Returns true if given keyboard type is virtual keyboard. |
|
86 */ |
|
87 inline bool HbInputUtils::isTouchKeyboard(HbKeyboardType keyboardType) |
78 inline bool HbInputUtils::isTouchKeyboard(HbKeyboardType keyboardType) |
88 { |
79 { |
89 return (keyboardType & HbTouchInputMask) != 0; |
80 return (keyboardType & HbTouchInputMask) != 0; |
90 } |
81 } |
91 |
82 |