diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:23:31 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:23:31 -0600 |
commit | 36b1e019b76f39cca8fc81f6d4df544f1c94c179 (patch) | |
tree | 3ca2f4886d1a2810b952164dd1b0f3e92ef6bf3a /cervisia/tooltip.cpp | |
parent | f78838f2f736acc2b235d8b680f3379a07a6d372 (diff) | |
download | tdesdk-36b1e019b76f39cca8fc81f6d4df544f1c94c179.tar.gz tdesdk-36b1e019b76f39cca8fc81f6d4df544f1c94c179.zip |
Rename obsolete tq methods to standard names
Diffstat (limited to 'cervisia/tooltip.cpp')
-rw-r--r-- | cervisia/tooltip.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cervisia/tooltip.cpp b/cervisia/tooltip.cpp index df3c4977..728945ca 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* tqunicode(text.tqunicode()); - for (int count(maxNumberOfLines); count; ++tqunicode) - if (*tqunicode == newLine) + const TQChar* unicode(text.unicode()); + for (int count(maxNumberOfLines); count; ++unicode) + if (*unicode == newLine) --count; - return text.left(tqunicode - text.tqunicode() - 1); + return text.left(unicode - text.unicode() - 1); } |