diff options
author | Marcin Juszkiewicz <hrw@openembedded.org> | 2007-08-09 08:41:19 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openembedded.org> | 2007-08-09 08:41:19 +0000 |
commit | 9d829ed05c295df608b4fc108eb1c628fd06fd39 (patch) | |
tree | c1b27cfe4498f8abef1a61325922906f3e6a32ff /packages/poboxserver/qpobox/qpobox.patch | |
parent | 1434b204e16e87b7f59f074f3036d5dcbcf0116f (diff) | |
parent | 6ccac10beeaaa02a86081bd6179fd57c208ad6b1 (diff) |
merge of '76e1e69496801009ea0aa69c84f76e858978ab99'
and 'db976a98427dd6a195e2cf167e225de2d0206aea'
Diffstat (limited to 'packages/poboxserver/qpobox/qpobox.patch')
-rw-r--r-- | packages/poboxserver/qpobox/qpobox.patch | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/packages/poboxserver/qpobox/qpobox.patch b/packages/poboxserver/qpobox/qpobox.patch new file mode 100644 index 0000000000..9ed8f6c6b0 --- /dev/null +++ b/packages/poboxserver/qpobox/qpobox.patch @@ -0,0 +1,57 @@ +diff -Naur qpobox.orig/pbclient.cpp qpobox/pbclient.cpp +--- qpobox.orig/pbclient.cpp 2003-06-21 04:56:31.000000000 +0200 ++++ qpobox/pbclient.cpp 2006-05-11 22:49:00.000000000 +0200 +@@ -28,7 +28,8 @@ + m_address(address), m_port(port) + { + m_sock = new QSocket(this); +- m_conv = QTextCodec::codecForName("EUC-JP"); ++ //m_conv = QTextCodec::codecForName("EUC-JP"); ++ m_conv = QTextCodec::codecForName("utf8"); + + connect(m_sock, SIGNAL(readyRead()), this, SLOT(socketReadyRead())); + connect(m_sock, SIGNAL(error(int)), this, SLOT(socketError(int))); +diff -Naur qpobox.orig/qpobox.key qpobox/qpobox.key +--- qpobox.orig/qpobox.key 2003-08-12 22:23:15.000000000 +0200 ++++ qpobox/qpobox.key 2006-05-12 23:27:19.000000000 +0200 +@@ -1,15 +1,15 @@ + [INIT] + Shift+Space = THRU + Space = NEXT +- Shift+Return = THRU_MODE ++ Shift+Enter = THRU_MODE + F21 = CLOSE + F25 = IM_MODE + + [INPUT] + Shift+Space = PREV + Space = NEXT +- Shift+Return = FIX +- Return = EXACT ++ Shift+Enter = FIX ++ Enter = EXACT + BackSpace = BS + Delete = DELETE + Left = SHRINK +@@ -22,7 +22,7 @@ + [SELECT] + Shift+Space = PREV + Space = NEXT +- Return = FIX ++ Enter = FIX + BackSpace = BS + Delete = NOP + Left = PREV +diff -Naur qpobox.orig/qpoboxconfig.cpp qpobox/qpoboxconfig.cpp +--- qpobox.orig/qpoboxconfig.cpp 2005-01-09 06:53:44.000000000 +0100 ++++ qpobox/qpoboxconfig.cpp 2006-05-11 22:38:22.000000000 +0200 +@@ -224,7 +224,8 @@ + if (t != m_key_loaded) { + if (f.open(IO_ReadOnly)) { + QTextStream ts(&f); +- QTextCodec *codec=QTextCodec::codecForName("UTF-8"); ++ //QTextCodec *codec=QTextCodec::codecForName("UTF-8"); ++ QTextCodec *codec=QTextCodec::codecForName("eucJP"); + ts.setCodec(codec); + poboxmode_t mode = MODE_INIT; + |