summaryrefslogtreecommitdiffstats
path: root/kmymoney2/widgets/kmymoneydatetbl.cpp
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-04-13 02:20:30 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2012-04-13 02:20:30 -0500
commit2943dd3424f5363483d65eb10d0cae34bd2051c7 (patch)
treead1535e913d633aa51849390e45fae71280a5011 /kmymoney2/widgets/kmymoneydatetbl.cpp
parent9485ffbe6ee7a34abcf18b6f97d519949970f1a5 (diff)
downloadkmymoney-2943dd3424f5363483d65eb10d0cae34bd2051c7.tar.gz
kmymoney-2943dd3424f5363483d65eb10d0cae34bd2051c7.zip
Fix inadvertent "TQ" changes.
Diffstat (limited to 'kmymoney2/widgets/kmymoneydatetbl.cpp')
-rw-r--r--kmymoney2/widgets/kmymoneydatetbl.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kmymoney2/widgets/kmymoneydatetbl.cpp b/kmymoney2/widgets/kmymoneydatetbl.cpp
index 37d1311..2a51307 100644
--- a/kmymoney2/widgets/kmymoneydatetbl.cpp
+++ b/kmymoney2/widgets/kmymoneydatetbl.cpp
@@ -178,7 +178,7 @@ kMyMoneyDateTbl::paintCell(TQPainter *painter, int row, int col)
if(rect.height()>maxCell.height())
maxCell.setHeight(rect.height());
}
- else if (m_type == TQUARTERLY)
+ else if (m_type == QUARTERLY)
{
int athird = width()/3;
@@ -253,7 +253,7 @@ kMyMoneyDateTbl::paintCell(TQPainter *painter, int row, int col)
drawDate = date.addDays(diff);
}
- else if (m_type == TQUARTERLY)
+ else if (m_type == QUARTERLY)
{
}
@@ -444,7 +444,7 @@ kMyMoneyDateTbl::contentsMouseReleaseEvent(TQMouseEvent *e)
setDate(date.addDays(diff));
updateCell(dayOfWeek, 0);
}
- else if (m_type == TQUARTERLY)
+ else if (m_type == QUARTERLY)
{
}
@@ -538,11 +538,11 @@ void kMyMoneyDateTbl::setType(calendarType type)
m_colCount = 1;
m_type = WEEKLY;
}
- else if (type == TQUARTERLY)
+ else if (type == QUARTERLY)
{
m_rowCount = 7;
m_colCount = 21;
- m_type = TQUARTERLY;
+ m_type = QUARTERLY;
}
else // default to monthly
{
@@ -628,7 +628,7 @@ void kMyMoneyDateTbl::contentsMouseMoveEvent(TQMouseEvent* e)
drawDate = date.addDays(diff);
}
- else if (m_type == TQUARTERLY)
+ else if (m_type == QUARTERLY)
{
}