summaryrefslogtreecommitdiffstats
path: root/kicker/applets/clock
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-19 11:53:50 -0600
committerSlávek Banko <[email protected]>2012-06-03 03:26:29 +0200
commita5b44fbe44e58478ad74d819c5f4c36926d31872 (patch)
treefa07b25a5c2a60b5e0b438a0af16d06c9a5ac498 /kicker/applets/clock
parent6a1f2b1b6b19b0dd47b1e58afff29a12ae158226 (diff)
downloadtdebase-a5b44fbe44e58478ad74d819c5f4c36926d31872.tar.gz
tdebase-a5b44fbe44e58478ad74d819c5f4c36926d31872.zip
Remove additional unneeded tq method conversions
(cherry picked from commit f64397c82fa94371ab4a64af28c4d0029f4cd93f)
Diffstat (limited to 'kicker/applets/clock')
-rw-r--r--kicker/applets/clock/clock.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kicker/applets/clock/clock.cpp b/kicker/applets/clock/clock.cpp
index 6c4bb7175..772ea1601 100644
--- a/kicker/applets/clock/clock.cpp
+++ b/kicker/applets/clock/clock.cpp
@@ -827,7 +827,7 @@ void FuzzyClock::drawContents(TQPainter *p)
}
if (phStart >= 0)
newTimeStr.replace(phStart, phLength, hourNames[realHour]);
- newTimeStr.replace(0, 1, TQString(newTimeStr.tqat(0).upper()));
+ newTimeStr.replace(0, 1, TQString(newTimeStr.at(0).upper()));
}
} else if (_prefs->fuzzyness() == 3) {
newTimeStr = dayTime[_time.hour() / 3];
@@ -1020,7 +1020,7 @@ int ClockApplet::widthForHeight(int h) const
// if the date format STARTS with a year, assume it's in descending
// order and should therefore PRECEED the date.
TQString dateFormat = KGlobal::locale()->dateFormatShort();
- dateFirst = dateFormat.tqat(1) == 'y' || dateFormat.tqat(1) == 'Y';
+ dateFirst = dateFormat.at(1) == 'y' || dateFormat.at(1) == 'Y';
}
if (dateFirst)
@@ -1272,7 +1272,7 @@ void ClockApplet::reconfigure()
_clock->widget()->installEventFilter(this); // catch mouse clicks
_clock->widget()->show();
- _clock->forceUpdate(); /* force tqrepaint */
+ _clock->forceUpdate(); /* force repaint */
if (showDayOfWeek)
{
@@ -1623,7 +1623,7 @@ void ClockApplet::showZone(int z)
zone->setZone(z);
TZoffset = zone->calc_TZ_offset( zone->zone() );
updateDateLabel();
- _clock->forceUpdate(); /* force tqrepaint */
+ _clock->forceUpdate(); /* force repaint */
}
void ClockApplet::nextZone()