summaryrefslogtreecommitdiffstats
path: root/kghostview/displayoptions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kghostview/displayoptions.cpp')
-rw-r--r--kghostview/displayoptions.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kghostview/displayoptions.cpp b/kghostview/displayoptions.cpp
index 82ef1f3a..f2e0fa4b 100644
--- a/kghostview/displayoptions.cpp
+++ b/kghostview/displayoptions.cpp
@@ -68,15 +68,15 @@ namespace {
TQString DisplayOptions::toString( const DisplayOptions& options )
{
return TQString( qformat )
- .tqarg( options.page() )
- .tqarg( options.magnification() )
- .tqarg( options.overrideOrientation() )
- .tqarg( options.overridePageMedia().utf8().data() );
+ .arg( options.page() )
+ .arg( options.magnification() )
+ .arg( options.overrideOrientation() )
+ .arg( options.overridePageMedia().utf8().data() );
}
bool DisplayOptions::fromString( DisplayOptions& out, const TQString& in )
{
- TQRegExp regex( TQString::tqfromLatin1( rformat ) );
+ TQRegExp regex( TQString::fromLatin1( rformat ) );
if ( regex.search( in ) < 0 ) return false;
out.reset();