summaryrefslogtreecommitdiffstats
path: root/ksvg/impl/SVGImageElementImpl.cc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:47:59 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:47:59 -0600
commitc2637a0da6d9a1c8626ca39f8451ab3b7cda487a (patch)
treebe38034f085e8be24f14f329f87a611d319e6259 /ksvg/impl/SVGImageElementImpl.cc
parent3fd343f2c6b0545bd750b2939c74be3834b13274 (diff)
downloadtdegraphics-c2637a0da6d9a1c8626ca39f8451ab3b7cda487a.tar.gz
tdegraphics-c2637a0da6d9a1c8626ca39f8451ab3b7cda487a.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'ksvg/impl/SVGImageElementImpl.cc')
-rw-r--r--ksvg/impl/SVGImageElementImpl.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/ksvg/impl/SVGImageElementImpl.cc b/ksvg/impl/SVGImageElementImpl.cc
index 258ce95e..49f48e7d 100644
--- a/ksvg/impl/SVGImageElementImpl.cc
+++ b/ksvg/impl/SVGImageElementImpl.cc
@@ -320,10 +320,10 @@ void SVGImageElementImpl::removeItem(KSVGCanvas *c)
void SVGImageElementImpl::setupSVGElement(SVGSVGElementImpl *svg)
{
// Set up the root svg for an svg image.
- svg->setAttributeInternal("x", TQString("%1").tqarg(x()->baseVal()->value()));
- svg->setAttributeInternal("y", TQString("%1").tqarg(y()->baseVal()->value()));
- svg->setAttributeInternal("width", TQString("%1").tqarg(width()->baseVal()->value()));
- svg->setAttributeInternal("height", TQString("%1").tqarg(height()->baseVal()->value()));
+ svg->setAttributeInternal("x", TQString("%1").arg(x()->baseVal()->value()));
+ svg->setAttributeInternal("y", TQString("%1").arg(y()->baseVal()->value()));
+ svg->setAttributeInternal("width", TQString("%1").arg(width()->baseVal()->value()));
+ svg->setAttributeInternal("height", TQString("%1").arg(height()->baseVal()->value()));
TQString par = getAttribute("preserveAspectRatio").string().stripWhiteSpace();
@@ -408,7 +408,7 @@ void SVGImageElementImpl::setImage(TQImage *image)
if(m_item)
{
- ownerDoc()->canvas()->tqinvalidate(m_item, false);
+ ownerDoc()->canvas()->invalidate(m_item, false);
ownerDoc()->rerender();
}
}
@@ -508,12 +508,12 @@ void SVGImageElementImpl::applyColorProfile(SVGColorProfileElementImpl *profile,
if(image->m_image)
{
- // Image is already painted, we apply the color profile and tqrepaint it
+ // Image is already painted, we apply the color profile and repaint it
image->applyColorProfile();
if(image->item())
{
- image->ownerDoc()->canvas()->tqinvalidate(image->item(), false);
+ image->ownerDoc()->canvas()->invalidate(image->item(), false);
image->ownerDoc()->rerender();
}
}