From 324410931db42b1e75e6e175ed1d2ee08b085fc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 5 Mar 2015 05:02:22 +0100 Subject: [PATCH] Fix incorrectly renamed strings (cherry picked from commit 8f025479cf1b5cfbf0d23fc38ab5740262addd6d) --- kbarcode/definitiondialog.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/kbarcode/definitiondialog.cpp b/kbarcode/definitiondialog.cpp index a9bee99..f06fe9c 100644 --- a/kbarcode/definitiondialog.cpp +++ b/kbarcode/definitiondialog.cpp @@ -54,7 +54,7 @@ void LabelPreview::paintEvent( TQPaintEvent* ) if(!m_prv_enabled) return; - + // int numv = measure.num_v > 0 ? measure.num_v : 1; for( int v = 0; v < measure.numV(); v++ ) { for( int h = 0; h < measure.numH(); h++ ) { @@ -83,9 +83,9 @@ DefinitionDialog::DefinitionDialog( TQWidget* parent, const char* name, bool mo TQHBoxLayout* layout = new TQHBoxLayout( this, 6, 6 ); DefinitionDialogLayout = new TQVBoxLayout( 0, 11, 6, "DefinitionDialogLayout"); - Layout17 = new TQHBoxLayout( 0, 0, 6, "Layout17"); + Layout17 = new TQHBoxLayout( 0, 0, 6, "Layout17"); - Layout13 = new TQVBoxLayout( 0, 0, 6, "Layout13"); + Layout13 = new TQVBoxLayout( 0, 0, 6, "Layout13"); TextLabel1 = new TQLabel( this, "TextLabel1" ); TextLabel1->setText( i18n( "Producer:" ) ); @@ -120,15 +120,15 @@ DefinitionDialog::DefinitionDialog( TQWidget* parent, const char* name, bool mo Layout13->addWidget( TextLabel8 ); TextLabel9 = new TQLabel( this, "TextLabel9" ); - TextLabel9->setText( i18n("NumberQt::Horizontal:") ); + TextLabel9->setText( i18n("Number Horizontal:") ); Layout13->addWidget( TextLabel9 ); TextLabel10 = new TQLabel( this, "TextLabel10" ); - TextLabel10->setText( i18n("NumberQt::Vertical:") ); + TextLabel10->setText( i18n("Number Vertical:") ); Layout13->addWidget( TextLabel10 ); - + Layout17->addLayout( Layout13 ); - Layout14 = new TQVBoxLayout( 0, 0, 6, "Layout14"); + Layout14 = new TQVBoxLayout( 0, 0, 6, "Layout14"); comboProducer = new KComboBox( FALSE, this, "comboProducer" ); comboProducer->setEditable( TRUE ); @@ -172,7 +172,7 @@ DefinitionDialog::DefinitionDialog( TQWidget* parent, const char* name, bool mo editNumH->setText( i18n( "0" ) ); editNumH->setValidChars( "0123456789" ); Layout14->addWidget( editNumH ); - + editNumV = new KRestrictedLine( this, "editNumV" ); editNumV->setText( i18n( "0" ) ); editNumV->setValidChars( "0123456789" ); @@ -246,7 +246,7 @@ DefinitionDialog::~DefinitionDialog() { delete [] types; } - + void DefinitionDialog::add() { Definition::write( getCurrentMeasure(), comboType->currentText(), comboProducer->currentText() ); @@ -307,7 +307,7 @@ void DefinitionDialog::updatePreview() editLGap->setPaletteForegroundColor( TQt::black ); editNumH->setPaletteForegroundColor( TQt::black ); editNumV->setPaletteForegroundColor( TQt::black ); - + // Mark errors in Red if( m.heightMM() > PrinterSettings::getInstance()->pageHeight() ) editHeight->setPaletteForegroundColor( TQt::red );