summaryrefslogtreecommitdiffstats
path: root/karbon/core/vlayer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'karbon/core/vlayer.cc')
-rw-r--r--karbon/core/vlayer.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/karbon/core/vlayer.cc b/karbon/core/vlayer.cc
index f74a3d4b..49c3bc11 100644
--- a/karbon/core/vlayer.cc
+++ b/karbon/core/vlayer.cc
@@ -17,7 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
-#include <qdom.h>
+#include <tqdom.h>
#include <klocale.h>
#include <KoRect.h>
@@ -35,8 +35,8 @@
#include "vfill.h"
#include "vstroke.h"
-VLayer::VLayer( VObject* parent, VState state )
- : VGroup( parent, state )
+VLayer::VLayer( VObject* tqparent, VState state )
+ : VGroup( tqparent, state )
{
setName( "Layer" );
// HACK : vlayer just shouldn't have fill/stroke at all
@@ -111,7 +111,7 @@ VLayer::downwards( const VObject& object )
{
if( m_objects.getFirst() == &object ) return;
- int index = m_objects.find( &object );
+ int index = m_objects.tqfind( &object );
bool bLast = m_objects.getLast() == &object;
m_objects.remove( index );
@@ -131,11 +131,11 @@ VLayer::sendToBack( const VObject& object )
}
void
-VLayer::save( QDomElement& element ) const
+VLayer::save( TQDomElement& element ) const
{
if( state() != deleted )
{
- QDomElement me = element.ownerDocument().createElement( "LAYER" );
+ TQDomElement me = element.ownerDocument().createElement( "LAYER" );
element.appendChild( me );
if( state() == normal || state() == normal_locked || state() == VObject::selected )
@@ -165,7 +165,7 @@ VLayer::saveOasis( KoStore *store, KoXmlWriter *docWriter, KoGenStyles &mainStyl
}
void
-VLayer::load( const QDomElement& element )
+VLayer::load( const TQDomElement& element )
{
setState( element.attribute( "visible" ) == 0 ? hidden : normal );
VGroup::load( element );