[immodule-qt] what should function language return?

LiuCougar liucougar at gmail.com
Wed Aug 18 04:58:19 EEST 2004


Hi all,

I just wonder what should be returned in the function language() in
QScimInputContext, currently it is:

QCString QScimInputContext::language()
{
    return "zh";  // FIXME
}

I think this function should return the language which is supported by
current selected input method. Then howto get this info through scim
API?

Another concern: some input method, such as "raw code" in scim-lib,
can handle all languages, then what is expected to be returned in this
case by this function?

Regards,

-- 
"People's characters are strengthened through struggle against
difficulties; they are weakened by comfort."
- Old Chinese adage



More information about the immodule-qt mailing list