diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
commit | eba47f8f0637f451e21348187591e1f1fd58ac74 (patch) | |
tree | 448f10b95c656604acc331a3236c1e59bde5c1ad /kpovmodeler/pmisosurface.cpp | |
parent | c7e8736c69373f48b0401319757c742e8607431a (diff) | |
download | tdegraphics-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/pmisosurface.cpp')
-rw-r--r-- | kpovmodeler/pmisosurface.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kpovmodeler/pmisosurface.cpp b/kpovmodeler/pmisosurface.cpp index 16e5e247..c32c0683 100644 --- a/kpovmodeler/pmisosurface.cpp +++ b/kpovmodeler/pmisosurface.cpp @@ -96,14 +96,14 @@ PMIsoSurface::~PMIsoSurface( ) { } -QString PMIsoSurface::description( ) const +TQString PMIsoSurface::description( ) const { return i18n( "isosurface" ); } -void PMIsoSurface::serialize( QDomElement& e, QDomDocument& doc ) const +void PMIsoSurface::serialize( TQDomElement& e, TQDomDocument& doc ) const { - QDomText t = doc.createTextNode( m_function ); + TQDomText t = doc.createTextNode( m_function ); e.appendChild( t ); if( m_containedBy == Box ) @@ -129,11 +129,11 @@ void PMIsoSurface::serialize( QDomElement& e, QDomDocument& doc ) const void PMIsoSurface::readAttributes( const PMXMLHelper& h ) { - QDomNode e = h.element( ).firstChild( ); + TQDomNode e = h.element( ).firstChild( ); if( e.isText( ) ) m_function = e.toText( ).data( ); - QString str = h.stringAttribute( "contained_by", "" ); + TQString str = h.stringAttribute( "contained_by", "" ); if( str == "sphere" ) m_containedBy = Sphere; else @@ -174,7 +174,7 @@ PMMetaObject* PMIsoSurface::metaObject( ) const return s_pMetaObject; } -void PMIsoSurface::setFunction( const QString& f ) +void PMIsoSurface::setFunction( const TQString& f ) { if( f != m_function ) { @@ -333,7 +333,7 @@ void PMIsoSurface::setAllIntersections( bool yes ) } } -PMDialogEditBase* PMIsoSurface::editWidget( QWidget* parent ) const +PMDialogEditBase* PMIsoSurface::editWidget( TQWidget* parent ) const { return new PMIsoSurfaceEdit( parent ); } |