diff options
Diffstat (limited to 'kbarcode/labeleditor.cpp')
-rw-r--r-- | kbarcode/labeleditor.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kbarcode/labeleditor.cpp b/kbarcode/labeleditor.cpp index 0e887f5..c188ea4 100644 --- a/kbarcode/labeleditor.cpp +++ b/kbarcode/labeleditor.cpp @@ -54,7 +54,7 @@ #include <tqbuffer.h> #include <tqcanvas.h> #include <tqcheckbox.h> -#include <tqclipboard.h> +#include <clipboard.h> #include <tqdockarea.h> #include <tqdom.h> #include <tqdragobject.h> @@ -62,7 +62,7 @@ #include <tqimage.h> #include <tqinputdialog.h> #include <tqlabel.h> -#include <tqlayout.h> +#include <layout.h> #include <tqmap.h> #include <tqmime.h> #include <tqpainter.h> @@ -71,7 +71,7 @@ #include <tqpoint.h> #include <tqprogressdialog.h> #include <tqsqlquery.h> -#include <tqtextbrowser.h> +#include <textbrowser.h> #include <tqtooltip.h> #include <tqvalidator.h> #include <tqxml.h> @@ -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 ); } @@ -978,12 +978,12 @@ void LabelEditor::copy() DocumentItemDrag* drag = new DocumentItemDrag(); drag->setDocumentItem( &items ); - kapp->tqclipboard()->setData( drag, TQClipboard::Clipboard ); + kapp->clipboard()->setData( drag, TQClipboard::Clipboard ); } void LabelEditor::paste() { - TQMimeSource* data = TQApplication::tqclipboard()->data(); + TQMimeSource* data = TQApplication::clipboard()->data(); if ( DocumentItemDrag::canDecode( data ) ) DocumentItemDrag::decode( data, cv, m_token, history ); } @@ -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; } |