diff options
Diffstat (limited to 'src/svnfrontend/graphtree/graphtreelabel.h')
-rw-r--r-- | src/svnfrontend/graphtree/graphtreelabel.h | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/src/svnfrontend/graphtree/graphtreelabel.h b/src/svnfrontend/graphtree/graphtreelabel.h index dec788f..70cb31f 100644 --- a/src/svnfrontend/graphtree/graphtreelabel.h +++ b/src/svnfrontend/graphtree/graphtreelabel.h @@ -21,40 +21,40 @@ #define GRAPHTREELABEL_H #include "graphtree/drawparams.h" -#include <qcanvas.h> +#include <tqcanvas.h> /** @author Rajko Albrecht <[email protected]> */ -class GraphTreeLabel : public QCanvasRectangle,StoredDrawParams +class GraphTreeLabel : public TQCanvasRectangle,StoredDrawParams { public: - GraphTreeLabel(const QString&,const QString&,const QRect&r,QCanvas*c); + GraphTreeLabel(const TQString&,const TQString&,const TQRect&r,TQCanvas*c); virtual ~GraphTreeLabel(); virtual int rtti()const; - virtual void drawShape(QPainter& p); + virtual void drawShape(TQPainter& p); - void setBgColor(const QColor&); + void setBgColor(const TQColor&); - const QString&nodename()const; - const QString&source()const; - void setSource(const QString&); + const TQString&nodename()const; + const TQString&source()const; + void setSource(const TQString&); virtual void setSelected(bool); protected: - QString m_Nodename; - QString m_SourceNode; + TQString m_Nodename; + TQString m_SourceNode; }; class GraphEdge; -class GraphEdgeArrow:public QCanvasPolygon +class GraphEdgeArrow:public TQCanvasPolygon { public: - GraphEdgeArrow(GraphEdge*,QCanvas*); + GraphEdgeArrow(GraphEdge*,TQCanvas*); GraphEdge*edge(); - virtual void drawShape(QPainter&); + virtual void drawShape(TQPainter&); virtual int rtti()const; private: @@ -62,28 +62,28 @@ private: }; /* line */ -class GraphEdge:public QCanvasSpline +class GraphEdge:public TQCanvasSpline { public: - GraphEdge(QCanvas*); + GraphEdge(TQCanvas*); virtual ~GraphEdge(); - virtual void drawShape(QPainter&); - QPointArray areaPoints() const; + virtual void drawShape(TQPainter&); + TQPointArray areaPoints() const; virtual int rtti()const; }; -class GraphMark:public QCanvasRectangle +class GraphMark:public TQCanvasRectangle { public: - GraphMark(GraphTreeLabel*,QCanvas*); + GraphMark(GraphTreeLabel*,TQCanvas*); virtual ~GraphMark(); virtual int rtti()const; - virtual bool hit(const QPoint&)const; + virtual bool hit(const TQPoint&)const; - virtual void drawShape(QPainter&); + virtual void drawShape(TQPainter&); private: - static QPixmap*_p; + static TQPixmap*_p; }; #endif |