summaryrefslogtreecommitdiffstats
path: root/ksvg/core/KSVGCanvas.h
diff options
context:
space:
mode:
Diffstat (limited to 'ksvg/core/KSVGCanvas.h')
-rw-r--r--ksvg/core/KSVGCanvas.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/ksvg/core/KSVGCanvas.h b/ksvg/core/KSVGCanvas.h
index aa41e6c2..367d17d4 100644
--- a/ksvg/core/KSVGCanvas.h
+++ b/ksvg/core/KSVGCanvas.h
@@ -56,9 +56,10 @@ class CanvasClipPath;
class CanvasPaintServer;
// Must be a TQObject to be able to be loaded by KLibLoader...
-class KSVGCanvas : public QObject
+class KSVGCanvas : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
KSVGCanvas(unsigned int width, unsigned int height);
virtual ~KSVGCanvas();
@@ -74,7 +75,7 @@ public:
void update(const TQPoint &panPoint, bool erase = true);
void resize(unsigned int w, unsigned int h);
void retune(unsigned int csh, unsigned int csv);
- void invalidate(CanvasItem *item, bool recalc = true);
+ void tqinvalidate(CanvasItem *item, bool recalc = true);
CanvasItemList collisions(const TQPoint &p, bool exact = false) const;
void setBackgroundColor(const TQColor &c) { m_backgroundColor = c; }
@@ -125,7 +126,7 @@ public:
T2P::FontVisualParams *fontVisualParams(SVGStylableImpl *style) const;
virtual T2P::BezierPath *toBezierPath(CanvasItem *item) const { Q_UNUSED(item); return 0; }
- // Assign z indices to the element and its children, starting with z, and
+ // Assign z indices to the element and its tqchildren, starting with z, and
// return the next z value to be used.
unsigned int setElementItemZIndexRecursive(SVGElementImpl *element, unsigned int z);