summaryrefslogtreecommitdiffstats
path: root/kipi-plugins/batchprocessimages/imagepreview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kipi-plugins/batchprocessimages/imagepreview.cpp')
-rw-r--r--kipi-plugins/batchprocessimages/imagepreview.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kipi-plugins/batchprocessimages/imagepreview.cpp b/kipi-plugins/batchprocessimages/imagepreview.cpp
index 5bedd14..ca419d3 100644
--- a/kipi-plugins/batchprocessimages/imagepreview.cpp
+++ b/kipi-plugins/batchprocessimages/imagepreview.cpp
@@ -123,13 +123,13 @@ ImagePreview::ImagePreview(const TQString &fileOrig, const TQString &fileDest, c
h1->addSpacing( 5 );
TQGridLayout* g1 = new TQGridLayout( v1, 1, 2 );
- TQGroupBox * groupBoxZoomFactor = new TQGroupBox( 2, Qt::Horizontal, i18n("Zoom Factor"), box );
+ TQGroupBox * groupBoxZoomFactor = new TQGroupBox( 2, TQt::Horizontal, i18n("Zoom Factor"), box );
LCDZoomFactorValue = new TQLCDNumber (4, groupBoxZoomFactor, "ZoomFactorLCDvalue");
LCDZoomFactorValue->setSegmentStyle ( TQLCDNumber::Flat );
LCDZoomFactorValue->display( TQString::number(INIT_ZOOM_FACTOR * 5) );
TQWhatsThis::add( LCDZoomFactorValue, i18n("<p>The zoom factor value, as a percentage."));
- ZoomFactorSlider = new TQSlider (1, 20, 1, INIT_ZOOM_FACTOR, Qt::Horizontal,
+ ZoomFactorSlider = new TQSlider (1, 20, 1, INIT_ZOOM_FACTOR, TQt::Horizontal,
groupBoxZoomFactor, "ZoomFactorSlider");
ZoomFactorSlider->setTracking ( false );
ZoomFactorSlider->setTickInterval ( 5 );
@@ -137,14 +137,14 @@ ImagePreview::ImagePreview(const TQString &fileOrig, const TQString &fileDest, c
g1->addWidget( groupBoxZoomFactor, 0, 0);
TQGridLayout* g2 = new TQGridLayout( v1, 1, 2 );
- TQGroupBox * groupBox1 = new TQGroupBox( 1, Qt::Horizontal, i18n("Original Image"), box );
+ TQGroupBox * groupBox1 = new TQGroupBox( 1, TQt::Horizontal, i18n("Original Image"), box );
m_previewOrig = new PixmapView(cropActionOrig, groupBox1);
TQWhatsThis::add( m_previewOrig, i18n("<p>This is the original image preview. You can use the mouse "
"wheel to change the zoom factor. Click in and use the mouse "
"to move the image."));
g2->addWidget( groupBox1 , 0, 0);
- TQGroupBox * groupBox2 = new TQGroupBox( 1, Qt::Horizontal, i18n("Destination Image"), box );
+ TQGroupBox * groupBox2 = new TQGroupBox( 1, TQt::Horizontal, i18n("Destination Image"), box );
m_previewDest = new PixmapView(cropActionDest, groupBox2);
TQWhatsThis::add( m_previewDest, i18n("<p>This is the destination image preview. You can use the "
"mouse wheel to change the zoom factor. Click in and use the "
@@ -356,7 +356,7 @@ void PixmapView::contentsWheelEvent( TQWheelEvent * e )
void PixmapView::contentsMousePressEvent ( TQMouseEvent * e )
{
- if ( e->button() == Qt::LeftButton )
+ if ( e->button() == TQt::LeftButton )
{
m_xpos = e->x();
m_ypos = e->y();
@@ -371,7 +371,7 @@ void PixmapView::contentsMouseReleaseEvent ( TQMouseEvent * /*e*/ )
void PixmapView::contentsMouseMoveEvent( TQMouseEvent * e )
{
- if ( e->state() == Qt::LeftButton )
+ if ( e->state() == TQt::LeftButton )
{
uint newxpos = e->x();
uint newypos = e->y();