summaryrefslogtreecommitdiffstats
path: root/src/diagram.cpp
diff options
context:
space:
mode:
authormueller <mueller@afe2bf4a-e733-0410-8a33-86f594647bc7>1999-12-15 19:37:58 (GMT)
committermueller <mueller@afe2bf4a-e733-0410-8a33-86f594647bc7>1999-12-15 19:37:58 (GMT)
commit5576fbf6d0a8baa16fa65a37a172543397ee950a (patch)
treeb859924ab8503fed25bbfbc7ea96b72b9dee34b0 /src/diagram.cpp
parentd4bdeb54df648007d9a2b4a9ec5c2ef3b84f1a3b (diff)
downloadDoxygen-5576fbf6d0a8baa16fa65a37a172543397ee950a.zip
Doxygen-5576fbf6d0a8baa16fa65a37a172543397ee950a.tar.gz
Doxygen-5576fbf6d0a8baa16fa65a37a172543397ee950a.tar.bz2
mods for doxygen-0.49-991106
Diffstat (limited to 'src/diagram.cpp')
-rw-r--r--src/diagram.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/diagram.cpp b/src/diagram.cpp
index d25b334..4cbd7cb 100644
--- a/src/diagram.cpp
+++ b/src/diagram.cpp
@@ -20,7 +20,7 @@
#include <stdlib.h>
#include <qlist.h>
#include <qarray.h>
-#include <qtstream.h>
+#include <qtextstream.h>
#include <qfile.h>
#include "diagram.h"
@@ -155,7 +155,7 @@ static void writeMapArea(QTextStream &t,ClassDef *cd,int x,int y,int w,int h)
t << "href=\"" << cd->getOutputFileBase() << ".html\" ";
t << "ALT=\"" << cd->name();
t << "\" shape=\"rect\" coords=\"" << x << "," << y << ",";
- t << x+w << "," << y+h << "\">" << endl;
+ t << (x+w) << "," << (y+h) << "\">" << endl;
}
}
//-----------------------------------------------------------------------------
@@ -620,13 +620,13 @@ void TreeDiagram::drawConnectors(QTextStream &t,Image *image,
t << protToString(di->protection()) << endl;
if (doBase)
{
- t << "1 " << di->xPos()/(float)gridWidth << " "
- << di->yPos()/(float)gridHeight+superRows-1 << " in\n";
+ t << "1 " << (di->xPos()/(float)gridWidth) << " "
+ << (di->yPos()/(float)gridHeight+superRows-1) << " in\n";
}
else
{
- t << "0 " << di->xPos()/(float)gridWidth << " "
- << (float)superRows-0.25-di->yPos()/(float)gridHeight
+ t << "0 " << (di->xPos()/(float)gridWidth) << " "
+ << ((float)superRows-0.25-di->yPos()/(float)gridHeight)
<< " in\n";
}
}
@@ -740,7 +740,7 @@ void TreeDiagram::drawConnectors(QTextStream &t,Image *image,
}
else
{
- t << xf << " " << ysf + 0.25 << " " << yf << " vedge\n";
+ t << xf << " " << (ysf + 0.25) << " " << yf << " vedge\n";
}
}
}
@@ -787,12 +787,12 @@ void TreeDiagram::drawConnectors(QTextStream &t,Image *image,
if (doBase)
{
t << "1 " << di->xPos()/(float)gridWidth << " "
- << di->yPos()/(float)gridHeight+superRows-1 << " in\n";
+ << (di->yPos()/(float)gridHeight+superRows-1) << " in\n";
}
else
{
t << "0 " << di->xPos()/(float)gridWidth << " "
- << (float)superRows-0.25-di->yPos()/(float)gridHeight
+ << ((float)superRows-0.25-di->yPos()/(float)gridHeight)
<< " in\n";
}
}
@@ -827,12 +827,12 @@ void TreeDiagram::drawConnectors(QTextStream &t,Image *image,
if (doBase)
{
t << "0 " << di->xPos()/(float)gridWidth << " "
- << di->yPos()/(float)gridHeight+superRows-1 << " out\n";
+ << (di->yPos()/(float)gridHeight+superRows-1) << " out\n";
}
else
{
t << "1 " << di->xPos()/(float)gridWidth << " "
- << (float)superRows-1.75-di->yPos()/(float)gridHeight
+ << ((float)superRows-1.75-di->yPos()/(float)gridHeight)
<< " out\n";
}
}
@@ -863,14 +863,14 @@ void TreeDiagram::drawConnectors(QTextStream &t,Image *image,
{
t << first->xPos()/(float)gridWidth << " "
<< last->xPos()/(float)gridWidth << " "
- << first->yPos()/(float)gridHeight+superRows-1
+ << (first->yPos()/(float)gridHeight+superRows-1)
<< " conn\n";
}
else
{
t << first->xPos()/(float)gridWidth << " "
<< last->xPos()/(float)gridWidth << " "
- << (float)superRows-first->yPos()/(float)gridHeight
+ << ((float)superRows-first->yPos()/(float)gridHeight)
<< " conn\n";
}
}