summaryrefslogtreecommitdiffstats
path: root/parts/classview/digraphview.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:51:21 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:51:21 -0600
commitb6ba5d642f3fc7d320e3d6f4650eb259a3a52b04 (patch)
tree76f49820693d443128d3720322ff1605e9bcd558 /parts/classview/digraphview.cpp
parent247f828db1b8dcdc9346c1568d81cfa00db99c9e (diff)
downloadtdevelop-b6ba5d642f3fc7d320e3d6f4650eb259a3a52b04.tar.gz
tdevelop-b6ba5d642f3fc7d320e3d6f4650eb259a3a52b04.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'parts/classview/digraphview.cpp')
-rw-r--r--parts/classview/digraphview.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/parts/classview/digraphview.cpp b/parts/classview/digraphview.cpp
index ba09e463..49d3b259 100644
--- a/parts/classview/digraphview.cpp
+++ b/parts/classview/digraphview.cpp
@@ -16,7 +16,7 @@
#include <tqapplication.h>
#include <tqpainter.h>
#include <tqpaintdevicemetrics.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <kglobal.h>
#include <klocale.h>
#include <kmessagebox.h>
@@ -235,7 +235,7 @@ void DigraphView::process( const TQString& file, const TQString& ext )
TQTextStream &is = *ifile.textStream();
is << "digraph G {" << endl;
is << "rankdir=LR;" << endl;
- is << "node [tqshape=box,fontname=Helvetica,fontsize=12];" << endl;
+ is << "node [shape=box,fontname=Helvetica,fontsize=12];" << endl;
TQStringList::Iterator it;
for (it = inputs.begin(); it != inputs.end(); ++it)
is << (*it) << endl;
@@ -313,7 +313,7 @@ void DigraphView::drawContents(TQPainter* p, int clipx, int clipy, int clipw, in
triangle[0] = p2 + TQPoint((int)(d11+d21),(int)(d12+d22));
triangle[1] = p2 + TQPoint((int)(d11-d21),(int)(d12-d22));
triangle[2] = p2;
- p->tqdrawPolygon(triangle, true);
+ p->drawPolygon(triangle, true);
}
}
@@ -338,7 +338,7 @@ void DigraphView::contentsMousePressEvent(TQMouseEvent *e)
}
-TQSize DigraphView::tqsizeHint() const
+TQSize DigraphView::sizeHint() const
{
if (width == -1)
return TQSize(100, 100); // arbitrary