summaryrefslogtreecommitdiffstats
path: root/kcontrol/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 /kcontrol/clock
parent6a1f2b1b6b19b0dd47b1e58afff29a12ae158226 (diff)
downloadtdebase-a5b44fbe44e58478ad74d819c5f4c36926d31872.tar.gz
tdebase-a5b44fbe44e58478ad74d819c5f4c36926d31872.zip
Remove additional unneeded tq method conversions
(cherry picked from commit f64397c82fa94371ab4a64af28c4d0029f4cd93f)
Diffstat (limited to 'kcontrol/clock')
-rw-r--r--kcontrol/clock/dtime.cpp4
-rw-r--r--kcontrol/clock/tzone.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/kcontrol/clock/dtime.cpp b/kcontrol/clock/dtime.cpp
index 96183b73d..109e436c4 100644
--- a/kcontrol/clock/dtime.cpp
+++ b/kcontrol/clock/dtime.cpp
@@ -293,7 +293,7 @@ void Dtime::save()
proc << ntpUtility << timeServer;
proc.start( KProcess::Block );
if( proc.exitStatus() != 0 ){
- KMessageBox::error( this, i18n(TQString("Unable to contact time server: %1.").tqarg(timeServer).latin1()));
+ KMessageBox::error( this, i18n(TQString("Unable to contact time server: %1.").arg(timeServer).latin1()));
setDateTimeAuto->setChecked( false );
}
else {
@@ -368,7 +368,7 @@ TQString Dtime::quickHelp() const
void Kclock::setTime(const TQTime &time)
{
this->time = time;
- tqrepaint();
+ repaint();
}
void Kclock::paintEvent( TQPaintEvent * )
diff --git a/kcontrol/clock/tzone.cpp b/kcontrol/clock/tzone.cpp
index 53325c9c5..9498a062a 100644
--- a/kcontrol/clock/tzone.cpp
+++ b/kcontrol/clock/tzone.cpp
@@ -77,7 +77,7 @@ void Tzone::currentZone()
time_t now = time(0);
tzset();
strftime(result.data(), result.size(), "%Z", localtime(&now));
- m_local->setText(localZone.tqarg(KTimezoneWidget::displayName(m_zoneDb.local())).tqarg(static_cast<const char *>(result)));
+ m_local->setText(localZone.arg(KTimezoneWidget::displayName(m_zoneDb.local())).arg(static_cast<const char *>(result)));
}
// FIXME: Does the logic in this routine actually work correctly? For example,