From eba47f8f0637f451e21348187591e1f1fd58ac74 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 2 Aug 2010 19:23:46 +0000 Subject: TQt conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kpovmodeler/pmcsg.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'kpovmodeler/pmcsg.cpp') diff --git a/kpovmodeler/pmcsg.cpp b/kpovmodeler/pmcsg.cpp index 3af76740..0ac7e58a 100644 --- a/kpovmodeler/pmcsg.cpp +++ b/kpovmodeler/pmcsg.cpp @@ -54,7 +54,7 @@ PMCSG::~PMCSG( ) { } -QString PMCSG::description( ) const +TQString PMCSG::description( ) const { switch( m_type ) { @@ -71,30 +71,30 @@ QString PMCSG::description( ) const return i18n( "merge" ); break; } - return QString( "" ); + return TQString( "" ); } -QString PMCSG::pixmap( ) const +TQString PMCSG::pixmap( ) const { switch( m_type ) { case CSGUnion: - return QString( "pmunion" ); + return TQString( "pmunion" ); break; case CSGIntersection: - return QString( "pmintersection" ); + return TQString( "pmintersection" ); break; case CSGDifference: - return QString( "pmdifference" ); + return TQString( "pmdifference" ); break; case CSGMerge: - return QString( "pmmerge" ); + return TQString( "pmmerge" ); break; } - return QString( "" ); + return TQString( "" ); } -void PMCSG::serialize( QDomElement& e, QDomDocument& doc ) const +void PMCSG::serialize( TQDomElement& e, TQDomDocument& doc ) const { switch( m_type ) { @@ -117,7 +117,7 @@ void PMCSG::serialize( QDomElement& e, QDomDocument& doc ) const void PMCSG::readAttributes( const PMXMLHelper& h ) { - QString str = h.stringAttribute( "csgtype", "union" ); + TQString str = h.stringAttribute( "csgtype", "union" ); if( str == "union" ) m_type = CSGUnion; else if( str == "intersection" ) @@ -169,7 +169,7 @@ void PMCSG::setCSGType( const PMCSGType t ) } } -PMDialogEditBase* PMCSG::editWidget( QWidget* parent ) const +PMDialogEditBase* PMCSG::editWidget( TQWidget* parent ) const { return new PMCSGEdit( parent ); } -- cgit v1.2.1