summaryrefslogtreecommitdiffstats
path: root/kivio/kiviopart/kiviosdk/kivio_gradient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kivio/kiviopart/kiviosdk/kivio_gradient.cpp')
-rw-r--r--kivio/kiviopart/kiviosdk/kivio_gradient.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/kivio/kiviopart/kiviosdk/kivio_gradient.cpp b/kivio/kiviopart/kiviosdk/kivio_gradient.cpp
index 0cae5d5e..eaa35c3c 100644
--- a/kivio/kiviopart/kiviosdk/kivio_gradient.cpp
+++ b/kivio/kiviopart/kiviosdk/kivio_gradient.cpp
@@ -29,11 +29,11 @@ KivioGradient::KivioGradient()
m_pPoints(NULL)
{
// Allocate the color list
- m_pColors = new QPtrList<QColor>;
+ m_pColors = new TQPtrList<TQColor>;
m_pColors->setAutoDelete(true);
// Allocate the point list
- m_pPoints = new QPtrList<KivioPoint>;
+ m_pPoints = new TQPtrList<KivioPoint>;
m_pPoints->setAutoDelete(true);
m_gradientType = kgtNone;
@@ -77,12 +77,12 @@ KivioGradient::KivioGradient( const KivioGradient &source )
m_gradientType = source.m_gradientType;
// Duplicate the colors list
- QColor *pColor;
- m_pColors = new QPtrList<QColor>;
+ TQColor *pColor;
+ m_pColors = new TQPtrList<TQColor>;
pColor = source.m_pColors->first();
while( pColor )
{
- m_pColors->append( new QColor(*pColor) );
+ m_pColors->append( new TQColor(*pColor) );
pColor = source.m_pColors->next();
}
@@ -90,7 +90,7 @@ KivioGradient::KivioGradient( const KivioGradient &source )
// Duplicate the point list
KivioPoint *pPoint;
- m_pPoints = new QPtrList<KivioPoint>;
+ m_pPoints = new TQPtrList<KivioPoint>;
pPoint = source.m_pPoints->first();
while( pPoint )
{
@@ -124,16 +124,16 @@ void KivioGradient::copyInto( KivioGradient *pTarget ) const
}
// Allocate a new color array
- pTarget->m_pColors = new QPtrList<QColor>;
+ pTarget->m_pColors = new TQPtrList<TQColor>;
pTarget->m_pColors->setAutoDelete(true);
// Copy the colors
- QColor *pColor;
+ TQColor *pColor;
pColor = m_pColors->first();
while( pColor )
{
- pTarget->m_pColors->append( new QColor(*pColor) );
+ pTarget->m_pColors->append( new TQColor(*pColor) );
pColor = m_pColors->next();
}
@@ -144,7 +144,7 @@ void KivioGradient::copyInto( KivioGradient *pTarget ) const
pTarget->m_pPoints = NULL;
}
- pTarget->m_pPoints = new QPtrList<KivioPoint>;
+ pTarget->m_pPoints = new TQPtrList<KivioPoint>;
pTarget->m_pPoints->setAutoDelete(true);
KivioPoint *pPoint;
@@ -163,7 +163,7 @@ void KivioGradient::copyInto( KivioGradient *pTarget ) const
*
* FIXME: Implement this
*/
-bool KivioGradient::loadXML( const QDomElement & )
+bool KivioGradient::loadXML( const TQDomElement & )
{
return false;
}
@@ -174,7 +174,7 @@ bool KivioGradient::loadXML( const QDomElement & )
*
* FIXME: Implement this
*/
-QDomElement KivioGradient::saveXML( QDomDocument &doc )
+TQDomElement KivioGradient::saveXML( TQDomDocument &doc )
{
return doc.createElement("KivioGradient");