| 941 | } |
| 942 | |
| 943 | void UITextInput::setAllowOnlyNumbers( const bool& onlyNumbers, const bool& allowFloat ) { |
| 944 | mOnlyNumbers = onlyNumbers; |
| 945 | mAllowFloat = allowFloat; |
| 946 | } |
| 947 | |
| 948 | bool UITextInput::onlyNumbersAllowed() const { |
| 949 | return mOnlyNumbers; |
no outgoing calls
no test coverage detected