summaryrefslogtreecommitdiffstats
path: root/src/cite
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:07:30 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:07:30 -0600
commit68b0d93f005081933603e1d07d6ebece55cf4502 (patch)
tree75b69804a6d7855f437992b56df438c1805a3e42 /src/cite
parent26f93a7d9105483b49ae930545ddb2873156fa8e (diff)
downloadtellico-68b0d93f005081933603e1d07d6ebece55cf4502.tar.gz
tellico-68b0d93f005081933603e1d07d6ebece55cf4502.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'src/cite')
-rw-r--r--src/cite/clipboard.cpp2
-rw-r--r--src/cite/ooo/ooohandler.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/cite/clipboard.cpp b/src/cite/clipboard.cpp
index 8c91162..14cac58 100644
--- a/src/cite/clipboard.cpp
+++ b/src/cite/clipboard.cpp
@@ -44,7 +44,7 @@ bool Clipboard::cite(Data::EntryVec entries_) {
}
s += '}';
- TQClipboard *cb = TQApplication::tqclipboard();
+ TQClipboard *cb = TQApplication::clipboard();
cb->setText(s, TQClipboard::Clipboard);
return true;
}
diff --git a/src/cite/ooo/ooohandler.cpp b/src/cite/ooo/ooohandler.cpp
index d36b3e4..6af495c 100644
--- a/src/cite/ooo/ooohandler.cpp
+++ b/src/cite/ooo/ooohandler.cpp
@@ -50,12 +50,12 @@ rtl::OUString OOOHandler::TQString2OU(const TQString& str) {
const uint len = str.length();
sal_Unicode* uni = new sal_Unicode[len + 1];
- const TQChar* qPtr = str.tqunicode();
+ const TQChar* qPtr = str.unicode();
const TQChar* qEnd = qPtr + len;
sal_Unicode* uPtr = uni;
while (qPtr != qEnd) {
- *(uPtr++) = (*(qPtr++)).tqunicode();
+ *(uPtr++) = (*(qPtr++)).unicode();
}
*uPtr = 0;