diff options
author | Timothy Pearson <[email protected]> | 2011-12-19 11:59:40 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-19 11:59:40 -0600 |
commit | 59a076e9336f1eebda8650437e6bc61077be1516 (patch) | |
tree | a2e4658f80b77270d84b50bd116f84eaea7efab0 /kmoon | |
parent | 3ee504ecba6caf3c2609a8648fe3659f2b541544 (diff) | |
download | tdetoys-59a076e9336f1eebda8650437e6bc61077be1516.tar.gz tdetoys-59a076e9336f1eebda8650437e6bc61077be1516.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'kmoon')
-rw-r--r-- | kmoon/kmoonapplet.cpp | 4 | ||||
-rw-r--r-- | kmoon/kmoonwidget.cpp | 12 |
2 files changed, 8 insertions, 8 deletions
diff --git a/kmoon/kmoonapplet.cpp b/kmoon/kmoonapplet.cpp index 5a4beab..442052d 100644 --- a/kmoon/kmoonapplet.cpp +++ b/kmoon/kmoonapplet.cpp @@ -136,7 +136,7 @@ void MoonPAWidget::settings() config->writeEntry("Mask", moon->mask()); config->sync(); } - tqrepaint(); + repaint(); } void MoonPAWidget::timerEvent( TQTimerEvent * ) @@ -145,7 +145,7 @@ void MoonPAWidget::timerEvent( TQTimerEvent * ) time(&clock); struct tm *t = localtime(&clock); moon->calcStatus(mktime(t)); - moon->tqrepaint(); + moon->repaint(); } void MoonPAWidget::mousePressEvent( TQMouseEvent *e) diff --git a/kmoon/kmoonwidget.cpp b/kmoon/kmoonwidget.cpp index 8b769e1..fd4dcf1 100644 --- a/kmoon/kmoonwidget.cpp +++ b/kmoon/kmoonwidget.cpp @@ -217,14 +217,14 @@ void MoonWidget::calcStatus( time_t time ) } renderGraphic(); - tqrepaint(); + repaint(); } TQImage MoonWidget::loadMoon(int index) { if (index == 0) // the new moon has the wrong filename index = 29; - TQString filename = TQString("kmoon/pics/moon%1.png").tqarg(index); + TQString filename = TQString("kmoon/pics/moon%1.png").arg(index); TQString path = locate("data", filename); if (path.isNull()) kdFatal() << "cound't find " << filename << ". Exiting.\n"; @@ -238,21 +238,21 @@ void MoonWidget::setAngle(int value) { _angle = value; renderGraphic(); - tqrepaint(); + repaint(); } void MoonWidget::setNorthHemi(bool n) { _north = n; renderGraphic(); - tqrepaint(); + repaint(); } void MoonWidget::setMask(bool value) { _mask = value; renderGraphic(); - tqrepaint(); + repaint(); } void MoonWidget::paintEvent(TQPaintEvent *) @@ -263,7 +263,7 @@ void MoonWidget::paintEvent(TQPaintEvent *) void MoonWidget::resizeEvent(TQResizeEvent *) { renderGraphic(); - tqrepaint(); + repaint(); } void MoonWidget::renderGraphic() |