summaryrefslogtreecommitdiffstats
path: root/kspread/dialogs/kspread_dlg_paperlayout.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kspread/dialogs/kspread_dlg_paperlayout.cc')
-rw-r--r--kspread/dialogs/kspread_dlg_paperlayout.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/kspread/dialogs/kspread_dlg_paperlayout.cc b/kspread/dialogs/kspread_dlg_paperlayout.cc
index f0e6f664..7150b017 100644
--- a/kspread/dialogs/kspread_dlg_paperlayout.cc
+++ b/kspread/dialogs/kspread_dlg_paperlayout.cc
@@ -194,17 +194,17 @@ void PaperLayout::initScaleOptions( TQWidget * tab, TQVBoxLayout * vbox )
TQStringList lst;
for( int i = 5; i < 500; i += 5 )
{
- lst.append( TQString( i18n( "%1%" ) ).tqarg( i ) );
+ lst.append( TQString( i18n( "%1%" ) ).arg( i ) );
if( tqRound( print->zoom() * 100 ) > i &&
tqRound( print->zoom() * 100 ) < i + 5 )
{
- lst.append( TQString( i18n( "%1%" ) ).tqarg( tqRound( print->zoom() * 100 ) ) );
+ lst.append( TQString( i18n( "%1%" ) ).arg( tqRound( print->zoom() * 100 ) ) );
}
}
m_cZoom->insertStringList( lst );
int number_of_entries = m_cZoom->count();
- TQString string = TQString( i18n( "%1%" ) ).tqarg( tqRound( print->zoom() * 100 ) );
+ TQString string = TQString( i18n( "%1%" ) ).arg( tqRound( print->zoom() * 100 ) );
for (int i = 0; i < number_of_entries ; i++)
{
if ( string == (TQString) m_cZoom->text(i) )
@@ -227,11 +227,11 @@ void PaperLayout::initScaleOptions( TQWidget * tab, TQVBoxLayout * vbox )
lstX.append( i18n( "No Limit" ) );
for( int i = 1; i <= 20; i += 1 )
{
- lstX.append( TQString( "%1" ).tqarg( i ) );
+ lstX.append( TQString( "%1" ).arg( i ) );
}
if( print->pageLimitX() > 20 )
{
- lstX.append( TQString( "%1" ).tqarg( print->pageLimitX() ) );
+ lstX.append( TQString( "%1" ).arg( print->pageLimitX() ) );
}
m_cLimitPagesX->insertStringList( lstX );
@@ -250,11 +250,11 @@ void PaperLayout::initScaleOptions( TQWidget * tab, TQVBoxLayout * vbox )
lstY.append( i18n( "No Limit" ) );
for( int i = 1; i <= 20; i += 1 )
{
- lstY.append( TQString( "%1" ).tqarg( i ) );
+ lstY.append( TQString( "%1" ).arg( i ) );
}
if( print->pageLimitY() > 20 )
{
- lstY.append( TQString( "%1" ).tqarg( print->pageLimitY() ) );
+ lstY.append( TQString( "%1" ).arg( print->pageLimitY() ) );
}
m_cLimitPagesY->insertStringList( lstY );
@@ -407,7 +407,7 @@ void PaperLayout::slotOk()
if ( m_rScalingZoom->isChecked() )
{
kdDebug() << "Zoom is selected" << endl;
- if( TQString( "%1%" ).tqarg( tqRound( print->zoom() * 100 ) ) != m_cZoom->currentText() )
+ if( TQString( "%1%" ).arg( tqRound( print->zoom() * 100 ) ) != m_cZoom->currentText() )
{
kdDebug() << "New zoom is different than original: " << m_cZoom->currentText() << endl;
TQString zoomtext = m_cZoom->currentText();