From 6cdf35ab11c322f33feca5baf090ef56068b6049 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:50:42 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- kmoon/kmoonapplet.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kmoon/kmoonapplet.cpp') diff --git a/kmoon/kmoonapplet.cpp b/kmoon/kmoonapplet.cpp index c7051a7..e469b68 100644 --- a/kmoon/kmoonapplet.cpp +++ b/kmoon/kmoonapplet.cpp @@ -27,7 +27,7 @@ #include #include #include -#include +#include #include #include @@ -104,7 +104,7 @@ void MoonPAWidget::showAbout() KStdGuiItem::ok() ); TQPixmap ret = DesktopIcon("kmoon"); - TQString text = i18n(description) + TQString::tqfromLatin1("\n\n") + + TQString text = i18n(description) + TQString::fromLatin1("\n\n") + i18n("Written by Stephan Kulow \n" "\n" "Made an applet by M G Berberich " @@ -136,7 +136,7 @@ void MoonPAWidget::settings() config->writeEntry("Mask", moon->mask()); config->sync(); } - tqrepaint(); + repaint(); } void MoonPAWidget::timerEvent( TQTimerEvent * ) @@ -144,8 +144,8 @@ void MoonPAWidget::timerEvent( TQTimerEvent * ) time_t clock; time(&clock); struct tm *t = localtime(&clock); - moon->calctqStatus(mktime(t)); - moon->tqrepaint(); + moon->calcStatus(mktime(t)); + moon->repaint(); } void MoonPAWidget::mousePressEvent( TQMouseEvent *e) -- cgit v1.2.1