diff options
Diffstat (limited to 'umbrello/umbrello/seqlinewidget.h')
-rw-r--r-- | umbrello/umbrello/seqlinewidget.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/umbrello/umbrello/seqlinewidget.h b/umbrello/umbrello/seqlinewidget.h index 1978fafd..71ee9d73 100644 --- a/umbrello/umbrello/seqlinewidget.h +++ b/umbrello/umbrello/seqlinewidget.h @@ -12,7 +12,7 @@ #ifndef SEQLINEWIDGET_H #define SEQLINEWIDGET_H -#include <qcanvas.h> +#include <tqcanvas.h> class UMLView; class ObjectWidget; @@ -22,7 +22,7 @@ class ObjectWidget; * @author Paul Hensgen * Bugs and comments to uml-devel@lists.sf.net or http://bugs.kde.org */ -class SeqLineWidget : public QCanvasLine { +class SeqLineWidget : public TQCanvasLine { public: /** * Constructor. @@ -41,7 +41,7 @@ public: * @param p The point to investigate. * @return Non-zero if point is on this sequence line. */ - int onWidget(const QPoint & p); + int onWidget(const TQPoint & p); /** * Clean up anything before deletion. @@ -109,13 +109,13 @@ protected: /// The destruction box. struct DestructionBox { - QCanvasLine * line1; - QCanvasLine * line2; - void setLine1Points(QRect rect) { + TQCanvasLine * line1; + TQCanvasLine * line2; + void setLine1Points(TQRect rect) { line1->setPoints( rect.x(), rect.y(), rect.x() + rect.width(), rect.y() + rect.height() ); } - void setLine2Points(QRect rect) { + void setLine2Points(TQRect rect) { line2->setPoints( rect.x(), rect.y() + rect.height(), rect.x() + rect.width(), rect.y() ); } |