diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:06:29 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-05 20:47:54 +0200 |
commit | 43c58f1620463166675d45199b37ce2979d5215e (patch) | |
tree | 67558a5bd6213761dbde4a620e497b644ffe8c08 /src/kvilib/file | |
parent | e21c70f0573896c6503317f4684f2f421a57fd11 (diff) | |
download | kvirc-43c58f1620463166675d45199b37ce2979d5215e.tar.gz kvirc-43c58f1620463166675d45199b37ce2979d5215e.zip |
Rename obsolete tq methods to standard names
(cherry picked from commit 2dd6d32bd821b303aa7b25edda76d1ef7c14b2bf)
Diffstat (limited to 'src/kvilib/file')
-rw-r--r-- | src/kvilib/file/kvi_fileutils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kvilib/file/kvi_fileutils.cpp b/src/kvilib/file/kvi_fileutils.cpp index 1668999d..3410773d 100644 --- a/src/kvilib/file/kvi_fileutils.cpp +++ b/src/kvilib/file/kvi_fileutils.cpp @@ -60,7 +60,7 @@ namespace KviFileUtils if(tmp_buf[255] == '\r')cur_len--; //Ignore CR... int lastlen = szBuffer.length(); szBuffer.setLength(lastlen + cur_len); - TQChar *p1 = szBuffer.tqunicode() + lastlen; + TQChar *p1 = szBuffer.unicode() + lastlen; char * p2 = tmp_buf; for(int i=0;i<cur_len;i++)*p1++ = *p2++; cur_len = 0; @@ -76,7 +76,7 @@ namespace KviFileUtils if(tmp_buf[cur_len - 1] == '\r')cur_len--; //Ignore CR... int lastlen = szBuffer.length(); szBuffer.setLength(lastlen + cur_len); - TQChar *p1 = szBuffer.tqunicode() + lastlen; + TQChar *p1 = szBuffer.unicode() + lastlen; char * p2 = tmp_buf; for(int i=0;i<cur_len;i++)*p1++ = *p2++; } |