diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 80ee419f074dc252449791628d4584b5c0ea0c9b (patch) | |
tree | fba229106f296da317a8f925f32d76841386c026 /src/gui/editors/notation/NotePixmapFactory.cpp | |
parent | bb426283a6b45a18f99a8be445438e8f4deeea55 (diff) | |
download | rosegarden-80ee419f074dc252449791628d4584b5c0ea0c9b.tar.gz rosegarden-80ee419f074dc252449791628d4584b5c0ea0c9b.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gui/editors/notation/NotePixmapFactory.cpp')
-rw-r--r-- | src/gui/editors/notation/NotePixmapFactory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/editors/notation/NotePixmapFactory.cpp b/src/gui/editors/notation/NotePixmapFactory.cpp index 365478a..e5f306b 100644 --- a/src/gui/editors/notation/NotePixmapFactory.cpp +++ b/src/gui/editors/notation/NotePixmapFactory.cpp @@ -2300,7 +2300,7 @@ NotePixmapFactory::makeTrackHeaderPixmap( if (!text.isEmpty()) { // String too long : cut it and replace last character by dots int len = textLine.length(); - if (len > 1) textLine.tqreplace(len - 1, 1, i18n("...")); + if (len > 1) textLine.replace(len - 1, 1, i18n("...")); } } else { textLine = getOneLine(text, width - charWidth / 2); @@ -2344,7 +2344,7 @@ NotePixmapFactory::makeTrackHeaderPixmap( if ((l == numberOfTextLines) && !text.isEmpty()) { // String too long : cut it and replace last character by dots int len = textLine.length(); - if (len > 1) textLine.tqreplace(len - 1, 1, i18n("...")); + if (len > 1) textLine.replace(len - 1, 1, i18n("...")); } m_p->drawText(charWidth / 4, lowerTextY, textLine); |