summaryrefslogtreecommitdiffstats
path: root/src/entrygroupitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/entrygroupitem.cpp')
-rw-r--r--src/entrygroupitem.cpp8
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());