diff options
Diffstat (limited to 'kmoon/kmoonapplet.cpp')
-rw-r--r-- | kmoon/kmoonapplet.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kmoon/kmoonapplet.cpp b/kmoon/kmoonapplet.cpp index e469b68..c7051a7 100644 --- a/kmoon/kmoonapplet.cpp +++ b/kmoon/kmoonapplet.cpp @@ -27,7 +27,7 @@ #include <tqtooltip.h> #include <tqpainter.h> #include <tqpopupmenu.h> -#include <layout.h> +#include <tqlayout.h> #include <dcopclient.h> #include <kdebug.h> @@ -104,7 +104,7 @@ void MoonPAWidget::showAbout() KStdGuiItem::ok() ); TQPixmap ret = DesktopIcon("kmoon"); - TQString text = i18n(description) + TQString::fromLatin1("\n\n") + + TQString text = i18n(description) + TQString::tqfromLatin1("\n\n") + i18n("Written by Stephan Kulow <coolo@kde.org>\n" "\n" "Made an applet by M G Berberich " @@ -136,7 +136,7 @@ void MoonPAWidget::settings() config->writeEntry("Mask", moon->mask()); config->sync(); } - repaint(); + tqrepaint(); } void MoonPAWidget::timerEvent( TQTimerEvent * ) @@ -144,8 +144,8 @@ void MoonPAWidget::timerEvent( TQTimerEvent * ) time_t clock; time(&clock); struct tm *t = localtime(&clock); - moon->calcStatus(mktime(t)); - moon->repaint(); + moon->calctqStatus(mktime(t)); + moon->tqrepaint(); } void MoonPAWidget::mousePressEvent( TQMouseEvent *e) |