summaryrefslogtreecommitdiffstats
path: root/kivio/kiviopart/kiviosdk/kivio_arrowhead.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kivio/kiviopart/kiviosdk/kivio_arrowhead.cpp')
-rw-r--r--kivio/kiviopart/kiviosdk/kivio_arrowhead.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/kivio/kiviopart/kiviosdk/kivio_arrowhead.cpp b/kivio/kiviopart/kiviosdk/kivio_arrowhead.cpp
index de464113..6728f7aa 100644
--- a/kivio/kiviopart/kiviosdk/kivio_arrowhead.cpp
+++ b/kivio/kiviopart/kiviosdk/kivio_arrowhead.cpp
@@ -39,9 +39,9 @@ KivioArrowHead::~KivioArrowHead()
{
}
-QDomElement KivioArrowHead::saveXML( QDomDocument &doc )
+TQDomElement KivioArrowHead::saveXML( TQDomDocument &doc )
{
- QDomElement e = doc.createElement("KivioArrowHead");
+ TQDomElement e = doc.createElement("KivioArrowHead");
XmlWriteFloat( e, "cut", m_cut );
XmlWriteFloat( e, "w", m_w );
@@ -51,7 +51,7 @@ QDomElement KivioArrowHead::saveXML( QDomDocument &doc )
return e;
}
-bool KivioArrowHead::loadXML( const QDomElement &e )
+bool KivioArrowHead::loadXML( const TQDomElement &e )
{
m_cut = XmlReadFloat( e, "cut", 0.0f );
m_w = XmlReadFloat( e, "w", 10.0f );
@@ -243,7 +243,7 @@ void KivioArrowHead::paintArrowLine( KivioArrowHeadData *d )
pvecX = nvecY;
pvecY = -nvecX;
- QPtrList<KivioPoint>l;
+ TQPtrList<KivioPoint>l;
l.setAutoDelete(true);
float _x;
@@ -275,7 +275,7 @@ void KivioArrowHead::paintArrowLine( KivioArrowHeadData *d )
void KivioArrowHead::paintArrowTriangle( KivioArrowHeadData *d, bool solid )
{
KivioPainter *painter = d->painter;
- QColor cbg = painter->bgColor();
+ TQColor cbg = painter->bgColor();
if(solid) {
painter->setBGColor(painter->fgColor());
@@ -299,7 +299,7 @@ void KivioArrowHead::paintArrowTriangle( KivioArrowHeadData *d, bool solid )
pvecX = nvecY;
pvecY = -nvecX;
- QPtrList<KivioPoint>l;
+ TQPtrList<KivioPoint>l;
l.setAutoDelete(true);
float _x = zoomHandler->zoomItX(d->x);
@@ -329,7 +329,7 @@ void KivioArrowHead::paintArrowTriangle( KivioArrowHeadData *d, bool solid )
void KivioArrowHead::paintDoubleTriangle( KivioArrowHeadData *d, bool solid )
{
KivioPainter *painter = d->painter;
- QColor cbg = painter->bgColor();
+ TQColor cbg = painter->bgColor();
if(solid) {
painter->setBGColor(painter->fgColor());
@@ -353,9 +353,9 @@ void KivioArrowHead::paintDoubleTriangle( KivioArrowHeadData *d, bool solid )
pvecX = nvecY;
pvecY = -nvecX;
- QPtrList<KivioPoint> l1;
+ TQPtrList<KivioPoint> l1;
l1.setAutoDelete(true);
- QPtrList<KivioPoint> l2;
+ TQPtrList<KivioPoint> l2;
l2.setAutoDelete(true);
float _x = zoomHandler->zoomItX(d->x);
@@ -483,7 +483,7 @@ void KivioArrowHead::paintPipe( KivioArrowHeadData *d )
void KivioArrowHead::paintDiamond( KivioArrowHeadData *d, bool solid )
{
KivioPainter *painter = d->painter;
- QColor cbg = painter->bgColor();
+ TQColor cbg = painter->bgColor();
if(solid) {
painter->setBGColor(painter->fgColor());
@@ -505,7 +505,7 @@ void KivioArrowHead::paintDiamond( KivioArrowHeadData *d, bool solid )
pvecX = nvecY;
pvecY = -nvecX;
- QPtrList<KivioPoint> l;
+ TQPtrList<KivioPoint> l;
l.setAutoDelete(true);
float _x = zoomHandler->zoomItX(d->x);
@@ -535,7 +535,7 @@ void KivioArrowHead::paintDiamond( KivioArrowHeadData *d, bool solid )
void KivioArrowHead::paintCircle( KivioArrowHeadData *d, bool solid )
{
KivioPainter *painter = d->painter;
- QColor cbg = painter->bgColor();
+ TQColor cbg = painter->bgColor();
if(solid) {
painter->setBGColor(painter->fgColor());
@@ -588,7 +588,7 @@ void KivioArrowHead::paintCrowFoot( KivioArrowHeadData *d )
pvecX = nvecY;
pvecY = -nvecX;
- QPtrList<KivioPoint>l;
+ TQPtrList<KivioPoint>l;
l.setAutoDelete(true);
float _x;
@@ -639,7 +639,7 @@ void KivioArrowHead::paintFork( KivioArrowHeadData *d )
pvecX = nvecY;
pvecY = -nvecX;
- QPtrList<KivioPoint>l;
+ TQPtrList<KivioPoint>l;
l.setAutoDelete(true);
float _x;