summaryrefslogtreecommitdiffstats
path: root/kcron/ktview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kcron/ktview.cpp')
-rw-r--r--kcron/ktview.cpp10
1 files changed, 5 insertions, 5 deletions
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()