diff options
Diffstat (limited to 'src/basketlistview.cpp')
-rw-r--r-- | src/basketlistview.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/basketlistview.cpp b/src/basketlistview.cpp index d118944..53a7e94 100644 --- a/src/basketlistview.cpp +++ b/src/basketlistview.cpp @@ -105,7 +105,7 @@ TQString BasketListViewItem::escapedName(const TQString &string) { // Underlining the Alt+Letter shortcut (and escape all other '&' characters), if any: TQString basketName = string; - basketName.tqreplace('&', "&&"); // First escape all the amperstamp + basketName.replace('&', "&&"); // First escape all the amperstamp TQString letter; // Find the letter TQString altKey = /*i18n(*/"Alt"/*)*/; //i18n("The [Alt] key, as shown in shortcuts like Alt+C...", "Alt"); TQString shiftKey = /*i18n(*/"Shift"/*)*/; //i18n("The [Shift] key, as shown in shortcuts like Alt+Shift+1...", "Shift"); @@ -116,7 +116,7 @@ TQString BasketListViewItem::escapedName(const TQString &string) if (letter.isEmpty() && altShiftLetterExp.search(m_basket->shortcut().toStringInternal()) != -1) letter = altShiftLetterExp.cap(1); if (!letter.isEmpty()) { - int index = basketName.tqfind(letter, /*index=*/0, /*caseSensitive=*/false); + int index = basketName.find(letter, /*index=*/0, /*caseSensitive=*/false); if (index != -1) basketName.insert(index, '&'); } @@ -261,7 +261,7 @@ TQPixmap BasketListViewItem::circledTextPixmap(const TQString &text, int height, { TQString key = TQString("BLI-%1.%2.%3.%4") .tqarg(text).tqarg(height).tqarg(font.toString()).tqarg(color.rgb()); - if (TQPixmap* cached=TQPixmapCache::tqfind(key)) { + if (TQPixmap* cached=TQPixmapCache::find(key)) { return *cached; } @@ -467,7 +467,7 @@ void BasketListViewItem::paintCell(TQPainter *painter, const TQColorGroup &/*tqc .tqarg(m_isUnderDrag) .tqarg(m_basket->basketName()) .tqarg(m_basket->icon()); - if (TQPixmap* cached = TQPixmapCache::tqfind(key)) { + if (TQPixmap* cached = TQPixmapCache::find(key)) { // TQt's documentation recommends copying the pointer // into a TQPixmap immediately TQPixmap cachedBuffer = *cached; @@ -580,7 +580,7 @@ void BasketListViewItem::paintCell(TQPainter *painter, const TQColorGroup &/*tqc effectiveWidth += countPixmap.width() + MARGIN; } if (showLoadingIcon) { - TQPixmap icon = kapp->iconLoader()->loadIcon("tqfind", KIcon::NoGroup, 16, KIcon::DefaultState, 0L, /*canReturnNull=*/false); + TQPixmap icon = kapp->iconLoader()->loadIcon("find", KIcon::NoGroup, 16, KIcon::DefaultState, 0L, /*canReturnNull=*/false); thePainter.drawPixmap(effectiveWidth, 0, icon); effectiveWidth += BASKET_ICON_SIZE + MARGIN; } |