summaryrefslogtreecommitdiffstats
path: root/kmymoney2/widgets/kmymoneydatetbl.cpp
diff options
context:
space:
mode:
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)
{
}