summaryrefslogtreecommitdiffstats
path: root/cervisia/tooltip.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 10:00:09 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 10:00:09 -0600
commit3b34e5cf56262c9f54a3bcf02ee5ad93ca0fb05b (patch)
tree4405f233f4b0eee7f4ad3d265a5584c9ce681011 /cervisia/tooltip.cpp
parentd6331f1b56eb6dca7a1950658b2932f208015da0 (diff)
downloadtdesdk-3b34e5cf56262c9f54a3bcf02ee5ad93ca0fb05b.tar.gz
tdesdk-3b34e5cf56262c9f54a3bcf02ee5ad93ca0fb05b.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit d6331f1b56eb6dca7a1950658b2932f208015da0.
Diffstat (limited to 'cervisia/tooltip.cpp')
-rw-r--r--cervisia/tooltip.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/cervisia/tooltip.cpp b/cervisia/tooltip.cpp
index 728945ca..df3c4977 100644
--- a/cervisia/tooltip.cpp
+++ b/cervisia/tooltip.cpp
@@ -72,12 +72,12 @@ TQString truncateLines(const TQString& text,
if (numberOfLines <= maxNumberOfLines)
return text;
- const TQChar* unicode(text.unicode());
- for (int count(maxNumberOfLines); count; ++unicode)
- if (*unicode == newLine)
+ const TQChar* tqunicode(text.tqunicode());
+ for (int count(maxNumberOfLines); count; ++tqunicode)
+ if (*tqunicode == newLine)
--count;
- return text.left(unicode - text.unicode() - 1);
+ return text.left(tqunicode - text.tqunicode() - 1);
}