From d1248617107f659af9d03cf1ef6d783571a0cba8 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:45:05 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- kcron/ktview.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kcron/ktview.cpp') diff --git a/kcron/ktview.cpp b/kcron/ktview.cpp index 7422aa5..27341de 100644 --- a/kcron/ktview.cpp +++ b/kcron/ktview.cpp @@ -266,16 +266,16 @@ void KTView :: pageHeading (KTListItem* user, KTPrint &printer) const { TQFont stnd; TQString logonInfo; - TQDateTime now (TQDateTime::tqcurrentDateTime()); + TQDateTime now (TQDateTime::currentDateTime()); char hostName[20]; gethostname(hostName, 20); // SSA : Fix Me user name, logon name and host name musst be // SSA : not only in us-ascii ?? logonInfo = i18n("user on host", "%1 <%2> on %3") - .tqarg(TQString::fromLocal8Bit(user->getCTCron()->name.c_str())) - .tqarg(TQString::fromLocal8Bit(user->getCTCron()->login.c_str())) - .tqarg(TQString::fromLocal8Bit(hostName)); + .arg(TQString::fromLocal8Bit(user->getCTCron()->name.c_str())) + .arg(TQString::fromLocal8Bit(user->getCTCron()->login.c_str())) + .arg(TQString::fromLocal8Bit(hostName)); stnd = printer.getFont(); printer.setFont(TQFont( KGlobalSettings::generalFont().family(), 14, TQFont::Bold )); @@ -315,7 +315,7 @@ void KTView::resizeEvent (TQResizeEvent*) { listView->setFixedWidth(width()); listView->setFixedHeight(height()); - tqrepaint(); + repaint(); } void KTView::copy() -- cgit v1.2.1