diff options
Diffstat (limited to 'chalk/core/kis_image.cc')
-rw-r--r-- | chalk/core/kis_image.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/chalk/core/kis_image.cc b/chalk/core/kis_image.cc index 1efeb715..a872b3ee 100644 --- a/chalk/core/kis_image.cc +++ b/chalk/core/kis_image.cc @@ -542,7 +542,7 @@ KisImage::KisImage(const KisImage& rhs) : TQObject(), KShared(rhs) m_adapter = rhs.m_adapter; m_bkg = new KisBackground(); - Q_CHECK_PTR(m_bkg); + TQ_CHECK_PTR(m_bkg); m_rootLayer = static_cast<KisGroupLayer*>(rhs.m_rootLayer->clone().data()); connect(m_rootLayer, TQT_SIGNAL(sigDirty(TQRect)), this, TQT_SIGNAL(sigImageUpdated(TQRect))); @@ -550,7 +550,7 @@ KisImage::KisImage(const KisImage& rhs) : TQObject(), KShared(rhs) m_annotations = rhs.m_annotations; // XXX the annotations would probably need to be deep-copied m_nserver = new KisNameServer(i18n("Layer %1"), rhs.m_nserver->currentSeed() + 1); - Q_CHECK_PTR(m_nserver); + TQ_CHECK_PTR(m_nserver); //m_guides = rhs.m_guides; @@ -575,7 +575,7 @@ DCOPObject * KisImage::dcopObject() { if (!m_dcop) { m_dcop = new KisImageIface(this); - Q_CHECK_PTR(m_dcop); + TQ_CHECK_PTR(m_dcop); } return m_dcop; } @@ -1041,7 +1041,7 @@ KisLayerSP KisImage::newLayer(const TQString& name, TQ_UINT8 opacity, const KisC layer = new KisPaintLayer(this, name, opacity, colorstrategy); else layer = new KisPaintLayer(this, name, opacity); - Q_CHECK_PTR(layer); + TQ_CHECK_PTR(layer); if (compositeOp.isValid()) layer->setCompositeOp(compositeOp); @@ -1310,7 +1310,7 @@ void KisImage::flatten() disconnect(oldRootLayer, TQT_SIGNAL(sigDirty(TQRect)), this, TQT_SIGNAL(sigImageUpdated(TQRect))); KisPaintLayer *dst = new KisPaintLayer(this, nextLayerName(), OPACITY_OPAQUE, colorSpace()); - Q_CHECK_PTR(dst); + TQ_CHECK_PTR(dst); TQRect rc = mergedImage()->extent(); @@ -1345,7 +1345,7 @@ void KisImage::flatten() void KisImage::mergeLayer(KisLayerSP layer) { KisPaintLayer *player = new KisPaintLayer(this, layer->name(), OPACITY_OPAQUE, colorSpace()); - Q_CHECK_PTR(player); + TQ_CHECK_PTR(player); TQRect rc = layer->extent() | layer->nextSibling()->extent(); |