diff options
Diffstat (limited to 'kipi-plugins/mpegencoder')
-rwxr-xr-x | kipi-plugins/mpegencoder/images2mpg | 4 | ||||
-rw-r--r-- | kipi-plugins/mpegencoder/kimg2mpg.cpp | 18 | ||||
-rw-r--r-- | kipi-plugins/mpegencoder/kimg2mpgbase.ui | 14 |
3 files changed, 18 insertions, 18 deletions
diff --git a/kipi-plugins/mpegencoder/images2mpg b/kipi-plugins/mpegencoder/images2mpg index 9b15b7b..ddf265d 100755 --- a/kipi-plugins/mpegencoder/images2mpg +++ b/kipi-plugins/mpegencoder/images2mpg @@ -858,7 +858,7 @@ while test $CPT -lt $NBFRAMETOTAL;\ if [ $CPT = `echo $((($CPF*$NBFRAMEIMAGE)-$NBFRAMEIMAGE+1))` ]; then # Conversion and resizing the curent image file with ImageMagick. - $MONTAGE_BIN -type TrueColor -quality 100 -tqgeometry 768x576 -texture "$MASK" "${INPUT_IMAGE_FILES[`echo $(($CPF-1))`]}" "$TMPFILENAME.tmp.jpg" + $MONTAGE_BIN -type TrueColor -quality 100 -geometry 768x576 -texture "$MASK" "${INPUT_IMAGE_FILES[`echo $(($CPF-1))`]}" "$TMPFILENAME.tmp.jpg" $CONVERT_BIN -type TrueColor -quality 100 "$TMPFILENAME.tmp.jpg" "$TMPFILENAME.tmp.pnm" # Next input image... @@ -870,7 +870,7 @@ while test $CPT -lt $NBFRAMETOTAL;\ if [ $[$CPT <= `echo $((($CPF*($NBFRAMEIMAGE+$NBFRAMETRANSITION)-$NBFRAMEIMAGE)))`] = 1 ]; then if [ $DISSOLVEVALUE = 99 ]; then - $MONTAGE_BIN -type TrueColor -quality 100 -tqgeometry 768x576 -texture "$MASK" "${INPUT_IMAGE_FILES[`echo $(($CPF-1))`]}" "$TMPFILENAME.tmp.jpg" + $MONTAGE_BIN -type TrueColor -quality 100 -geometry 768x576 -texture "$MASK" "${INPUT_IMAGE_FILES[`echo $(($CPF-1))`]}" "$TMPFILENAME.tmp.jpg" $CONVERT_BIN -type TrueColor -quality 100 "$TMPFILENAME.tmp.jpg" "$TMPFILENAME.next_trans.tmp.pnm" fi 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)); } diff --git a/kipi-plugins/mpegencoder/kimg2mpgbase.ui b/kipi-plugins/mpegencoder/kimg2mpgbase.ui index b83e644..db56a8e 100644 --- a/kipi-plugins/mpegencoder/kimg2mpgbase.ui +++ b/kipi-plugins/mpegencoder/kimg2mpgbase.ui @@ -118,7 +118,7 @@ <property name="text"> <string>Video Format</string> </property> - <property name="tqalignment"> + <property name="alignment"> <set>AlignCenter</set> </property> </widget> @@ -185,7 +185,7 @@ DVD is an experimental option.</string> <property name="text"> <string>Video Type</string> </property> - <property name="tqalignment"> + <property name="alignment"> <set>AlignCenter</set> </property> </widget> @@ -246,7 +246,7 @@ NTSC is an American TV standard; PAL/SECAM is European.</string> <property name="text"> <string>Chroma Mode</string> </property> - <property name="tqalignment"> + <property name="alignment"> <set>AlignCenter</set> </property> </widget> @@ -369,7 +369,7 @@ Change it if you have problems with the default value.</string> <property name="text"> <string>Image duration</string> </property> - <property name="tqalignment"> + <property name="alignment"> <set>AlignVCenter</set> </property> </widget> @@ -427,7 +427,7 @@ Change it if you have problems with the default value.</string> <property name="text"> <string>Transition speed</string> </property> - <property name="tqalignment"> + <property name="alignment"> <set>AlignVCenter</set> </property> </widget> @@ -501,7 +501,7 @@ Change it if you have problems with the default value.</string> <property name="text"> <string>Background color</string> </property> - <property name="tqalignment"> + <property name="alignment"> <set>AlignVCenter</set> </property> </widget> @@ -788,7 +788,7 @@ If you want to add some images, click on the 'Add' button or use the drag-and-dr <property name="scaledContents"> <bool>false</bool> </property> - <property name="tqalignment"> + <property name="alignment"> <set>AlignCenter</set> </property> <property name="whatsThis" stdset="0"> |