diff options
Diffstat (limited to 'kipi-plugins/mpegencoder/kimg2mpg.cpp')
-rw-r--r-- | kipi-plugins/mpegencoder/kimg2mpg.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kipi-plugins/mpegencoder/kimg2mpg.cpp b/kipi-plugins/mpegencoder/kimg2mpg.cpp index 49f3cd3..29ec4ce 100644 --- a/kipi-plugins/mpegencoder/kimg2mpg.cpp +++ b/kipi-plugins/mpegencoder/kimg2mpg.cpp @@ -433,7 +433,7 @@ void KImg2mpgData::slotImagesFilesSelected( TQListBoxItem *item ) TQT_SLOT(slotFailedPreview(const KFileItem*))); int index = m_ImagesFilesListBox->index ( item ); - m_label7->setText(i18n("Image no. %1").tqarg(index + 1)); + m_label7->setText(i18n("Image no. %1").arg(index + 1)); } @@ -578,7 +578,7 @@ void KImg2mpgData::slotEncode( void ) if (TQFile::exists(OutputFileName)) { int Ret=KMessageBox::questionYesNo(this, i18n("The output MPEG file '%1' already exists.\n" - "Do you want overwrite this file?").tqarg(OutputFileName)); + "Do you want overwrite this file?").arg(OutputFileName)); if (Ret == KMessageBox::No) return; } @@ -688,7 +688,7 @@ void KImg2mpgData::slotEncode( void ) if (!TQFile::exists(FileName)) { KMessageBox::error(this, - i18n("Cannot access to file %1, please check the path is right.").tqarg(FileName)); + i18n("Cannot access to file %1, please check the path is right.").arg(FileName)); m_Abort = true; reset(); return; @@ -801,9 +801,9 @@ void KImg2mpgData::ShowNumberImages( int Number ) TotalDuration = TotalDuration.addMSecs((Number+1)*TransitionDuration); if ( Number < 2) - m_label6->setText(i18n("%1 image [%2]").tqarg(Number).tqarg(TotalDuration.toString())); + m_label6->setText(i18n("%1 image [%2]").arg(Number).arg(TotalDuration.toString())); else - m_label6->setText(i18n("%1 images [%2]").tqarg(Number).tqarg(TotalDuration.toString())); + m_label6->setText(i18n("%1 images [%2]").arg(Number).arg(TotalDuration.toString())); } @@ -840,7 +840,7 @@ void KImg2mpgData::readStderr(KProcess *, char *buffer, int buflen) ImgNum = 1; m_frame->setText(i18n("Encoding image file [%1/%2]...") - .tqarg(ImgNum).tqarg(m_ImagesFilesListBox->count())); + .arg(ImgNum).arg(m_ImagesFilesListBox->count())); if (ImgNum > 1) m_ImagesFilesListBox->setSelected(ImgNum-2, false); @@ -912,7 +912,7 @@ void KImg2mpgData::EncodeDone(KProcess*) m_frame->setText(i18n("Encoding terminated...")); int Ret=KMessageBox::warningYesNo(this, i18n("The encoding process has terminated...\n\n" - "Encoding duration: %1").tqarg(Encoding), + "Encoding duration: %1").arg(Encoding), i18n("'images2mpg' Script Execution Terminated"), i18n("&OK"), i18n("Show Process Messages")); @@ -930,7 +930,7 @@ void KImg2mpgData::EncodeDone(KProcess*) m_frame->setText(i18n("Encoding aborted...")); int Ret=KMessageBox::warningYesNo(this, i18n("The encoding process has been aborted...\n\n" - "Encoding duration: %1").tqarg(Encoding), + "Encoding duration: %1").arg(Encoding), i18n("'images2mpg' Script Execution Aborted"), i18n("&OK"), i18n("Show Process Messages")); @@ -1130,7 +1130,7 @@ void KImg2mpgData::RemoveTmpFiles(void) if (m_TmpFolderConfig.isEmpty() != true && tmpFolder.exists() == true) if (DeleteDir(m_TmpFolderConfig) == false) - KMessageBox::error(this, i18n("Cannot remove temporary folder %1!").tqarg(m_TmpFolderConfig)); + KMessageBox::error(this, i18n("Cannot remove temporary folder %1!").arg(m_TmpFolderConfig)); } |