summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmcamera.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
commiteba47f8f0637f451e21348187591e1f1fd58ac74 (patch)
tree448f10b95c656604acc331a3236c1e59bde5c1ad /kpovmodeler/pmcamera.cpp
parentc7e8736c69373f48b0401319757c742e8607431a (diff)
downloadtdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz
tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpovmodeler/pmcamera.cpp')
-rw-r--r--kpovmodeler/pmcamera.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kpovmodeler/pmcamera.cpp b/kpovmodeler/pmcamera.cpp
index b224f340..ca37f751 100644
--- a/kpovmodeler/pmcamera.cpp
+++ b/kpovmodeler/pmcamera.cpp
@@ -114,12 +114,12 @@ PMCamera::~PMCamera( )
{
}
-QString PMCamera::description( ) const
+TQString PMCamera::description( ) const
{
return i18n( "camera" );
}
-void PMCamera::serialize( QDomElement& e, QDomDocument& doc ) const
+void PMCamera::serialize( TQDomElement& e, TQDomDocument& doc ) const
{
e.setAttribute( "camera_type", cameraTypeToString( m_cameraType ) );
e.setAttribute( "cylinder_type", m_cylinderType );
@@ -443,7 +443,7 @@ void PMCamera::setExportPovray( bool ex )
}
}
-PMDialogEditBase* PMCamera::editWidget( QWidget* parent ) const
+PMDialogEditBase* PMCamera::editWidget( TQWidget* parent ) const
{
return new PMCameraEdit( parent );
}
@@ -699,9 +699,9 @@ void PMCamera::calculateLookAtAngle( PMVector& right, PMVector& up, PMVector& di
up *= upLen;
}
-QString PMCamera::cameraTypeToString( PMCamera::CameraType t )
+TQString PMCamera::cameraTypeToString( PMCamera::CameraType t )
{
- QString str( "perspective" );
+ TQString str( "perspective" );
switch( t )
{
case Perspective:
@@ -728,7 +728,7 @@ QString PMCamera::cameraTypeToString( PMCamera::CameraType t )
return str;
}
-PMCamera::CameraType PMCamera::stringToCameraType( const QString& str )
+PMCamera::CameraType PMCamera::stringToCameraType( const TQString& str )
{
CameraType t = Perspective;