diff options
Diffstat (limited to 'kbarcode/definitiondialog.cpp')
-rw-r--r-- | kbarcode/definitiondialog.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kbarcode/definitiondialog.cpp b/kbarcode/definitiondialog.cpp index f371707..64da5c5 100644 --- a/kbarcode/definitiondialog.cpp +++ b/kbarcode/definitiondialog.cpp @@ -24,7 +24,7 @@ #include <kpushbutton.h> #include <krestrictedline.h> #include <tqlabel.h> -#include <layout.h> +#include <tqlayout.h> #include <tqpainter.h> // KDE includes @@ -80,7 +80,7 @@ DefinitionDialog::DefinitionDialog( TQWidget* parent, const char* name, bool mo { resize( 465, 345 ); setCaption( i18n( "Add Label Definition" ) ); - TQHBoxLayout* layout = new TQHBoxLayout( this, 6, 6 ); + TQHBoxLayout* tqlayout = new TQHBoxLayout( this, 6, 6 ); DefinitionDialogLayout = new TQVBoxLayout( 0, 11, 6, "DefinitionDialogLayout"); Layout17 = new TQHBoxLayout( 0, 0, 6, "Layout17"); @@ -96,11 +96,11 @@ DefinitionDialog::DefinitionDialog( TQWidget* parent, const char* name, bool mo Layout13->addWidget( TextLabel2 ); TextLabel3 = new TQLabel( this, "TextLabel3" ); - TextLabel3->setText( TQString( i18n( "Width (in %1):" ) ).arg( Measurements::system() ) ); + TextLabel3->setText( TQString( i18n( "Width (in %1):" ) ).tqarg( Measurements::system() ) ); Layout13->addWidget( TextLabel3 ); TextLabel4 = new TQLabel( this, "TextLabel4" ); - TextLabel4->setText( TQString( i18n( "Height (in %1):" ) ).arg( Measurements::system() ) ); + TextLabel4->setText( TQString( i18n( "Height (in %1):" ) ).tqarg( Measurements::system() ) ); Layout13->addWidget( TextLabel4 ); TextLabel5 = new TQLabel( this, "TextLabel5" ); @@ -202,8 +202,8 @@ DefinitionDialog::DefinitionDialog( TQWidget* parent, const char* name, bool mo DefinitionDialogLayout->addLayout( Layout16 ); preview = new LabelPreview( this ); - layout->addLayout( DefinitionDialogLayout ); - layout->addWidget( preview ); + tqlayout->addLayout( DefinitionDialogLayout ); + tqlayout->addWidget( preview ); l = new TQLabel( this ); setExtension( l ); @@ -335,7 +335,7 @@ void DefinitionDialog::updatePreview() preview->setRect( TQRect( (int)m.gapLeftMM(), (int)m.gapTopMM(), (int)m.widthMM(), (int)m.heightMM() ) ); preview->setMeasurements( m ); - preview->repaint(); + preview->tqrepaint(); } void DefinitionDialog::drawGraphic() |