summaryrefslogtreecommitdiffstats
path: root/chalk/core/kis_image.cc
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-02-14 21:10:09 -0600
committerTimothy Pearson <[email protected]>2012-02-14 21:10:09 -0600
commite6cf8874a75a09b279e13f59e78b31804b1d6f83 (patch)
tree73cf4e5dee6ce00c4fa7d32243c322631c50712c /chalk/core/kis_image.cc
parent35dc3d657c5d486b5233ce8e6ec74bf9656aaedf (diff)
downloadkoffice-e6cf8874a75a09b279e13f59e78b31804b1d6f83.tar.gz
koffice-e6cf8874a75a09b279e13f59e78b31804b1d6f83.zip
Update various qt function definitions and static methods for tqt3
Diffstat (limited to 'chalk/core/kis_image.cc')
-rw-r--r--chalk/core/kis_image.cc12
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();