diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:34:15 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:34:15 -0600 |
commit | 031454e56009d576589c28757f6c6fcf4884095e (patch) | |
tree | ad4c9959d05a814c9090e8fe63ba27057903271b /src/entrygroupitem.cpp | |
parent | 54011e0e1af8cd96162160ecf5d361a59a2c733e (diff) | |
download | tellico-031454e56009d576589c28757f6c6fcf4884095e.tar.gz tellico-031454e56009d576589c28757f6c6fcf4884095e.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/entrygroupitem.cpp')
-rw-r--r-- | src/entrygroupitem.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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()); |