diff options
author | Timothy Pearson <[email protected]> | 2011-12-19 11:59:40 -0600 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2012-06-04 02:12:12 +0200 |
commit | 82719e3d3766b49e507b4d0811133884f27c898e (patch) | |
tree | c1eba6519790b4194cc93b114b0f1d3947fe6a36 /kworldwatch/zoneclock.cpp | |
parent | b4dcf7866a6902adf76c3837f65395a37973a681 (diff) | |
download | tdetoys-82719e3d3766b49e507b4d0811133884f27c898e.tar.gz tdetoys-82719e3d3766b49e507b4d0811133884f27c898e.zip |
Remove additional unneeded tq method conversions
(cherry picked from commit 59a076e9336f1eebda8650437e6bc61077be1516)
Diffstat (limited to 'kworldwatch/zoneclock.cpp')
-rw-r--r-- | kworldwatch/zoneclock.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kworldwatch/zoneclock.cpp b/kworldwatch/zoneclock.cpp index bc61c9b..9f1c953 100644 --- a/kworldwatch/zoneclock.cpp +++ b/kworldwatch/zoneclock.cpp @@ -122,7 +122,7 @@ void ZoneClock::editClock() _name = _dlg->ClockCaption->text().append(":"); _nameLabel->setText(_dlg->ClockCaption->text().append(":")); updateTime(); - tqlayout()->tqinvalidate(); + tqlayout()->invalidate(); emit changed(); } @@ -152,7 +152,7 @@ void ZoneClock::updateTime() time_t t = time(NULL); TQDateTime dt; dt.setTime_t(t); - _timeLabel->setText(TQString("%1, %2").tqarg(KGlobal::locale()->formatTime(dt.time(), true)).tqarg(KGlobal::locale()->formatDate(dt.date(), true))); + _timeLabel->setText(TQString("%1, %2").arg(KGlobal::locale()->formatTime(dt.time(), true)).arg(KGlobal::locale()->formatDate(dt.date(), true))); if (initial_TZ != 0) setenv("TZ", initial_TZ, 1); @@ -266,8 +266,8 @@ void ZoneClockPanel::save(KConfig *config) { TQString n = it.current()->name(); n = n.left(n.length()-1); - config->writeEntry(TQString("Clock_%1_Name").tqarg(cnt), n); - config->writeEntry(TQString("Clock_%1_Zone").tqarg(cnt), it.current()->zone()); + config->writeEntry(TQString("Clock_%1_Name").arg(cnt), n); + config->writeEntry(TQString("Clock_%1_Zone").arg(cnt), it.current()->zone()); cnt++; } } @@ -281,7 +281,7 @@ void ZoneClockPanel::load(KConfig *config) for (int i=0; i<num; ++i) { - addClock(config->readEntry(TQString("Clock_%1_Zone").tqarg(i)), config->readEntry(TQString("Clock_%1_Name").tqarg(i))); + addClock(config->readEntry(TQString("Clock_%1_Zone").arg(i)), config->readEntry(TQString("Clock_%1_Name").arg(i))); } } |