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/pmraw.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/pmraw.cpp')
-rw-r--r-- | kpovmodeler/pmraw.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kpovmodeler/pmraw.cpp b/kpovmodeler/pmraw.cpp index a2d44784..31d7ec1a 100644 --- a/kpovmodeler/pmraw.cpp +++ b/kpovmodeler/pmraw.cpp @@ -23,7 +23,7 @@ #include "pmmemento.h" #include <klocale.h> -#include <qtextstream.h> +#include <tqtextstream.h> PMDefinePropertyClass( PMRaw, PMRawProperty ); @@ -44,7 +44,7 @@ PMRaw::PMRaw( const PMRaw& r ) m_code = r.m_code; } -PMRaw::PMRaw( PMPart* part, const QString& t ) +PMRaw::PMRaw( PMPart* part, const TQString& t ) : Base( part ) { m_code = t; @@ -54,12 +54,12 @@ PMRaw::~PMRaw( ) { } -QString PMRaw::description( ) const +TQString PMRaw::description( ) const { return i18n( "raw povray" ); } -void PMRaw::setCode( const QString& code ) +void PMRaw::setCode( const TQString& code ) { if( code != m_code ) { @@ -91,20 +91,20 @@ void PMRaw::cleanUp( ) const Base::cleanUp( ); } -void PMRaw::serialize( QDomElement& e, QDomDocument& doc ) const +void PMRaw::serialize( TQDomElement& e, TQDomDocument& doc ) const { - QDomText t = doc.createTextNode( m_code ); + TQDomText t = doc.createTextNode( m_code ); e.appendChild( t ); } void PMRaw::readAttributes( const PMXMLHelper& h ) { - QDomNode e = h.element( ).firstChild( ); + TQDomNode e = h.element( ).firstChild( ); if( e.isText( ) ) m_code = e.toText( ).data( ); } -PMDialogEditBase* PMRaw::editWidget( QWidget* parent ) const +PMDialogEditBase* PMRaw::editWidget( TQWidget* parent ) const { return new PMRawEdit( parent ); } |