From 031454e56009d576589c28757f6c6fcf4884095e Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:34:15 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- src/entrygroupitem.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/entrygroupitem.cpp') diff --git a/src/entrygroupitem.cpp b/src/entrygroupitem.cpp index c6a36ab..c94fa53 100644 --- a/src/entrygroupitem.cpp +++ b/src/entrygroupitem.cpp @@ -44,7 +44,7 @@ TQPixmap EntryGroupItem::ratingPixmap() { } TQPixmap newPix(m_pix.width() + 4 + stars.width(), TQMAX(m_pix.height(), stars.height())); - newPix.fill(isSelected() ? listView()->tqcolorGroup().highlight() : backgroundColor(0)); + newPix.fill(isSelected() ? listView()->colorGroup().highlight() : backgroundColor(0)); TQPainter p(&newPix); if(!m_pix.isNull()) { p.drawPixmap(0, 0, m_pix); @@ -74,7 +74,7 @@ void EntryGroupItem::paintCell(TQPainter* p_, const TQColorGroup& cg_, return; } - setText(column_, TQString::tqfromLatin1("\t\t")); + setText(column_, TQString::fromLatin1("\t\t")); GUI::CountedItem::setPixmap(column_, ratingPixmap()); GUI::CountedItem::paintCell(p_, cg_, column_, width_, align_); // GUI::CountedItem::setPixmap(column_, m_pix); @@ -109,14 +109,14 @@ TQString EntryGroupItem::key(int col_, bool) const { ++it) { tokens += (*it); if(!(*it).endsWith(TQChar('\''))) { - tokens += TQString::tqfromLatin1("\\s"); + tokens += TQString::fromLatin1("\\s"); } // if it's not the last item, add a pipe if((*it) != prefixes.last()) { tokens += TQChar('|'); } } - TQRegExp rx(TQString::tqfromLatin1("^(") + tokens + TQChar(')'), false); + TQRegExp rx(TQString::fromLatin1("^(") + tokens + TQChar(')'), false); // expensive if(rx.search(m_text) > -1) { m_key = m_text.mid(rx.matchedLength()); -- cgit v1.2.1