summaryrefslogtreecommitdiffstats
path: root/kbarcode/labeleditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kbarcode/labeleditor.cpp')
-rw-r--r--kbarcode/labeleditor.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kbarcode/labeleditor.cpp b/kbarcode/labeleditor.cpp
index 0e887f5..e9246e8 100644
--- a/kbarcode/labeleditor.cpp
+++ b/kbarcode/labeleditor.cpp
@@ -382,7 +382,7 @@ bool LabelEditor::openUrl( const TQString & url )
if( !d || d->getId() == -1 )
{
- KMessageBox::error( this, TQString( i18n("<qt>The file <b>%1</b> cannot be loaded as the label definition is missing.</qt>") ).tqarg( filename ) );
+ KMessageBox::error( this, TQString( i18n("<qt>The file <b>%1</b> cannot be loaded as the label definition is missing.</qt>") ).arg( filename ) );
return false;
}
@@ -696,15 +696,15 @@ void LabelEditor::changeSize()
// TODO: make sure that all items are redrawn.
// Otherwise barcodes might become invisible when changing the label
c->update();
- cv->tqrepaint();
+ cv->repaint();
delete nl;
}
void LabelEditor::updateInfo()
{
- statusBar()->changeItem( i18n("Size: ") + TQString("%1%2 x %3%4").tqarg(
- d->getMeasurements().width() ).tqarg( Measurements::system()
- ).tqarg( d->getMeasurements().height() ).tqarg( Measurements::system() ), STATUS_ID_SIZE );
+ statusBar()->changeItem( i18n("Size: ") + TQString("%1%2 x %3%4").arg(
+ d->getMeasurements().width() ).arg( Measurements::system()
+ ).arg( d->getMeasurements().height() ).arg( Measurements::system() ), STATUS_ID_SIZE );
statusBar()->changeItem( i18n("Label Template: ") + d->getProducer() + " - " + d->getType(), STATUS_ID_TEMPLATE );
}
@@ -1005,7 +1005,7 @@ void LabelEditor::startBarcodeGen()
void LabelEditor::startLoadRecentEditor( const KURL& url )
{
if( !TQFile::exists( url.path() ) ) {
- KMessageBox::information( this, i18n("The file %1 does not exist.").tqarg( url.path() ) );
+ KMessageBox::information( this, i18n("The file %1 does not exist.").arg( url.path() ) );
recentAct->removeURL( url );
return;
}