summaryrefslogtreecommitdiffstats
path: root/kstars/kstars/kstarsactions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kstars/kstars/kstarsactions.cpp')
-rw-r--r--kstars/kstars/kstarsactions.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kstars/kstars/kstarsactions.cpp b/kstars/kstars/kstarsactions.cpp
index 0ab9935a..ccee1904 100644
--- a/kstars/kstars/kstarsactions.cpp
+++ b/kstars/kstars/kstarsactions.cpp
@@ -452,7 +452,7 @@ void KStars::slotExportImage() {
{
int r=KMessageBox::warningContinueCancel(TQT_TQWIDGET(parent()),
i18n( "A file named \"%1\" already exists. "
- "Overwrite it?" ).tqarg(fileURL.fileName()),
+ "Overwrite it?" ).arg(fileURL.fileName()),
i18n( "Overwrite File?" ),
i18n( "&Overwrite" ) );
@@ -501,7 +501,7 @@ void KStars::slotRunScript() {
if ( tmpfile.name() == fname ) { //upload to remote location
if ( ! KIO::NetAccess::upload( tmpfile.name(), fileURL, this ) ) {
- TQString message = i18n( "Could not upload image to remote location: %1" ).tqarg( fileURL.prettyURL() );
+ TQString message = i18n( "Could not upload image to remote location: %1" ).arg( fileURL.prettyURL() );
KMessageBox::sorry( 0, message, i18n( "Could not upload file" ) );
}
}
@@ -528,7 +528,7 @@ void KStars::slotRunScript() {
}
if ( !f.open( IO_ReadOnly) ) {
- TQString message = i18n( "Could not open file %1" ).tqarg( f.name() );
+ TQString message = i18n( "Could not open file %1" ).arg( f.name() );
KMessageBox::sorry( 0, message, i18n( "Could Not Open File" ) );
return;
}
@@ -563,7 +563,7 @@ void KStars::slotRunScript() {
//FIXME STRINGS FREEZE
//Add statusbar message that script is running
- //ks->statusBar()->changeItem( i18n( "Running script: %1" ).tqarg( fileURL.fileName() ), 0 );
+ //ks->statusBar()->changeItem( i18n( "Running script: %1" ).arg( fileURL.fileName() ), 0 );
KProcess p;
p << f.name();
@@ -823,7 +823,7 @@ void KStars::slotTargetSymbol() {
Options::setFOVName( f.name() );
Options::setFOVSize( f.size() );
- Options::setFOVShape( f.tqshape() );
+ Options::setFOVShape( f.shape() );
Options::setFOVColor( f.color() );
data()->fovSymbol.setName( Options::fOVName() );
data()->fovSymbol.setSize( Options::fOVSize() );
@@ -856,7 +856,7 @@ void KStars::slotFOVEdit() {
for ( FOV *fov = fovdlg.FOVList.first(); fov; fov = fovdlg.FOVList.next() )
ostream << fov->name() << ":" << fov->size()
- << ":" << TQString("%1").tqarg( fov->tqshape() ) << ":" << fov->color() << endl;
+ << ":" << TQString("%1").arg( fov->shape() ) << ":" << fov->color() << endl;
f.close();
}
@@ -880,7 +880,7 @@ void KStars::slotFOVEdit() {
}
}
} else {
- kdDebug() << i18n( "Could not open file: %1" ).tqarg( f.name() ) << endl;
+ kdDebug() << i18n( "Could not open file: %1" ).arg( f.name() ) << endl;
}
fovActionMenu->popupMenu()->insertSeparator();