Esempio n. 1
0
QHimePlatformInputContext::~QHimePlatformInputContext()
{
    if (hime_ch==NULL)
        return;
      hime_im_client_close(hime_ch);
    hime_ch = NULL;
}
Esempio n. 2
0
void send_hime_message(Display *dpy, char *s)
{
  HIME_client_handle *handle = hime_im_client_open(dpy);
  hime_im_client_message(handle, s);
  hime_im_client_close(handle);
}
Esempio n. 3
0
QHIMEInputContext::~QHIMEInputContext()
{
//    printf("QHIMEInputContext::~QHIMEInputContext()\n");
    hime_im_client_close(hime_ch);
    hime_ch = NULL;
}