summaryrefslogtreecommitdiffstats
path: root/kalarm/alarmlistview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/alarmlistview.cpp')
-rw-r--r--kalarm/alarmlistview.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kalarm/alarmlistview.cpp b/kalarm/alarmlistview.cpp
index 3bbe042fd..546752ea2 100644
--- a/kalarm/alarmlistview.cpp
+++ b/kalarm/alarmlistview.cpp
@@ -507,8 +507,8 @@ TQString AlarmListViewItem::alarmTimeText(const DateTime& dateTime) const
if (!TQApplication::reverseLayout()) // don't try to align right-to-left languages
{
TQString fmt = locale->timeFormat();
- int i = fmt.tqfind(TQRegExp("%[kl]")); // check if leading zeroes are omitted
- if (i >= 0 && i == fmt.tqfind('%')) // and whether the hour is first
+ int i = fmt.find(TQRegExp("%[kl]")); // check if leading zeroes are omitted
+ if (i >= 0 && i == fmt.find('%')) // and whether the hour is first
mTimeHourPos = i; // yes, so need to align
}
}
@@ -593,7 +593,7 @@ void AlarmListViewItem::paintCell(TQPainter* painter, const TQColorGroup& cg, in
if (mTimeHourPos >= 0)
{
// Need to pad out spacing to align times without leading zeroes
- i = str.tqfind(" ~");
+ i = str.find(" ~");
if (i >= 0)
{
if (mDigitWidth < 0)