diff options
Diffstat (limited to 'src/kvirc/kvs/kvi_kvs_corefunctions_sz.cpp')
-rw-r--r-- | src/kvirc/kvs/kvi_kvs_corefunctions_sz.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/kvirc/kvs/kvi_kvs_corefunctions_sz.cpp b/src/kvirc/kvs/kvi_kvs_corefunctions_sz.cpp index a5478dce..e56abbe6 100644 --- a/src/kvirc/kvs/kvi_kvs_corefunctions_sz.cpp +++ b/src/kvirc/kvs/kvi_kvs_corefunctions_sz.cpp @@ -401,12 +401,12 @@ namespace KviKvsCoreFunctions if(szLongSwitch.isEmpty()) v = sl->find(szSwitch); else - v = sl->find(szSwitch[0].tqunicode(),szLongSwitch); + v = sl->find(szSwitch[0].unicode(),szLongSwitch); }else { if(szLongSwitch.isEmpty()) v = sl->find(szSwitch[0]); else - v = sl->find(szSwitch[0].tqunicode(),szLongSwitch); + v = sl->find(szSwitch[0].unicode(),szLongSwitch); } if(v)KVSCF_pRetBuffer->copyFrom(*v); @@ -842,15 +842,15 @@ namespace KviKvsCoreFunctions ///////////////////////////////////////////////////////////////////////////////////////// /* - @doc: tqunicode + @doc: unicode @type: function @title: - $tqunicode + $unicode @short: Returns the UNICODE code of a sets of characters @syntax: - <variant> $tqunicode(<char:string>) + <variant> $unicode(<char:string>) @description: If <char> is composed only of a single character then returns its UNICODE code point as an integer. @@ -860,7 +860,7 @@ namespace KviKvsCoreFunctions [fnc]$cr[/fnc], [fnc]$lf[/fnc], [fnc]$char[/fnc] */ - KVSCF(tqunicode) + KVSCF(unicode) { TQString sz; KVSCF_PARAMETERS_BEGIN @@ -871,10 +871,10 @@ namespace KviKvsCoreFunctions { KviKvsArray * a = new KviKvsArray(); for(kvs_int_t i=0;i<sz.length();i++) - a->set(i,new KviKvsVariant((kvs_int_t)(sz[(int)i].tqunicode()))); + a->set(i,new KviKvsVariant((kvs_int_t)(sz[(int)i].unicode()))); KVSCF_pRetBuffer->setArray(a); } else { - KVSCF_pRetBuffer->setInteger((kvs_int_t)(sz[0].tqunicode())); + KVSCF_pRetBuffer->setInteger((kvs_int_t)(sz[0].unicode())); } return true; } |