summaryrefslogtreecommitdiffstats
path: root/kstars/kstars/skyobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kstars/kstars/skyobject.cpp')
-rw-r--r--kstars/kstars/skyobject.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kstars/kstars/skyobject.cpp b/kstars/kstars/skyobject.cpp
index 29c6f7e5..db409e14 100644
--- a/kstars/kstars/skyobject.cpp
+++ b/kstars/kstars/skyobject.cpp
@@ -22,7 +22,7 @@
#include <tqpoint.h>
#include <tqregexp.h>
#include <tqfile.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include "skyobject.h"
#include "starobject.h" //needed in saveUserLog()
@@ -344,27 +344,27 @@ TQString SkyObject::messageFromTitle( const TQString &imageTitle ) {
//HST Image
if ( imageTitle == i18n( "Show HST Image" ) || imageTitle.contains("HST") ) {
- message = i18n( "%1: Hubble Space Telescope, operated by STScI for NASA [public domain]" ).tqarg( longname() );
+ message = i18n( "%1: Hubble Space Telescope, operated by STScI for NASA [public domain]" ).arg( longname() );
//Spitzer Image
} else if ( imageTitle.contains( i18n( "Show Spitzer Image" ) ) ) {
- message = i18n( "%1: Spitzer Space Telescope, courtesy NASA/JPL-Caltech [public domain]" ).tqarg( longname() );
+ message = i18n( "%1: Spitzer Space Telescope, courtesy NASA/JPL-Caltech [public domain]" ).arg( longname() );
//SEDS Image
} else if ( imageTitle == i18n( "Show SEDS Image" ) ) {
- message = i18n( "%1: SEDS, http://www.seds.org [free for non-commercial use]" ).tqarg( longname() );
+ message = i18n( "%1: SEDS, http://www.seds.org [free for non-commercial use]" ).arg( longname() );
//Kitt Peak AOP Image
} else if ( imageTitle == i18n( "Show KPNO AOP Image" ) ) {
- message = i18n( "%1: Advanced Observing Program at Kitt Peak National Observatory [free for non-commercial use; no physical reproductions]" ).tqarg( longname() );
+ message = i18n( "%1: Advanced Observing Program at Kitt Peak National Observatory [free for non-commercial use; no physical reproductions]" ).arg( longname() );
//NOAO Image
} else if ( imageTitle.contains( i18n( "Show NOAO Image" ) ) ) {
- message = i18n( "%1: National Optical Astronomy Observatories and AURA [free for non-commercial use]" ).tqarg( longname() );
+ message = i18n( "%1: National Optical Astronomy Observatories and AURA [free for non-commercial use]" ).arg( longname() );
//VLT Image
} else if ( imageTitle.contains( "VLT" ) ) {
- message = i18n( "%1: Very Large Telescope, operated by the European Southern Observatory [free for non-commercial use; no reproductions]" ).tqarg( longname() );
+ message = i18n( "%1: Very Large Telescope, operated by the European Southern Observatory [free for non-commercial use; no reproductions]" ).arg( longname() );
//All others
} else if ( imageTitle.startsWith( i18n( "Show" ) ) ) {
@@ -384,7 +384,7 @@ void SkyObject::saveUserLog( const TQString &newLog ) {
//Do nothing if new log is the "default" message
//(keep going if new log is empty; we'll want to delete its current entry)
- if ( newLog == (i18n("Record here observation logs and/or data on %1.").tqarg(name())) || newLog.isEmpty() )
+ if ( newLog == (i18n("Record here observation logs and/or data on %1.").arg(name())) || newLog.isEmpty() )
return;
// header label