Fix incorrectly renamed strings

(cherry picked from commit 8f025479cf)
r14.0.x
Slávek Banko 9 years ago
parent 272ceee206
commit 324410931d

@ -54,7 +54,7 @@ void LabelPreview::paintEvent( TQPaintEvent* )
if(!m_prv_enabled) if(!m_prv_enabled)
return; return;
// int numv = measure.num_v > 0 ? measure.num_v : 1; // int numv = measure.num_v > 0 ? measure.num_v : 1;
for( int v = 0; v < measure.numV(); v++ ) { for( int v = 0; v < measure.numV(); v++ ) {
for( int h = 0; h < measure.numH(); h++ ) { 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 ); TQHBoxLayout* layout = new TQHBoxLayout( this, 6, 6 );
DefinitionDialogLayout = new TQVBoxLayout( 0, 11, 6, "DefinitionDialogLayout"); 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 = new TQLabel( this, "TextLabel1" );
TextLabel1->setText( i18n( "Producer:" ) ); TextLabel1->setText( i18n( "Producer:" ) );
@ -120,15 +120,15 @@ DefinitionDialog::DefinitionDialog( TQWidget* parent, const char* name, bool mo
Layout13->addWidget( TextLabel8 ); Layout13->addWidget( TextLabel8 );
TextLabel9 = new TQLabel( this, "TextLabel9" ); TextLabel9 = new TQLabel( this, "TextLabel9" );
TextLabel9->setText( i18n("NumberQt::Horizontal:") ); TextLabel9->setText( i18n("Number Horizontal:") );
Layout13->addWidget( TextLabel9 ); Layout13->addWidget( TextLabel9 );
TextLabel10 = new TQLabel( this, "TextLabel10" ); TextLabel10 = new TQLabel( this, "TextLabel10" );
TextLabel10->setText( i18n("NumberQt::Vertical:") ); TextLabel10->setText( i18n("Number Vertical:") );
Layout13->addWidget( TextLabel10 ); Layout13->addWidget( TextLabel10 );
Layout17->addLayout( Layout13 ); Layout17->addLayout( Layout13 );
Layout14 = new TQVBoxLayout( 0, 0, 6, "Layout14"); Layout14 = new TQVBoxLayout( 0, 0, 6, "Layout14");
comboProducer = new KComboBox( FALSE, this, "comboProducer" ); comboProducer = new KComboBox( FALSE, this, "comboProducer" );
comboProducer->setEditable( TRUE ); comboProducer->setEditable( TRUE );
@ -172,7 +172,7 @@ DefinitionDialog::DefinitionDialog( TQWidget* parent, const char* name, bool mo
editNumH->setText( i18n( "0" ) ); editNumH->setText( i18n( "0" ) );
editNumH->setValidChars( "0123456789" ); editNumH->setValidChars( "0123456789" );
Layout14->addWidget( editNumH ); Layout14->addWidget( editNumH );
editNumV = new KRestrictedLine( this, "editNumV" ); editNumV = new KRestrictedLine( this, "editNumV" );
editNumV->setText( i18n( "0" ) ); editNumV->setText( i18n( "0" ) );
editNumV->setValidChars( "0123456789" ); editNumV->setValidChars( "0123456789" );
@ -246,7 +246,7 @@ DefinitionDialog::~DefinitionDialog()
{ {
delete [] types; delete [] types;
} }
void DefinitionDialog::add() void DefinitionDialog::add()
{ {
Definition::write( getCurrentMeasure(), comboType->currentText(), comboProducer->currentText() ); Definition::write( getCurrentMeasure(), comboType->currentText(), comboProducer->currentText() );
@ -307,7 +307,7 @@ void DefinitionDialog::updatePreview()
editLGap->setPaletteForegroundColor( TQt::black ); editLGap->setPaletteForegroundColor( TQt::black );
editNumH->setPaletteForegroundColor( TQt::black ); editNumH->setPaletteForegroundColor( TQt::black );
editNumV->setPaletteForegroundColor( TQt::black ); editNumV->setPaletteForegroundColor( TQt::black );
// Mark errors in Red // Mark errors in Red
if( m.heightMM() > PrinterSettings::getInstance()->pageHeight() ) if( m.heightMM() > PrinterSettings::getInstance()->pageHeight() )
editHeight->setPaletteForegroundColor( TQt::red ); editHeight->setPaletteForegroundColor( TQt::red );

Loading…
Cancel
Save