summaryrefslogtreecommitdiffstats
path: root/kstars/kstars/tools/planetviewer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kstars/kstars/tools/planetviewer.cpp')
-rw-r--r--kstars/kstars/tools/planetviewer.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kstars/kstars/tools/planetviewer.cpp b/kstars/kstars/tools/planetviewer.cpp
index 429b1f7b..d036b925 100644
--- a/kstars/kstars/tools/planetviewer.cpp
+++ b/kstars/kstars/tools/planetviewer.cpp
@@ -17,7 +17,7 @@
#include <stdlib.h> //needed for abs() on some platforms
#include <tqfile.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <kdebug.h>
#include <klocale.h>
#include <kglobal.h>
@@ -233,7 +233,7 @@ PVPlotWidget::PVPlotWidget( double x1, double x2, double y1, double y2, TQWidget
mouseButtonDown(false), oldx(0), oldy(0) {
setFocusPolicy( TQ_StrongFocus );
setMouseTracking (true);
- pv = (PlanetViewer*)topLevelWidget();
+ pv = (PlanetViewer*)tqtopLevelWidget();
}
PVPlotWidget::PVPlotWidget( TQWidget *parent, const char *name ) :
@@ -241,7 +241,7 @@ PVPlotWidget::PVPlotWidget( TQWidget *parent, const char *name ) :
mouseButtonDown(false), oldx(0), oldy(0) {
setFocusPolicy( TQ_StrongFocus );
setMouseTracking (true);
- pv = (PlanetViewer*)topLevelWidget();
+ pv = (PlanetViewer*)tqtopLevelWidget();
}
PVPlotWidget::~ PVPlotWidget() {}
@@ -416,7 +416,7 @@ void PVPlotWidget::mouseMoveEvent( TQMouseEvent *e ) {
setLimits( xc - 0.5*dataWidth(), xc + 0.5*dataWidth(),
yc - 0.5*dataHeight(), yc + 0.5*dataHeight() );
update();
- kapp->processEvents(20);
+ kapp->tqprocessEvents(20);
}
oldx = e->x();