summaryrefslogtreecommitdiffstats
path: root/kstars/kstars/kstarsdata.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:44:41 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:44:41 +0000
commita374efce3a207b39514be3c52264091400ce297e (patch)
tree77bdf654b55826d4f59b53a5621310206bcaead1 /kstars/kstars/kstarsdata.h
parentf81a494f3957d5cf38c787973415597941934727 (diff)
downloadtdeedu-a374efce3a207b39514be3c52264091400ce297e.tar.gz
tdeedu-a374efce3a207b39514be3c52264091400ce297e.zip
TQt4 port kdeedu
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1236073 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kstars/kstars/kstarsdata.h')
-rw-r--r--kstars/kstars/kstarsdata.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/kstars/kstars/kstarsdata.h b/kstars/kstars/kstarsdata.h
index 0a358a42..0ba7b40b 100644
--- a/kstars/kstars/kstarsdata.h
+++ b/kstars/kstars/kstarsdata.h
@@ -86,9 +86,10 @@ class CustomCatalog;
*@version 1.0
*/
-class KStarsData : public QObject
+class KStarsData : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
//Friend classes can see the private data.
friend class FindDialog;
@@ -134,7 +135,7 @@ public:
*/
bool readTimeZoneRulebook( void );
- /**Parse one line from a locations database file. The line contains 10 or 11 fields
+ /**Parse one line from a locations database file. The line tqcontains 10 or 11 fields
*separated by colons (":"). The fields are:
*@li City Name [string]
*@li Province Name (optional) [string]
@@ -326,7 +327,7 @@ public:
//TODO JM: ADV tree should use XML instead
/**Read Advanced interface structure to be used later to construct the list view in
*the advanced tab in the Detail Dialog.
- *@li KSLABEL designates a top-level parent label
+ *@li KSLABEL designates a top-level tqparent label
*@li KSINTERFACE designates a common URL interface for several objects
*@li END designates the end of a sub tree structure
*@short read Advanted interface structure.
@@ -351,7 +352,7 @@ public:
/**Read in URLs to be attached to a named object's right-click popup menu. At this
*point, there is no way to attach URLs to unnamed objects. There are two
*kinds of URLs, each with its own data file: image links and webpage links. In addition,
- *there may be user-specific versions with custom URLs. Each line contains 3 fields
+ *there may be user-specific versions with custom URLs. Each line tqcontains 3 fields
*separated by colons (":"). Note that the last field is the URL, and as such it will
*generally contain a colon itself. Only the first two colons encountered are treated
*as field separators. The fields are:
@@ -449,7 +450,7 @@ public:
KSPlanet *earth() { return PCat->earth(); }
/**@short Find object by name.
- *@param name Object name to find
+ *@param name Object name to tqfind
*@return pointer to SkyObject matching this name
*/
SkyObject* objectNamed( const TQString &name );
@@ -576,7 +577,7 @@ public slots:
void initialize();
/**@short send a message to the console*/
- void slotConsoleMessage( TQString s ) { std::cout << s.utf8() << std::endl; }
+ void slotConsoleMessage( TQString s ) { std::cout << s.utf8().data() << std::endl; }
/**Update the Simulation Clock. Update positions of Planets. Update
*Alt/Az coordinates of objects. Update precession. Update Focus position.