summaryrefslogtreecommitdiffstats
path: root/korganizer/kotodoviewitem.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:50 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:50 -0600
commit9cc13dcbb01a96c9e60a07ca63c61d24b374f50d (patch)
treeab537a329b9613e11dce8195761f93ffe82aed24 /korganizer/kotodoviewitem.cpp
parent3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (diff)
downloadtdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.tar.gz
tdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.
Diffstat (limited to 'korganizer/kotodoviewitem.cpp')
-rw-r--r--korganizer/kotodoviewitem.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/korganizer/kotodoviewitem.cpp b/korganizer/kotodoviewitem.cpp
index e7fad7da..3fe929b6 100644
--- a/korganizer/kotodoviewitem.cpp
+++ b/korganizer/kotodoviewitem.cpp
@@ -240,7 +240,7 @@ bool KOTodoViewItem::isAlternate()
#endif
}
-void KOTodoViewItem::paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int alignment)
+void KOTodoViewItem::paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int tqalignment)
{
TQColorGroup _cg = cg;
// If no todo is set, just don't paint anything...
@@ -249,12 +249,12 @@ void KOTodoViewItem::paintCell(TQPainter *p, const TQColorGroup &cg, int column,
if (isAlternate())
_cg.setColor(TQColorGroup::Base, static_cast< KOTodoListView* >(listView())->alternateBackground());
if (mTodo->hasDueDate()) {
- if (mTodo->dtDue().date()==TQDate::currentDate() &&
+ if (mTodo->dtDue().date()==TQDate::tqcurrentDate() &&
!mTodo->isCompleted()) {
_cg.setColor(TQColorGroup::Base, KOPrefs::instance()->mTodoDueTodayColor);
_cg.setColor(TQColorGroup::Text, getTextColor(KOPrefs::instance()->mTodoDueTodayColor));
}
- if (mTodo->dtDue().date() < TQDate::currentDate() &&
+ if (mTodo->dtDue().date() < TQDate::tqcurrentDate() &&
!mTodo->isCompleted()) {
_cg.setColor(TQColorGroup::Base, KOPrefs::instance()->mTodoOverdueColor);
_cg.setColor(TQColorGroup::Text, getTextColor(KOPrefs::instance()->mTodoOverdueColor));
@@ -275,6 +275,6 @@ void KOTodoViewItem::paintCell(TQPainter *p, const TQColorGroup &cg, int column,
KGlobalSettings::highlightColor() );
p->restore();
} else {
- TQCheckListItem::paintCell(p, _cg, column, width, alignment);
+ TQCheckListItem::paintCell(p, _cg, column, width, tqalignment);
}
}