|
|
@ -1112,15 +1112,15 @@ bool TQApplication::x11_apply_settings()
|
|
|
|
if (qt_xim_preferred_style == 0) {
|
|
|
|
if (qt_xim_preferred_style == 0) {
|
|
|
|
TQString ximInputStyle =
|
|
|
|
TQString ximInputStyle =
|
|
|
|
settings.readEntry( "/qt/XIMInputStyle",
|
|
|
|
settings.readEntry( "/qt/XIMInputStyle",
|
|
|
|
TQObject::trUtf8( "On The Spot" ) ).lower();
|
|
|
|
TQString::fromLatin1( "On The Spot" ) ).lower();
|
|
|
|
if ( ximInputStyle == "on the spot" )
|
|
|
|
if ( ximInputStyle == "over the spot" )
|
|
|
|
qt_xim_preferred_style = XIMPreeditCallbacks | XIMStatusNothing;
|
|
|
|
|
|
|
|
else if ( ximInputStyle == "over the spot" )
|
|
|
|
|
|
|
|
qt_xim_preferred_style = XIMPreeditPosition | XIMStatusNothing;
|
|
|
|
qt_xim_preferred_style = XIMPreeditPosition | XIMStatusNothing;
|
|
|
|
else if ( ximInputStyle == "off the spot" )
|
|
|
|
else if ( ximInputStyle == "off the spot" )
|
|
|
|
qt_xim_preferred_style = XIMPreeditArea | XIMStatusArea;
|
|
|
|
qt_xim_preferred_style = XIMPreeditArea | XIMStatusArea;
|
|
|
|
else if ( ximInputStyle == "root" )
|
|
|
|
else if ( ximInputStyle == "root" )
|
|
|
|
qt_xim_preferred_style = XIMPreeditNothing | XIMStatusNothing;
|
|
|
|
qt_xim_preferred_style = XIMPreeditNothing | XIMStatusNothing;
|
|
|
|
|
|
|
|
else // ximInputStyle == "on the spot" or others
|
|
|
|
|
|
|
|
qt_xim_preferred_style = XIMPreeditCallbacks | XIMStatusNothing;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|