summaryrefslogtreecommitdiffstats
path: root/lib/kofficeui/KoZoomAction.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-19 11:38:41 -0600
committerTimothy Pearson <[email protected]>2011-12-19 11:38:41 -0600
commitf0de9e167e289ab7dc33e57f077c1f04ec7c68c8 (patch)
tree1fc538e179833e62caec21956bfe47a252be5a72 /lib/kofficeui/KoZoomAction.cpp
parent11191ef0b9908604d1d7aaca382b011ef22c454c (diff)
downloadkoffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.tar.gz
koffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.zip
Remove additional unneeded tq method conversions
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& ) ) );