summaryrefslogtreecommitdiffstats
path: root/chalk/ui/kis_previewwidget.cc
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
commit7c71ab86d1f7e387fc3df63b48df07231f111862 (patch)
tree30ba2d2f840ff5fd458b6113e9c3f2e8a71d510d /chalk/ui/kis_previewwidget.cc
parentafbfdc507bfaafc8824a9808311d57a9ece87510 (diff)
downloadkoffice-7c71ab86d1f7e387fc3df63b48df07231f111862.tar.gz
koffice-7c71ab86d1f7e387fc3df63b48df07231f111862.zip
Remove the tq in front of these incorrectly TQt4-converted methods/data members:
tqrepaint[...] tqinvalidate[...] tqparent[...] tqmask[...] tqlayout[...] tqalignment[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'chalk/ui/kis_previewwidget.cc')
-rw-r--r--chalk/ui/kis_previewwidget.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chalk/ui/kis_previewwidget.cc b/chalk/ui/kis_previewwidget.cc
index c9c2a766..c534384a 100644
--- a/chalk/ui/kis_previewwidget.cc
+++ b/chalk/ui/kis_previewwidget.cc
@@ -333,8 +333,8 @@ void KisPreviewWidget::runFilterHelper() {
if (m_origDevice->image())
{
m_scaledImage = new KisImage(*m_origDevice->image());
- if(!m_origDevice->tqparentLayer()) return;
- TQString layerName = m_origDevice->tqparentLayer()->name();
+ if(!m_origDevice->parentLayer()) return;
+ TQString layerName = m_origDevice->parentLayer()->name();
KisPaintLayerSP pl = ::tqqt_cast<KisPaintLayer*>(m_scaledImage->findLayer(layerName));
if(!pl) return;
scaledDevice = pl->paintDevice();
@@ -356,7 +356,7 @@ void KisPreviewWidget::runFilterHelper() {
0.0, 0.0, 0.0, 0, 0, NULL, &strategy);
tw.run();
scaledDevice->setSelection(select);
- select->setParentLayer(scaledDevice->tqparentLayer());
+ select->setParentLayer(scaledDevice->parentLayer());
}
// Crop by the zoom value instead of cropping by rectangle. It gives better results