summaryrefslogtreecommitdiffstats
path: root/kipi-plugins/batchprocessimages/recompressimagesdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kipi-plugins/batchprocessimages/recompressimagesdialog.cpp')
-rw-r--r--kipi-plugins/batchprocessimages/recompressimagesdialog.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/kipi-plugins/batchprocessimages/recompressimagesdialog.cpp b/kipi-plugins/batchprocessimages/recompressimagesdialog.cpp
index 7f70474..7f2da05 100644
--- a/kipi-plugins/batchprocessimages/recompressimagesdialog.cpp
+++ b/kipi-plugins/batchprocessimages/recompressimagesdialog.cpp
@@ -20,14 +20,14 @@
*
* ============================================================ */
-// Include files for Qt
+// Include files for TQt
-#include <qgroupbox.h>
-#include <qlabel.h>
-#include <qcombobox.h>
-#include <qwhatsthis.h>
-#include <qcheckbox.h>
-#include <qpushbutton.h>
+#include <tqgroupbox.h>
+#include <tqlabel.h>
+#include <tqcombobox.h>
+#include <tqwhatsthis.h>
+#include <tqcheckbox.h>
+#include <tqpushbutton.h>
// Include files for KDE
@@ -53,8 +53,8 @@
namespace KIPIBatchProcessImagesPlugin
{
-RecompressImagesDialog::RecompressImagesDialog( KURL::List urlList, KIPI::Interface* interface, QWidget *parent )
- : BatchProcessImagesDialog( urlList, interface, i18n("Batch Recompress Images"), parent )
+RecompressImagesDialog::RecompressImagesDialog( KURL::List urlList, KIPI::Interface* interface, TQWidget *tqparent )
+ : BatchProcessImagesDialog( urlList, interface, i18n("Batch Recompress Images"), tqparent )
{
// About data and help button.
@@ -71,7 +71,7 @@ RecompressImagesDialog::RecompressImagesDialog( KURL::List urlList, KIPI::Interf
m_helpButton = actionButton( Help );
KHelpMenu* helpMenu = new KHelpMenu(this, m_about, false);
helpMenu->menu()->removeItemAt(0);
- helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, SLOT(slotHelp()), 0, -1, 0);
+ helpMenu->menu()->insertItem(i18n("Plugin Handbook"), this, TQT_SLOT(slotHelp()), 0, -1, 0);
m_helpButton->setPopup( helpMenu->menu() );
//---------------------------------------------
@@ -174,8 +174,8 @@ void RecompressImagesDialog::saveSettings(void)
delete m_config;
}
-QString RecompressImagesDialog::makeProcess(KProcess* proc, BatchProcessImagesItem *item,
- const QString& albumDest, bool previewMode)
+TQString RecompressImagesDialog::makeProcess(KProcess* proc, BatchProcessImagesItem *item,
+ const TQString& albumDest, bool previewMode)
{
*proc << "convert";
@@ -185,7 +185,7 @@ QString RecompressImagesDialog::makeProcess(KProcess* proc, BatchProcessImagesIt
m_previewOutput.append( " -crop 300x300+0+0 ");
}
- QString imageExt = item->nameSrc().section('.', -1 );
+ TQString imageExt = item->nameSrc().section('.', -1 );
if (imageExt == "JPEG" || imageExt == "jpeg" || imageExt == "JPG" || imageExt == "jpg")
{
@@ -196,7 +196,7 @@ QString RecompressImagesDialog::makeProcess(KProcess* proc, BatchProcessImagesIt
else
{
*proc << "-quality";
- QString Temp;
+ TQString Temp;
*proc << Temp.setNum( m_JPEGCompression );
}
}
@@ -204,7 +204,7 @@ QString RecompressImagesDialog::makeProcess(KProcess* proc, BatchProcessImagesIt
else if (imageExt == "PNG" || imageExt == "png")
{
*proc << "-quality";
- QString Temp;
+ TQString Temp;
*proc << Temp.setNum( m_PNGCompression );
}
@@ -249,9 +249,9 @@ QString RecompressImagesDialog::makeProcess(KProcess* proc, BatchProcessImagesIt
}
bool RecompressImagesDialog::prepareStartProcess(BatchProcessImagesItem *item,
- const QString& /*albumDest*/)
+ const TQString& /*albumDest*/)
{
- QString imageExt = item->nameSrc().section('.', -1 );
+ TQString imageExt = item->nameSrc().section('.', -1 );
if (imageExt != "JPEG" && imageExt != "jpeg" &&
imageExt != "JPG" && imageExt != "jpg" &&