summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmcsg.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/pmcsg.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/pmcsg.cpp')
-rw-r--r--kpovmodeler/pmcsg.cpp22
1 files changed, 11 insertions, 11 deletions
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 );
}