equal
deleted
inserted
replaced
613 active = isPasswordField = inputElement->isPasswordField(); |
613 active = isPasswordField = inputElement->isPasswordField(); |
614 } |
614 } |
615 } |
615 } |
616 } |
616 } |
617 webPageClient->setInputMethodHint(Qt::ImhHiddenText, isPasswordField); |
617 webPageClient->setInputMethodHint(Qt::ImhHiddenText, isPasswordField); |
618 #ifdef Q_WS_MAEMO_5 |
618 #if defined(Q_WS_MAEMO_5) || defined(Q_OS_SYMBIAN) |
619 // Maemo 5 MicroB Browser disables auto-uppercase and predictive text, thus, so do we. |
619 // disables auto-uppercase and predictive text for mobile devices |
620 webPageClient->setInputMethodHint(Qt::ImhNoAutoUppercase, true); |
620 webPageClient->setInputMethodHint(Qt::ImhNoAutoUppercase, true); |
621 webPageClient->setInputMethodHint(Qt::ImhNoPredictiveText, true); |
621 webPageClient->setInputMethodHint(Qt::ImhNoPredictiveText, true); |
622 #endif // Q_WS_MAEMO_5 |
622 #endif // Q_WS_MAEMO_5 || Q_OS_SYMBIAN |
623 #endif // QT_VERSION check |
623 #endif // QT_VERSION check |
624 webPageClient->setInputMethodEnabled(active); |
624 webPageClient->setInputMethodEnabled(active); |
625 } |
625 } |
626 emit m_page->microFocusChanged(); |
626 emit m_page->microFocusChanged(); |
627 } |
627 } |