summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmdialogeditbase.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-15 15:47:59 -0600
committerTimothy Pearson <[email protected]>2011-12-15 15:47:59 -0600
commitc2637a0da6d9a1c8626ca39f8451ab3b7cda487a (patch)
treebe38034f085e8be24f14f329f87a611d319e6259 /kpovmodeler/pmdialogeditbase.cpp
parent3fd343f2c6b0545bd750b2939c74be3834b13274 (diff)
downloadtdegraphics-c2637a0da6d9a1c8626ca39f8451ab3b7cda487a.tar.gz
tdegraphics-c2637a0da6d9a1c8626ca39f8451ab3b7cda487a.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kpovmodeler/pmdialogeditbase.cpp')
-rw-r--r--kpovmodeler/pmdialogeditbase.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kpovmodeler/pmdialogeditbase.cpp b/kpovmodeler/pmdialogeditbase.cpp
index 9b575fd8..c84982bf 100644
--- a/kpovmodeler/pmdialogeditbase.cpp
+++ b/kpovmodeler/pmdialogeditbase.cpp
@@ -18,7 +18,7 @@
#include "pmdialogeditbase.h"
-#include <tqlayout.h>
+#include <layout.h>
#include <tqcheckbox.h>
#include <tqpushbutton.h>
#include <tqlabel.h>
@@ -451,17 +451,17 @@ void PMDialogEditBase::slotTexturePreview( )
str << "union {\n";
if( s_showBox )
{
- str << c_boxCode.tqarg( numObjects );
+ str << c_boxCode.arg( numObjects );
numObjects++;
}
if( s_showCylinder )
{
- str << c_cylinderCode.tqarg( numObjects );
+ str << c_cylinderCode.arg( numObjects );
numObjects++;
}
if( s_showSphere )
{
- str << c_sphereCode.tqarg( numObjects );
+ str << c_sphereCode.arg( numObjects );
numObjects++;
}
@@ -495,18 +495,18 @@ void PMDialogEditBase::slotTexturePreview( )
{
c1 = PMColor( s_wallColor1 );
c2 = PMColor( s_wallColor2 );
- str << c_wallCode.tqarg( c1.serialize( true ) ).tqarg( c2.serialize( true ) );
+ str << c_wallCode.arg( c1.serialize( true ) ).arg( c2.serialize( true ) );
}
if( s_showFloor )
{
c1 = PMColor( s_floorColor1 );
c2 = PMColor( s_floorColor2 );
- str << c_floorCode.tqarg( c1.serialize( true ) ).tqarg( c2.serialize( true ) );
+ str << c_floorCode.arg( c1.serialize( true ) ).arg( c2.serialize( true ) );
}
str << c_lightCode;
str << c_cameraCode[numObjects-1];
- str << c_globalSettingsCode.tqarg( s_previewGamma );
+ str << c_globalSettingsCode.arg( s_previewGamma );
// Set the render mode
mode.setHeight( s_previewSize );
@@ -519,7 +519,7 @@ void PMDialogEditBase::slotTexturePreview( )
m_pRenderFrame->setFixedSize( s_previewSize + m_pRenderFrame->frameWidth( ) * 2,
s_previewSize + m_pRenderFrame->frameWidth( ) * 2 );
m_pRenderFrame->updateGeometry( );
- m_pTexturePreviewWidget->tqlayout( )->activate( );
+ m_pTexturePreviewWidget->layout( )->activate( );
emit sizeChanged( );
m_pOutputWidget->slotClear( );
m_pRenderWidget->render( scene, mode, m_pPart->url( ) );
@@ -540,7 +540,7 @@ void PMDialogEditBase::slotPreviewFinished( int exitStatus )
KMessageBox::error( this, i18n( "Povray exited abnormally with "
"exit code %1.\n"
"See the povray output for details." )
- .tqarg( exitStatus ) );
+ .arg( exitStatus ) );
}
else if( m_pRenderWidget->povrayOutput( ).contains( "ERROR" ) )
{