summaryrefslogtreecommitdiffstats
path: root/libkscan
diff options
context:
space:
mode:
Diffstat (limited to 'libkscan')
-rw-r--r--libkscan/devselector.cpp2
-rw-r--r--libkscan/dispgamma.cpp2
-rw-r--r--libkscan/gammadialog.cpp2
-rw-r--r--libkscan/img_canvas.cpp12
-rw-r--r--libkscan/img_canvas.h2
-rw-r--r--libkscan/kscanslider.cpp2
-rw-r--r--libkscan/previewer.cpp6
-rw-r--r--libkscan/scandialog.cpp4
-rw-r--r--libkscan/sizeindicator.cpp2
9 files changed, 17 insertions, 17 deletions
diff --git a/libkscan/devselector.cpp b/libkscan/devselector.cpp
index fbf33ad3..23aa5e0e 100644
--- a/libkscan/devselector.cpp
+++ b/libkscan/devselector.cpp
@@ -152,7 +152,7 @@ void DeviceSelector::setScanSources( const TQStrList& sources,
TQStringList::ConstIterator it2 = hrSources.begin();
for ( ; it.current(); ++it, ++it2 )
{
- TQString text = TQString::fromLatin1("&%1. %2\n%3").tqarg(1+nr).tqarg( TQString::fromLocal8Bit(*it) ).tqarg( *it2 );
+ TQString text = TQString::fromLatin1("&%1. %2\n%3").arg(1+nr).arg( TQString::fromLocal8Bit(*it) ).arg( *it2 );
TQRadioButton *rb = new TQRadioButton( text, selectBox );
selectBox->insert( rb );
diff --git a/libkscan/dispgamma.cpp b/libkscan/dispgamma.cpp
index d5d65d38..478096e9 100644
--- a/libkscan/dispgamma.cpp
+++ b/libkscan/dispgamma.cpp
@@ -35,7 +35,7 @@ DispGamma::~DispGamma()
void DispGamma::resizeEvent (TQResizeEvent* )
{
- tqrepaint();
+ repaint();
}
void DispGamma::paintEvent( TQPaintEvent *ev )
diff --git a/libkscan/gammadialog.cpp b/libkscan/gammadialog.cpp
index e1147b10..ef8a87a2 100644
--- a/libkscan/gammadialog.cpp
+++ b/libkscan/gammadialog.cpp
@@ -47,7 +47,7 @@ GammaDialog::GammaDialog( TQWidget *parent ) :
gtDisp->setValueRef( gt->getArrayPtr() );
gtDisp->resize( 280, 280 );
- connect( gt, TQT_SIGNAL(tableChanged()), gtDisp, TQT_SLOT( tqrepaint()));
+ connect( gt, TQT_SIGNAL(tableChanged()), gtDisp, TQT_SLOT( repaint()));
// setCaption( i18n( "Gamma Table" ));
diff --git a/libkscan/img_canvas.cpp b/libkscan/img_canvas.cpp
index e58182dd..b807af2f 100644
--- a/libkscan/img_canvas.cpp
+++ b/libkscan/img_canvas.cpp
@@ -226,9 +226,9 @@ void ImageCanvas::newImage( TQImage *new_image )
}
- kdDebug(29000) << "going to tqrepaint!" << endl;
- tqrepaint( true );
- kdDebug(29000) << "tqrepaint ok" << endl;
+ kdDebug(29000) << "going to repaint!" << endl;
+ repaint( true );
+ kdDebug(29000) << "repaint ok" << endl;
}
TQSize ImageCanvas::sizeHint() const
@@ -295,7 +295,7 @@ void ImageCanvas::handle_popup( int item )
default: break;
}
update_scaled_pixmap();
- tqrepaint();
+ repaint();
}
@@ -1022,7 +1022,7 @@ const TQString ImageCanvas::imageInfoString( int w, int h, int d )
else
return TQString("-");
}
- return i18n("%1x%2 pixel, %3 bit").tqarg(w).tqarg(h).tqarg(d);
+ return i18n("%1x%2 pixel, %3 bit").arg(w).arg(h).arg(d);
}
@@ -1043,7 +1043,7 @@ const TQString ImageCanvas::scaleKindString()
return i18n("Fit Height");
break;
case ZOOM:
- return i18n("Zoom to %1 %%").tqarg( TQString::number(getScaleFactor()));
+ return i18n("Zoom to %1 %%").arg( TQString::number(getScaleFactor()));
break;
default:
return i18n("Unknown scaling!");
diff --git a/libkscan/img_canvas.h b/libkscan/img_canvas.h
index 4179750b..b1d87c76 100644
--- a/libkscan/img_canvas.h
+++ b/libkscan/img_canvas.h
@@ -121,7 +121,7 @@ public slots:
void toggleAspect( int aspect_in_mind )
{
maintain_aspect = aspect_in_mind;
- tqrepaint();
+ repaint();
}
virtual TQSize sizeHint() const;
void newImage( TQImage* );
diff --git a/libkscan/kscanslider.cpp b/libkscan/kscanslider.cpp
index 742a0bb6..720a5593 100644
--- a/libkscan/kscanslider.cpp
+++ b/libkscan/kscanslider.cpp
@@ -53,7 +53,7 @@ KScanSlider::KScanSlider( TQWidget *parent, const TQString& text,
this, TQT_SLOT(slRevertValue()));
TQToolTip::add( m_stdButt,
- i18n( "Revert value back to its standard value %1" ).tqarg( stdValue ));
+ i18n( "Revert value back to its standard value %1" ).arg( stdValue ));
hb->addWidget( m_stdButt, 0 );
hb->addSpacing( 4 );
}
diff --git a/libkscan/previewer.cpp b/libkscan/previewer.cpp
index 0e6c8804..0da2140c 100644
--- a/libkscan/previewer.cpp
+++ b/libkscan/previewer.cpp
@@ -141,7 +141,7 @@ Previewer::Previewer(TQWidget *parent, const char *name )
img_canvas->setDefaultScaleKind( ImageCanvas::DYNAMIC );
img_canvas->enableContextMenu(true);
- img_canvas->tqrepaint();
+ img_canvas->repaint();
tqlayout->addWidget( img_canvas, 6 );
/* Actions for the previewer zoom */
@@ -477,11 +477,11 @@ void Previewer::slNewDimen(TQRect r)
selectionHeightMm = (overallHeight / 1000 * r.height());
TQString s;
- s = i18n("width %1 mm").tqarg( int(selectionWidthMm));
+ s = i18n("width %1 mm").arg( int(selectionWidthMm));
emit(setScanWidth(s));
kdDebug(29000) << "Setting new Dimension " << s << endl;
- s = i18n("height %1 mm").tqarg(int(selectionHeightMm));
+ s = i18n("height %1 mm").arg(int(selectionHeightMm));
emit(setScanHeight(s));
recalcFileSize( );
diff --git a/libkscan/scandialog.cpp b/libkscan/scandialog.cpp
index c60e7963..a3b1c23e 100644
--- a/libkscan/scandialog.cpp
+++ b/libkscan/scandialog.cpp
@@ -314,7 +314,7 @@ bool ScanDialog::setup()
kfg->setGroup( GROUP_STARTUP );
/* Since this is a vertical splitter, only the width is important */
- TQString key = TQString::fromLatin1( SCANDIA_SPLITTER_SIZES ).tqarg( r.width());
+ TQString key = TQString::fromLatin1( SCANDIA_SPLITTER_SIZES ).arg( r.width());
kdDebug(29000) << "Read Splitter-Sizes " << key << endl;
splitter->setSizes( kfg->readIntListEntry( key ));
}
@@ -336,7 +336,7 @@ void ScanDialog::slotClose()
kfg->setGroup( GROUP_STARTUP );
/* Since this is a vertical splitter, only the width is important */
- TQString key = TQString::fromLatin1( SCANDIA_SPLITTER_SIZES ).tqarg( r.width());
+ TQString key = TQString::fromLatin1( SCANDIA_SPLITTER_SIZES ).arg( r.width());
kfg->writeEntry( key, splitter->sizes(), true, true);
}
}
diff --git a/libkscan/sizeindicator.cpp b/libkscan/sizeindicator.cpp
index d11b1cff..bd259bd3 100644
--- a/libkscan/sizeindicator.cpp
+++ b/libkscan/sizeindicator.cpp
@@ -79,7 +79,7 @@ void SizeIndicator::setSizeInByte( long newSize )
fwidth = 2;
}
- t = unit.tqarg( sizer, fwidth, 'f', precision);
+ t = unit.arg( sizer, fwidth, 'f', precision);
setText(t);
}