summaryrefslogtreecommitdiffstats
path: root/src/entrygroupitem.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-18 18:15:24 -0600
committerTimothy Pearson <[email protected]>2011-12-18 18:15:24 -0600
commit8d9b90ca794ffabf151719c2edebe9278a2d3f36 (patch)
tree55f446de8694c45be6bf0f1178920c2b92b0c9f5 /src/entrygroupitem.cpp
parent2781e27b871150395a5a82e221684108641002b2 (diff)
downloadtellico-8d9b90ca794ffabf151719c2edebe9278a2d3f36.tar.gz
tellico-8d9b90ca794ffabf151719c2edebe9278a2d3f36.zip
Rename old tq methods that no longer need a unique name
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());