コード例 #1
0
ファイル: hime-imcontext-qt.cpp プロジェクト: Kirayao/hime
QHimePlatformInputContext::~QHimePlatformInputContext()
{
    if (hime_ch==NULL)
        return;
      hime_im_client_close(hime_ch);
    hime_ch = NULL;
}
コード例 #2
0
ファイル: hime-send.c プロジェクト: Explorer09/hime
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);
}
コード例 #3
0
QHIMEInputContext::~QHIMEInputContext()
{
//    printf("QHIMEInputContext::~QHIMEInputContext()\n");
    hime_im_client_close(hime_ch);
    hime_ch = NULL;
}