diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:32:11 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:32:11 -0600 |
commit | 94844816550ad672ccfcdc25659c625546239998 (patch) | |
tree | e35fc60fd736c645d59f6408af032774ad8023d3 /chalk/ui/kis_part_layer.cc | |
parent | 2a811c38c74c03648ecf857e566c44483cbad706 (diff) | |
download | koffice-94844816550ad672ccfcdc25659c625546239998.tar.gz koffice-94844816550ad672ccfcdc25659c625546239998.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'chalk/ui/kis_part_layer.cc')
-rw-r--r-- | chalk/ui/kis_part_layer.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/chalk/ui/kis_part_layer.cc b/chalk/ui/kis_part_layer.cc index ace29965..5846a67b 100644 --- a/chalk/ui/kis_part_layer.cc +++ b/chalk/ui/kis_part_layer.cc @@ -94,19 +94,19 @@ void KisPartLayerImpl::childActivated(KoDocumentChild* child) // Called when another layer is made inactive void KisPartLayerImpl::childDeactivated(bool activated) { - // We probably changed, notify the image that it needs to tqrepaint where we currently updated - // We use the original tqgeometry + // We probably changed, notify the image that it needs to repaint where we currently updated + // We use the original geometry if (m_activated && !activated /* no clue, but debugging suggests it is false here */) { TQPtrList<KoView> views = m_doc->parentDocument()->views(); Q_ASSERT(views.count()); views.at(0)->disconnect(TQT_SIGNAL(activated(bool))); m_activated = false; - setDirty(m_doc->tqgeometry()); + setDirty(m_doc->geometry()); } } void KisPartLayerImpl::setX(TQ_INT32 x) { - TQRect rect = m_doc->tqgeometry(); + TQRect rect = m_doc->geometry(); // KisPaintDevice::move moves to absolute coordinates, not relative. Work around that here, // since the part is not necesarily started at (0,0) @@ -115,7 +115,7 @@ void KisPartLayerImpl::setX(TQ_INT32 x) { } void KisPartLayerImpl::setY(TQ_INT32 y) { - TQRect rect = m_doc->tqgeometry(); + TQRect rect = m_doc->geometry(); // KisPaintDevice::move moves to absolute coordinates, not relative. Work around that here, // since the part is not necesarily started at (0,0) @@ -125,7 +125,7 @@ void KisPartLayerImpl::setY(TQ_INT32 y) { void KisPartLayerImpl::paintSelection(TQImage &img, TQ_INT32 x, TQ_INT32 y, TQ_INT32 w, TQ_INT32 h) { uchar *j = img.bits(); - TQRect rect = m_doc->tqgeometry(); + TQRect rect = m_doc->geometry(); for (int y2 = y; y2 < h + y; ++y2) { for (int x2 = x; x2 < w + x; ++x2) { |