From 3b34e5cf56262c9f54a3bcf02ee5ad93ca0fb05b Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 10:00:09 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit d6331f1b56eb6dca7a1950658b2932f208015da0. --- cervisia/tooltip.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cervisia/tooltip.cpp') 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); } -- cgit v1.2.1