diff options
Diffstat (limited to 'kspread/dialogs/kspread_dlg_layout.cc')
-rw-r--r-- | kspread/dialogs/kspread_dlg_layout.cc | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/kspread/dialogs/kspread_dlg_layout.cc b/kspread/dialogs/kspread_dlg_layout.cc index 27e27868..f7878266 100644 --- a/kspread/dialogs/kspread_dlg_layout.cc +++ b/kspread/dialogs/kspread_dlg_layout.cc @@ -88,7 +88,7 @@ void PatternSelect::setPattern( const TQColor &_color, int _width, Qt::PenStyle penStyle = _style; penColor = _color; penWidth = _width; - tqrepaint(); + repaint(); } void PatternSelect::setUndefined() @@ -127,7 +127,7 @@ void PatternSelect::slotUnselect() setLineWidth( 1 ); setFrameStyle( TQFrame::Panel | TQFrame::Sunken ); - tqrepaint(); + repaint(); } void PatternSelect::slotSelect() @@ -136,7 +136,7 @@ void PatternSelect::slotSelect() setLineWidth( 2 ); setFrameStyle( TQFrame::Panel | TQFrame::Plain ); - tqrepaint(); + repaint(); } @@ -262,7 +262,7 @@ bool GeneralTab::checkParent( const TQString & parentName ) { KMessageBox::sorry( this, i18n( "The style cannot inherit from '%1' because of recursive references." ) - .tqarg( m_parentBox->currentText() ) ); + .arg( m_parentBox->currentText() ) ); return false; } @@ -1965,7 +1965,7 @@ CellFormatPageFont::CellFormatPageFont( TQWidget* parent, CellFormatDialog *_dlg TQStringList tmpListFont; TQFontDatabase *fontDataBase = new TQFontDatabase(); - tmpListFont = fontDataBase->tqfamilies(); + tmpListFont = fontDataBase->families(); delete fontDataBase; family_combo->insertStringList( tmpListFont); @@ -1996,7 +1996,7 @@ CellFormatPageFont::CellFormatPageFont( TQWidget* parent, CellFormatDialog *_dlg TQStringList lst; lst.append(""); for ( unsigned int i = 1; i < 100; ++i ) - lst.append( TQString( "%1" ).tqarg( i ) ); + lst.append( TQString( "%1" ).arg( i ) ); size_combo->insertStringList( lst ); @@ -2151,7 +2151,7 @@ void CellFormatPageFont::display_example(const TQFont& font) TQString string; fontChanged=true; example_label->setFont(font); - example_label->tqrepaint(); + example_label->repaint(); } void CellFormatPageFont::setCombos() @@ -2281,7 +2281,7 @@ CellFormatPagePosition::CellFormatPagePosition( TQWidget* parent, CellFormatDial if ( dlg->isRowSelected ) width->setEnabled(false); - defaultWidth->setText(i18n("Default width (%1 %2)").tqarg(KoUnit::toUserValue(dlg->defaultWidthSize, dlg->getDoc()->unit()), 0, 'f', 2).tqarg(dlg->getDoc()->unitName())); + defaultWidth->setText(i18n("Default width (%1 %2)").arg(KoUnit::toUserValue(dlg->defaultWidthSize, dlg->getDoc()->unit()), 0, 'f', 2).arg(dlg->getDoc()->unitName())); if ( dlg->isRowSelected ) defaultWidth->setEnabled(false); @@ -2296,7 +2296,7 @@ CellFormatPagePosition::CellFormatPagePosition( TQWidget* parent, CellFormatDial if ( dlg->isColumnSelected ) height->setEnabled(false); - defaultHeight->setText(i18n("Default height (%1 %2)").tqarg(KoUnit::toUserValue(dlg->defaultHeightSize, dlg->getDoc()->unit()), 0, 'f', 2).tqarg(dlg->getDoc()->unitName())); //annma + defaultHeight->setText(i18n("Default height (%1 %2)").arg(KoUnit::toUserValue(dlg->defaultHeightSize, dlg->getDoc()->unit()), 0, 'f', 2).arg(dlg->getDoc()->unitName())); //annma if ( dlg->isColumnSelected ) defaultHeight->setEnabled(false); @@ -3223,7 +3223,7 @@ void CellFormatPageBorder::preselect( BorderButton *_p ) vertical->setChanged(true); } } - area->tqrepaint(); + area->repaint(); } void CellFormatPageBorder::changeState( BorderButton *_p) @@ -3243,7 +3243,7 @@ void CellFormatPageBorder::changeState( BorderButton *_p) _p->setColor( colorGroup().text() ); } - area->tqrepaint(); + area->repaint(); } void CellFormatPageBorder::draw() @@ -3483,7 +3483,7 @@ if (rect.contains(TQPoint(_ev->x(),_ev->y()))) } } - area->tqrepaint(); + area->repaint(); } @@ -3505,7 +3505,7 @@ void BrushSelect::setPattern( const TQColor &_color,Qt::BrushStyle _style ) { brushStyle = _style; brushColor = _color; - tqrepaint(); + repaint(); } @@ -3535,7 +3535,7 @@ void BrushSelect::slotUnselect() setLineWidth( 1 ); setFrameStyle( TQFrame::Panel | TQFrame::Sunken ); - tqrepaint(); + repaint(); } void BrushSelect::slotSelect() @@ -3544,7 +3544,7 @@ void BrushSelect::slotSelect() setLineWidth( 2 ); setFrameStyle( TQFrame::Panel | TQFrame::Plain ); - tqrepaint(); + repaint(); } |