summaryrefslogtreecommitdiffstats
path: root/karbon/core/vgradient.h
diff options
context:
space:
mode:
Diffstat (limited to 'karbon/core/vgradient.h')
-rw-r--r--karbon/core/vgradient.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/karbon/core/vgradient.h b/karbon/core/vgradient.h
index 5587af7e..8341eeab 100644
--- a/karbon/core/vgradient.h
+++ b/karbon/core/vgradient.h
@@ -20,15 +20,15 @@
#ifndef __VGRADIENT_H__
#define __VGRADIENT_H__
-#include <qptrlist.h>
-#include <qptrvector.h>
+#include <tqptrlist.h>
+#include <tqptrvector.h>
#include <koffice_export.h>
#include <KoPoint.h>
#include "vcolor.h"
-class QDomElement;
+class TQDomElement;
class KoGenStyle;
class KoGenStyles;
class KoStyleStack;
@@ -74,10 +74,10 @@ public:
repeat = 2
};
- class VColorStopList : public QPtrList<VColorStop>
+ class VColorStopList : public TQPtrList<VColorStop>
{
protected:
- virtual int compareItems( QPtrCollection::Item item1, QPtrCollection::Item item2 );
+ virtual int compareItems( TQPtrCollection::Item item1, TQPtrCollection::Item item2 );
}; // VColorStopList
VGradient( VGradientType type = linear );
@@ -91,7 +91,7 @@ public:
VGradientRepeatMethod repeatMethod() const { return m_repeatMethod; }
void setRepeatMethod( VGradientRepeatMethod repeatMethod ) { m_repeatMethod = repeatMethod; }
- const QPtrVector<VColorStop> colorStops() const;
+ const TQPtrVector<VColorStop> colorStops() const;
void addStop( const VColorStop& colorStop );
void addStop( const VColor &color, float rampPoint, float midPoint );
void removeStop( const VColorStop& colorStop );
@@ -106,12 +106,12 @@ public:
KoPoint vector() const { return m_vector; }
void setVector( const KoPoint &vector ) { m_vector = vector; }
- void save( QDomElement& element ) const;
- QString saveOasis( KoGenStyles &mainStyles ) const;
- void load( const QDomElement& element );
- void loadOasis( const QDomElement &object, KoStyleStack &stack, VObject* parent = 0L );
+ void save( TQDomElement& element ) const;
+ TQString saveOasis( KoGenStyles &mainStyles ) const;
+ void load( const TQDomElement& element );
+ void loadOasis( const TQDomElement &object, KoStyleStack &stack, VObject* tqparent = 0L );
- void transform( const QWMatrix& m );
+ void transform( const TQWMatrix& m );
protected:
VColorStopList m_colorStops;