summaryrefslogtreecommitdiffstats
path: root/kstars/kstars/ksplanetbase.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
commit0a6e0958c03e41c87b15557b6f407874f20c2f8d (patch)
tree2cdd58c4013b1be09cfcbb4ddae2b05712b9aeee /kstars/kstars/ksplanetbase.h
parent83f9dfafc157ff7823804b3ff457b43d021a5b4b (diff)
downloadtdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.tar.gz
tdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1157642 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kstars/kstars/ksplanetbase.h')
-rw-r--r--kstars/kstars/ksplanetbase.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/kstars/kstars/ksplanetbase.h b/kstars/kstars/ksplanetbase.h
index 6d29c8ad..0c15a1a5 100644
--- a/kstars/kstars/ksplanetbase.h
+++ b/kstars/kstars/ksplanetbase.h
@@ -19,9 +19,9 @@
#ifndef KSPLANETBASE_H
#define KSPLANETBASE_H
-#include <qstring.h>
-#include <qptrlist.h>
-#include <qimage.h>
+#include <tqstring.h>
+#include <tqptrlist.h>
+#include <tqimage.h>
#include <kdebug.h>
@@ -80,7 +80,7 @@ public:
*
*@todo Figure out what @p kd does.
*/
- KSPlanetBase( KStarsData *kd, QString s = i18n("unnamed"), QString image_file="", double pSize=0 );
+ KSPlanetBase( KStarsData *kd, TQString s = i18n("unnamed"), TQString image_file="", double pSize=0 );
/**
*Destructor (empty)
@@ -166,11 +166,11 @@ public:
/**@return pointer to image of planet
*/
- QImage* image( void ) { return &Image; }
+ TQImage* image( void ) { return &Image; }
/**@return pointer to unrotated image of planet
*/
- QImage* image0( void ) { return &Image0; }
+ TQImage* image0( void ) { return &Image0; }
/**@return distance from Sun, in Astronomical Units (1 AU is Earth-Sun distance)
*/
@@ -249,7 +249,7 @@ public:
/**@return a reference to the planet's trail
*/
- QPtrList<SkyPoint>* trail() { return &Trail; }
+ TQPtrList<SkyPoint>* trail() { return &Trail; }
/**@short adds a point to the planet's trail
*/
@@ -283,10 +283,10 @@ public:
*@param pmenu pointer to the KSPopupMenu object
*@param pos QPojnt holding the x,y coordinates for the menu
*/
- virtual void showPopupMenu( KSPopupMenu *pmenu, QPoint pos ) { pmenu->createPlanetMenu( this ); pmenu->popup( pos ); }
+ virtual void showPopupMenu( KSPopupMenu *pmenu, TQPoint pos ) { pmenu->createPlanetMenu( this ); pmenu->popup( pos ); }
protected:
- virtual bool loadData(QString n) {
+ virtual bool loadData(TQString n) {
kdDebug() << "didn't reimplement for " << n << endl; return false;
}
@@ -311,7 +311,7 @@ protected:
// Heliocentric ecliptic position referred to the equinox of the epoch
// as obtained from VSOP.
EclipticPosition helEcPos;
- QPtrList<SkyPoint> Trail;
+ TQPtrList<SkyPoint> Trail;
double Rearth;
private:
@@ -333,7 +333,7 @@ private:
*/
void findMagnitude(const KSNumbers *num);
- QImage Image0, Image;
+ TQImage Image0, Image;
double PositionAngle, ImageAngle, AngularSize, PhysicalSize;
KStarsData *data;
};