View Single Post
fcrochik's Avatar
Posts: 722 | Thanked: 1,223 times | Joined on Apr 2010 @ USA
#86
Originally Posted by hschmitt View Post
And there is the change, that should do it but does not:
Code:
#ifdef Q_WS_MAEMO_5
// Maemo 5 MicroB Browser disables auto-uppercase and predictive text, thus, so do we.
webPageClient->setInputMethodHint(Qt::ImhNoAutoUppercase, true);
webPageClient->setInputMethodHint(Qt::ImhNoPredictiveText, true);
#endif // Q_WS_MAEMO_5
Can you get hold of the object and try to set it again?
On a quick inspection of the code it seems that I can't... The "d" on the code bellow is private and I could not find any method that exposes it even to a class that inherits it.

Code:
QWebPageClient* webPageClient = m_page->d->client;
(*) m_page is a QWebPage object

The only I can think of would be to recompile the qtwebkit module but that would create another set of problems... Do you know of any other way or have any other ideas?

Felipe
__________________

My maemo work:
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
For Harmattan:
GeePS - native UI around google maps - GApp - access to optimized mobile "google apps".
Shutdown - shutdown and reboot with one click - QuickCall - one click call, skypeout and google voice integration using dial tones.
WakeOnLan - wake computers on your local network.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
For Maemo/N900:
GApp - access to optimized mobile "google apps". - MobWebMail: browser optimized to access multiple gmail accounts
MyContacts: 75 Contacts on your desktop, ring tones per group and more - GeePS: native front-end for google maps
Macuco2 : web browser to access web sites optimized for the iphone - WakeOnLan: wake up computers on your local network
dbBrowser: Simple application to browse sqlite databases