diff options
author | Timothy Pearson <[email protected]> | 2011-12-15 15:47:59 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-15 15:47:59 -0600 |
commit | c2637a0da6d9a1c8626ca39f8451ab3b7cda487a (patch) | |
tree | be38034f085e8be24f14f329f87a611d319e6259 /ksvg/core/KSVGCanvas.cpp | |
parent | 3fd343f2c6b0545bd750b2939c74be3834b13274 (diff) | |
download | tdegraphics-c2637a0da6d9a1c8626ca39f8451ab3b7cda487a.tar.gz tdegraphics-c2637a0da6d9a1c8626ca39f8451ab3b7cda487a.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'ksvg/core/KSVGCanvas.cpp')
-rw-r--r-- | ksvg/core/KSVGCanvas.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/ksvg/core/KSVGCanvas.cpp b/ksvg/core/KSVGCanvas.cpp index d16676ab..bbd63524 100644 --- a/ksvg/core/KSVGCanvas.cpp +++ b/ksvg/core/KSVGCanvas.cpp @@ -362,7 +362,7 @@ T2P::FontVisualParams *KSVGCanvas::fontVisualParams(SVGStylableImpl *style) cons return fontVisualParams; } -void KSVGCanvas::tqinvalidate(CanvasItem *item, bool recalc) +void KSVGCanvas::invalidate(CanvasItem *item, bool recalc) { if(m_chunksByItem.find(item) != m_chunksByItem.end()) { @@ -395,7 +395,7 @@ void KSVGCanvas::insert(CanvasItem *item, int z) bool visible = item->isVisible(); if(visible) - tqinvalidate(item, false); + invalidate(item, false); if(m_immediateUpdate) { @@ -462,15 +462,15 @@ void KSVGCanvas::addToChunks(CanvasItem *item) unsigned int KSVGCanvas::setElementItemZIndexRecursive(SVGElementImpl *element, unsigned int z) { - SVGShapeImpl *tqshape = dynamic_cast<SVGShapeImpl *>(element); + SVGShapeImpl *shape = dynamic_cast<SVGShapeImpl *>(element); - if(tqshape) + if(shape) { - CanvasItem *item = tqshape->item(); + CanvasItem *item = shape->item(); if(item) { - SVGImageElementImpl *image = dynamic_cast<SVGImageElementImpl *>(tqshape); + SVGImageElementImpl *image = dynamic_cast<SVGImageElementImpl *>(shape); if(image && image->svgImageRootElement()) { @@ -481,7 +481,7 @@ unsigned int KSVGCanvas::setElementItemZIndexRecursive(SVGElementImpl *element, else { item->setZIndex(z); - tqinvalidate(item, false); + invalidate(item, false); z++; } } @@ -766,7 +766,7 @@ void KSVGCanvas::blit() void KSVGCanvas::ChunkManager::addChunk(CanvasChunk *chunk) { - TQString key = TQString("%1 %2").tqarg(chunk->x()).tqarg(chunk->y()); + TQString key = TQString("%1 %2").arg(chunk->x()).arg(chunk->y()); // kdDebug(26005) << k_funcinfo << "Adding chunk : " << chunk << endl; m_chunks.insert(key, chunk); } @@ -774,7 +774,7 @@ void KSVGCanvas::ChunkManager::addChunk(CanvasChunk *chunk) CanvasChunk *KSVGCanvas::ChunkManager::getChunk(short x, short y) const { // kdDebug(26005) << k_funcinfo << "getting chunk from : " << x << ", " << y << endl; - TQString key = TQString("%1 %2").tqarg(x).tqarg(y); + TQString key = TQString("%1 %2").arg(x).arg(y); return m_chunks[key]; } |