summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmscene.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/pmscene.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/pmscene.cpp')
-rw-r--r--kpovmodeler/pmscene.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kpovmodeler/pmscene.cpp b/kpovmodeler/pmscene.cpp
index b8de8eef..cd6593cd 100644
--- a/kpovmodeler/pmscene.cpp
+++ b/kpovmodeler/pmscene.cpp
@@ -18,7 +18,7 @@
#include "pmscene.h"
#include <klocale.h>
-#include <qdom.h>
+#include <tqdom.h>
#include "pmxmlhelper.h"
#include "pmdocumentformat.h"
@@ -47,7 +47,7 @@ PMScene::~PMScene( )
m_renderModes.clear( );
}
-QString PMScene::description( ) const
+TQString PMScene::description( ) const
{
return i18n( "scene" );
}
@@ -72,13 +72,13 @@ void PMScene::cleanUp( ) const
Base::cleanUp( );
}
-void PMScene::serialize( QDomElement& e, QDomDocument& doc ) const
+void PMScene::serialize( TQDomElement& e, TQDomDocument& doc ) const
{
e.setAttribute( "majorFormat", c_majorDocumentFormat );
e.setAttribute( "minorFormat", c_minorDocumentFormat );
e.setAttribute( "visibility_level", m_visibilityLevel );
- QDomElement data = doc.createElement( "extra_data" );
- QDomElement rm;
+ TQDomElement data = doc.createElement( "extra_data" );
+ TQDomElement rm;
PMRenderModeListIterator it( m_renderModes );
for( ; it.current( ); ++it )
@@ -95,15 +95,15 @@ void PMScene::serialize( QDomElement& e, QDomDocument& doc ) const
void PMScene::readAttributes( const PMXMLHelper& h )
{
m_visibilityLevel = h.intAttribute( "visibility_level", c_defaultVisibilityLevel );
- QDomElement e = h.extraData( );
+ TQDomElement e = h.extraData( );
if( !e.isNull( ) )
{
- QDomNode c = e.firstChild( );
+ TQDomNode c = e.firstChild( );
while( !c.isNull( ) )
{
if( c.isElement( ) )
{
- QDomElement ce = c.toElement( );
+ TQDomElement ce = c.toElement( );
if( ce.tagName( ) == "rendermode" )
m_renderModes.append( new PMRenderMode( ce ) );
}