summaryrefslogtreecommitdiffstats
path: root/chalk/core/kis_paint_device.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chalk/core/kis_paint_device.cc')
-rw-r--r--chalk/core/kis_paint_device.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/chalk/core/kis_paint_device.cc b/chalk/core/kis_paint_device.cc
index 195364c6..c9734819 100644
--- a/chalk/core/kis_paint_device.cc
+++ b/chalk/core/kis_paint_device.cc
@@ -223,7 +223,7 @@ KisPaintDevice::KisPaintDevice(KisColorSpace * colorSpace, const char * name) :
m_datamanager = new KisDataManager(m_pixelSize, defPixel);
delete [] defPixel;
- Q_CHECK_PTR(m_datamanager);
+ TQ_CHECK_PTR(m_datamanager);
m_extentIsValid = true;
m_parentLayer = 0;
@@ -269,7 +269,7 @@ KisPaintDevice::KisPaintDevice(KisLayer *parent, KisColorSpace * colorSpace, con
m_datamanager = new KisDataManager(m_pixelSize, defPixel);
delete [] defPixel;
- Q_CHECK_PTR(m_datamanager);
+ TQ_CHECK_PTR(m_datamanager);
m_extentIsValid = true;
if ( TQString ( name ) == TQString( "Layer 1" ) ) {
@@ -292,7 +292,7 @@ KisPaintDevice::KisPaintDevice(const KisPaintDevice& rhs) : TQObject(), KShared(
m_dcop = rhs.m_dcop;
if (rhs.m_datamanager) {
m_datamanager = new KisDataManager(*rhs.m_datamanager);
- Q_CHECK_PTR(m_datamanager);
+ TQ_CHECK_PTR(m_datamanager);
}
else {
kdWarning() << "rhs " << rhs.name() << " has no datamanager\n";
@@ -338,7 +338,7 @@ DCOPObject *KisPaintDevice::dcopObject()
{
if (!m_dcop) {
m_dcop = new KisPaintDeviceIface(this);
- Q_CHECK_PTR(m_dcop);
+ TQ_CHECK_PTR(m_dcop);
}
return m_dcop;
}
@@ -401,7 +401,7 @@ void KisPaintDevice::move(const TQPoint& pt)
KNamedCommand * KisPaintDevice::moveCommand(TQ_INT32 x, TQ_INT32 y)
{
KNamedCommand * cmd = new MoveCommand(this, TQPoint(m_x, m_y), TQPoint(x, y));
- Q_CHECK_PTR(cmd);
+ TQ_CHECK_PTR(cmd);
cmd->execute();
return cmd;
}
@@ -859,7 +859,7 @@ TQImage KisPaintDevice::convertToTQImage(KisProfile * dstProfile, TQ_INT32 x1,
return TQImage();
TQ_UINT8 * data = new TQ_UINT8 [w * h * m_pixelSize];
- Q_CHECK_PTR(data);
+ TQ_CHECK_PTR(data);
// XXX: Is this really faster than converting line by line and building the TQImage directly?
// This copies potentially a lot of data.
@@ -1024,7 +1024,7 @@ KisSelectionSP KisPaintDevice::selection()
}
else if (!m_selection) {
m_selection = new KisSelection(this);
- Q_CHECK_PTR(m_selection);
+ TQ_CHECK_PTR(m_selection);
m_selection->setX(m_x);
m_selection->setY(m_y);
}