summaryrefslogtreecommitdiffstats
path: root/src/notedrag.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:03:41 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:03:41 -0600
commit17678d65de293ae9a8b077b5c0bc3f493c617f8b (patch)
treeb4131182c75a7a638f626bc3b9415b6f47ff680e /src/notedrag.cpp
parent522c7294f06d294c77bc1ea7d0dec4b371c43373 (diff)
downloadbasket-17678d65de293ae9a8b077b5c0bc3f493c617f8b.tar.gz
basket-17678d65de293ae9a8b077b5c0bc3f493c617f8b.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'src/notedrag.cpp')
-rw-r--r--src/notedrag.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/notedrag.cpp b/src/notedrag.cpp
index 67b45a3..3b4ad3d 100644
--- a/src/notedrag.cpp
+++ b/src/notedrag.cpp
@@ -571,8 +571,8 @@ bool ExtendedTextDrag::decode(const TQMimeSource *e, TQString &str, TQCString &s
str = TQTextCodec::codecForName("utf8")->toUnicode(utf8);
return true;
}
- if (e->provides("text/tqunicode")) { // FIXME: It's UTF-16 without order bytes!!!
- TQByteArray utf16 = e->encodedData("text/tqunicode");
+ if (e->provides("text/unicode")) { // FIXME: It's UTF-16 without order bytes!!!
+ TQByteArray utf16 = e->encodedData("text/unicode");
str = TQTextCodec::codecForName("utf16")->toUnicode(utf16);
return true;
}