summaryrefslogtreecommitdiffstats
path: root/kmoon/kmoonapplet.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:50:42 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:50:42 -0600
commit6cdf35ab11c322f33feca5baf090ef56068b6049 (patch)
treeca493b21887096329578b1c02530fd4ca9388cfc /kmoon/kmoonapplet.cpp
parent44b2e94b380d4e5ec1539874823ffc06f05515cb (diff)
downloadtdetoys-6cdf35ab11c322f33feca5baf090ef56068b6049.tar.gz
tdetoys-6cdf35ab11c322f33feca5baf090ef56068b6049.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kmoon/kmoonapplet.cpp')
-rw-r--r--kmoon/kmoonapplet.cpp10
1 files changed, 5 insertions, 5 deletions
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 <tqtooltip.h>
#include <tqpainter.h>
#include <tqpopupmenu.h>
-#include <tqlayout.h>
+#include <layout.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::tqfromLatin1("\n\n") +
+ TQString text = i18n(description) + TQString::fromLatin1("\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();
}
- 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)