summaryrefslogtreecommitdiffstats
path: root/karbon/core/vclipgroup.cc
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /karbon/core/vclipgroup.cc
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz
koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'karbon/core/vclipgroup.cc')
-rw-r--r--karbon/core/vclipgroup.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/karbon/core/vclipgroup.cc b/karbon/core/vclipgroup.cc
index fb96f609..2451f321 100644
--- a/karbon/core/vclipgroup.cc
+++ b/karbon/core/vclipgroup.cc
@@ -22,7 +22,7 @@
#include <config.h>
#endif
-#include <qdom.h>
+#include <tqdom.h>
#include <kdebug.h>
@@ -32,7 +32,7 @@
#include "vsegment.h"
#include <vpainter.h>
#include "vtext.h"
-VClipGroup::VClipGroup( VObject* parent, VState state ) : VGroup( parent, state ) {}
+VClipGroup::VClipGroup( VObject* tqparent, VState state ) : VGroup( tqparent, state ) {}
VClipGroup::VClipGroup( const VClipGroup& group ) : VGroup( group ) {}
VClipGroup::~VClipGroup() { }
@@ -72,9 +72,9 @@ VClipGroup* VClipGroup::clone() const
}
-void VClipGroup::save( QDomElement& element ) const
+void VClipGroup::save( TQDomElement& element ) const
{
- QDomElement me = element.ownerDocument().createElement( "CLIP" );
+ TQDomElement me = element.ownerDocument().createElement( "CLIP" );
element.appendChild( me );
// save objects:
@@ -84,18 +84,18 @@ void VClipGroup::save( QDomElement& element ) const
itr.current()->save( me );
}
-void VClipGroup::load( const QDomElement& element )
+void VClipGroup::load( const TQDomElement& element )
{
m_objects.setAutoDelete( true );
m_objects.clear();
m_objects.setAutoDelete( false );
- QDomNodeList list = element.childNodes();
+ TQDomNodeList list = element.childNodes();
for( uint i = 0; i < list.count(); ++i )
{
if( list.item( i ).isElement() )
{
- QDomElement e = list.item( i ).toElement();
+ TQDomElement e = list.item( i ).toElement();
if( e.tagName() == "COMPOSITE" || e.tagName() == "PATH" ) // TODO : remove COMPOSITE later
{
@@ -146,7 +146,7 @@ void PathRenderer::visitVSubpath( VSubpath& path )
KoPoint p2;
KoPoint p3;
- QString buffer;
+ TQString buffer;
if(segment->state() != VSegment::deleted)
{