summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmrendermode.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
commite69e8b1d09fb579316595b4e6a850e717358a8b1 (patch)
treea24fc20865f65772f530d16177520190594ffdd2 /kpovmodeler/pmrendermode.cpp
parenteecec9afb81fdebb0f22e9da22635874c403f854 (diff)
downloadtdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.tar.gz
tdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.zip
TQt4 port kdegraphics
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1237557 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpovmodeler/pmrendermode.cpp')
-rw-r--r--kpovmodeler/pmrendermode.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kpovmodeler/pmrendermode.cpp b/kpovmodeler/pmrendermode.cpp
index 8ef8d207..622f7b2f 100644
--- a/kpovmodeler/pmrendermode.cpp
+++ b/kpovmodeler/pmrendermode.cpp
@@ -160,33 +160,33 @@ TQStringList PMRenderMode::commandLineSwitches( ) const
TQStringList cl;
TQString tmp;
- cl.append( TQString( "+W%1" ).arg( m_width ) );
- cl.append( TQString( "+H%1" ).arg( m_height ) );
+ cl.append( TQString( "+W%1" ).tqarg( m_width ) );
+ cl.append( TQString( "+H%1" ).tqarg( m_height ) );
if( m_subSection )
{
if( m_startRow < 1.0 )
tmp.sprintf( "+SR%4.2f", m_startRow );
else
- tmp = TQString( "+SR%1" ).arg( ( int ) ( m_startRow + 0.5 ) );
+ tmp = TQString( "+SR%1" ).tqarg( ( int ) ( m_startRow + 0.5 ) );
cl.append( tmp );
if( m_endRow < 1.0 )
tmp.sprintf( "+ER%4.2f", m_endRow );
else
- tmp = TQString( "+ER%1" ).arg( ( int ) ( m_endRow + 0.5 ) );
+ tmp = TQString( "+ER%1" ).tqarg( ( int ) ( m_endRow + 0.5 ) );
cl.append( tmp );
if( m_startColumn < 1.0 )
tmp.sprintf( "+SC%4.2f", m_startColumn );
else
- tmp = TQString( "+SC%1" ).arg( ( int ) ( m_startColumn + 0.5 ) );
+ tmp = TQString( "+SC%1" ).tqarg( ( int ) ( m_startColumn + 0.5 ) );
cl.append( tmp );
if( m_endColumn < 1.0 )
tmp.sprintf( "+EC%4.2f", m_endColumn );
else
- tmp = TQString( "+EC%1" ).arg( ( int ) ( m_endColumn + 0.5 ) );
+ tmp = TQString( "+EC%1" ).tqarg( ( int ) ( m_endColumn + 0.5 ) );
cl.append( tmp );
}
- cl.append( TQString( "+Q%1" ).arg( m_quality ) );
+ cl.append( TQString( "+Q%1" ).tqarg( m_quality ) );
if( m_radiosity )
cl.append( TQString( "+QR" ) );
else
@@ -195,7 +195,7 @@ TQStringList PMRenderMode::commandLineSwitches( ) const
if( m_antialiasing )
{
cl.append( TQString( "+A" ) );
- cl.append( TQString( "+AM%1" ).arg( m_samplingMethod ) );
+ cl.append( TQString( "+AM%1" ).tqarg( m_samplingMethod ) );
tmp.sprintf( "+A%5.3f", m_antialiasThreshold );
cl.append( tmp );
if( m_antialiasJitter )
@@ -205,7 +205,7 @@ TQStringList PMRenderMode::commandLineSwitches( ) const
}
else
cl.append( TQString( "-J" ) );
- cl.append( TQString( "+R%1" ).arg( m_antialiasDepth ) );
+ cl.append( TQString( "+R%1" ).tqarg( m_antialiasDepth ) );
}
else
cl.append( TQString( "-A" ) );