summaryrefslogtreecommitdiffstats
path: root/src/kvilib/irc/kvi_mirccntrl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kvilib/irc/kvi_mirccntrl.cpp')
-rw-r--r--src/kvilib/irc/kvi_mirccntrl.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/kvilib/irc/kvi_mirccntrl.cpp b/src/kvilib/irc/kvi_mirccntrl.cpp
index e42f3165..21b5258a 100644
--- a/src/kvilib/irc/kvi_mirccntrl.cpp
+++ b/src/kvilib/irc/kvi_mirccntrl.cpp
@@ -169,7 +169,7 @@ KVILIB_API unsigned int getUnicodeColorBytes(const TQString &szData,unsigned int
return charIdx;
}
- unsigned short c = szData[(int)charIdx].unicode();
+ unsigned short c = szData[(int)charIdx].tqunicode();
//First we can have a digit or a coma
if(((c < '0') || (c > '9')))
@@ -189,7 +189,7 @@ KVILIB_API unsigned int getUnicodeColorBytes(const TQString &szData,unsigned int
return charIdx;
}
- c = szData[(int)charIdx].unicode();
+ c = szData[(int)charIdx].tqunicode();
if(((c < '0') || (c > '9')) && (c != ','))
{
@@ -207,7 +207,7 @@ KVILIB_API unsigned int getUnicodeColorBytes(const TQString &szData,unsigned int
(*byte_2)=KVI_NOCHANGE;
return charIdx;
}
- c = szData[(int)charIdx].unicode();
+ c = szData[(int)charIdx].tqunicode();
}
if(c == ',')
@@ -218,7 +218,7 @@ KVILIB_API unsigned int getUnicodeColorBytes(const TQString &szData,unsigned int
(*byte_2)=KVI_NOCHANGE;
return charIdx;
}
- c = szData[(int)charIdx].unicode();
+ c = szData[(int)charIdx].tqunicode();
} else {
(*byte_2)=KVI_NOCHANGE;
return charIdx;
@@ -227,7 +227,7 @@ KVILIB_API unsigned int getUnicodeColorBytes(const TQString &szData,unsigned int
if((c < '0') || (c > '9'))
{
(*byte_2)=KVI_NOCHANGE;
- if(szData[(int)(charIdx-1)].unicode()==',')
+ if(szData[(int)(charIdx-1)].tqunicode()==',')
return charIdx-1;
else
return charIdx;
@@ -237,7 +237,7 @@ KVILIB_API unsigned int getUnicodeColorBytes(const TQString &szData,unsigned int
(*byte_2)=c-'0';
charIdx++;
if(charIdx >= szData.length())return charIdx;
- c = szData[(int)charIdx].unicode();
+ c = szData[(int)charIdx].tqunicode();
if((c >= '0') && (c <='9'))
{
@@ -262,7 +262,7 @@ namespace KviMircCntrl
unsigned char b2;
while(i < l)
{
- switch(szData[i].unicode())
+ switch(szData[i].tqunicode())
{
case KVI_TEXT_UNDERLINE:
case KVI_TEXT_BOLD:
@@ -288,7 +288,7 @@ namespace KviMircCntrl
i++;
while(i < l)
{
- if(szData[i].unicode() == ' ')break;
+ if(szData[i].tqunicode() == ' ')break;
else i++;
}
begin = i;