summaryrefslogtreecommitdiffstats
path: root/lib/kofficeui/KoZoomAction.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:11 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:11 -0600
commit94844816550ad672ccfcdc25659c625546239998 (patch)
treee35fc60fd736c645d59f6408af032774ad8023d3 /lib/kofficeui/KoZoomAction.cpp
parent2a811c38c74c03648ecf857e566c44483cbad706 (diff)
downloadkoffice-94844816550ad672ccfcdc25659c625546239998.tar.gz
koffice-94844816550ad672ccfcdc25659c625546239998.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'lib/kofficeui/KoZoomAction.cpp')
-rw-r--r--lib/kofficeui/KoZoomAction.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/lib/kofficeui/KoZoomAction.cpp b/lib/kofficeui/KoZoomAction.cpp
index 7f9e4139..df1bac4d 100644
--- a/lib/kofficeui/KoZoomAction.cpp
+++ b/lib/kofficeui/KoZoomAction.cpp
@@ -69,10 +69,10 @@ void KoZoomAction::setZoom( const TQString& text )
// update items with new sorted zoom values
TQStringList values;
for (TQValueList<int>::Iterator it = list.begin(); it != list.end(); ++it )
- values.append( i18n("%1%").tqarg(*it) );
+ values.append( i18n("%1%").arg(*it) );
setItems( values );
- TQString zoomStr = i18n("%1%").tqarg( zoom );
+ TQString zoomStr = i18n("%1%").arg( zoom );
setCurrentItem( values.findIndex( zoomStr ) );
}
@@ -92,21 +92,21 @@ void KoZoomAction::init()
setEditable( true );
TQStringList values;
- values << i18n("%1%").tqarg("33");
- values << i18n("%1%").tqarg("50");
- values << i18n("%1%").tqarg("75");
- values << i18n("%1%").tqarg("100");
- values << i18n("%1%").tqarg("125");
- values << i18n("%1%").tqarg("150");
- values << i18n("%1%").tqarg("200");
- values << i18n("%1%").tqarg("250");
- values << i18n("%1%").tqarg("350");
- values << i18n("%1%").tqarg("400");
- values << i18n("%1%").tqarg("450");
- values << i18n("%1%").tqarg("500");
+ values << i18n("%1%").arg("33");
+ values << i18n("%1%").arg("50");
+ values << i18n("%1%").arg("75");
+ values << i18n("%1%").arg("100");
+ values << i18n("%1%").arg("125");
+ values << i18n("%1%").arg("150");
+ values << i18n("%1%").arg("200");
+ values << i18n("%1%").arg("250");
+ values << i18n("%1%").arg("350");
+ values << i18n("%1%").arg("400");
+ values << i18n("%1%").arg("450");
+ values << i18n("%1%").arg("500");
setItems( values );
- setCurrentItem( values.findIndex( i18n("%1%").tqarg( 100 ) ) );
+ setCurrentItem( values.findIndex( i18n("%1%").arg( 100 ) ) );
connect( this, TQT_SIGNAL( activated( const TQString& ) ),
TQT_SLOT( activated( const TQString& ) ) );