summaryrefslogtreecommitdiffstats
path: root/tdeui/kdatepicker.cpp
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2013-11-28 13:28:01 -0600
committerDarrell Anderson <humanreadable@yahoo.com>2013-11-28 13:28:01 -0600
commit72849e2a6f973af3eeaa573a66635e37cc427bb0 (patch)
tree2d3beea645819ba70a32c19a092a874f4e89c399 /tdeui/kdatepicker.cpp
parentb46a7c35c167304acc48675b979ca8b32bc3d293 (diff)
downloadtdelibs-72849e2a6f973af3eeaa573a66635e37cc427bb0.tar.gz
tdelibs-72849e2a6f973af3eeaa573a66635e37cc427bb0.zip
Fix remnant QMIN/QMAX to TQMIN/TQMAX.
Diffstat (limited to 'tdeui/kdatepicker.cpp')
-rw-r--r--tdeui/kdatepicker.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tdeui/kdatepicker.cpp b/tdeui/kdatepicker.cpp
index 99f1ce4af..53538b5fe 100644
--- a/tdeui/kdatepicker.cpp
+++ b/tdeui/kdatepicker.cpp
@@ -371,7 +371,7 @@ KDatePicker::selectMonthClicked()
int day = calendar->day(date);
// ----- construct a valid date in this month:
calendar->setYMD(date, calendar->year(date), month, 1);
- date = TQT_TQDATE_OBJECT(date.addDays(QMIN(day, calendar->daysInMonth(date)) - 1));
+ date = TQT_TQDATE_OBJECT(date.addDays(TQMIN(day, calendar->daysInMonth(date)) - 1));
// ----- set this month
setDate(date);
}
@@ -406,9 +406,9 @@ KDatePicker::selectYearClicked()
day=calendar->day(date);
// ----- construct a valid date in this month:
//date.setYMD(year, date.month(), 1);
- //date.setYMD(year, date.month(), QMIN(day, date.daysInMonth()));
+ //date.setYMD(year, date.month(), TQMIN(day, date.daysInMonth()));
calendar->setYMD(date, year, calendar->month(date),
- QMIN(day, calendar->daysInMonth(date)));
+ TQMIN(day, calendar->daysInMonth(date)));
// ----- set this month
setDate(date);
} else {
@@ -503,8 +503,8 @@ KDatePicker::setFontSize(int s)
TDEGlobal::locale()->calendar()->year(table->getDate()), false);
if (str.isNull()) break;
r=metrics.boundingRect(str);
- maxMonthRect.setWidth(QMAX(r.width(), maxMonthRect.width()));
- maxMonthRect.setHeight(QMAX(r.height(), maxMonthRect.height()));
+ maxMonthRect.setWidth(TQMAX(r.width(), maxMonthRect.width()));
+ maxMonthRect.setHeight(TQMAX(r.height(), maxMonthRect.height()));
}
TQSize metricBound = style().tqsizeFromContents(TQStyle::CT_ToolButton,