summaryrefslogtreecommitdiffstats
path: root/src/svnfrontend/graphtree/graphtreelabel.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-04 19:54:24 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-04 19:54:24 +0000
commitd7633c195a464e4d344ada9eea61afd10110598a (patch)
tree1f2da0b135f3ed84955e340cae823f00c4ce7284 /src/svnfrontend/graphtree/graphtreelabel.h
parent3fa7eb804f67b2789f128075cc2522f398640250 (diff)
downloadtdesvn-d7633c195a464e4d344ada9eea61afd10110598a.tar.gz
tdesvn-d7633c195a464e4d344ada9eea61afd10110598a.zip
Port kdesvn to TQt4
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kdesvn@1230412 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/svnfrontend/graphtree/graphtreelabel.h')
-rw-r--r--src/svnfrontend/graphtree/graphtreelabel.h44
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