Removed obsolete CHECK_PTR and replaced CHECK_PTR/Q_CHECK_PTR with TQ_CHECK_PTR.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/1/head
Michele Calgaro 5 years ago
parent 3e6eac5dc8
commit 023e74fa8e
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -1105,7 +1105,7 @@ void KisToolStar::buttonRelease(KisButtonReleaseEvent *event)
SLOT(activate()),
collection,
name());
Q_CHECK_PTR(m_action);
TQ_CHECK_PTR(m_action);
m_action->setToolTip(i18n("Draw a star"));
m_action->setExclusiveGroup("tools");
@ -1162,7 +1162,7 @@ void KisToolStar::buttonRelease(KisButtonReleaseEvent *event)
QWidget *widget = KisToolShape::createOptionWidget(parent);
m_optWidget = new WdgToolStar(widget);
Q_CHECK_PTR(m_optWidget);
TQ_CHECK_PTR(m_optWidget);
m_optWidget->ratioSpinBox->setValue(m_innerOuterRatio);
@ -1286,7 +1286,7 @@ void KisSmearyOp::paintAt(const KisPoint &amp;pos, const KisPaintInformation&amp
splitCoordinate(pt.y(), &amp;y, &amp;yFraction);
KisPaintDeviceSP dab = new KisPaintDevice(colorSpace, "smeary dab");
Q_CHECK_PTR(dab);
TQ_CHECK_PTR(dab);
</programlisting>
<para
@ -1346,7 +1346,7 @@ void KisSmearyOp::paintAt(const KisPoint &amp;pos, const KisPaintInformation&amp
KisPaintOp * KisSmearyOpFactory::createOp(const KisPaintOpSettings */*settings*/, KisPainter * painter)
{
KisPaintOp * op = new KisSmearyOp(painter);
Q_CHECK_PTR(op);
TQ_CHECK_PTR(op);
return op;
}
</programlisting>

@ -1105,7 +1105,7 @@ void KisToolStar::buttonRelease(KisButtonReleaseEvent *event)
SLOT(activate()),
collection,
name());
Q_CHECK_PTR(m_action);
TQ_CHECK_PTR(m_action);
m_action->setToolTip(i18n("Draw a star"));
m_action->setExclusiveGroup("tools");
@ -1162,7 +1162,7 @@ void KisToolStar::buttonRelease(KisButtonReleaseEvent *event)
QWidget *widget = KisToolShape::createOptionWidget(parent);
m_optWidget = new WdgToolStar(widget);
Q_CHECK_PTR(m_optWidget);
TQ_CHECK_PTR(m_optWidget);
m_optWidget->ratioSpinBox->setValue(m_innerOuterRatio);
@ -1286,7 +1286,7 @@ void KisSmearyOp::paintAt(const KisPoint &amp;pos, const KisPaintInformation&amp
splitCoordinate(pt.y(), &amp;y, &amp;yFraction);
KisPaintDeviceSP dab = new KisPaintDevice(colorSpace, "smeary dab");
Q_CHECK_PTR(dab);
TQ_CHECK_PTR(dab);
</programlisting>
<para
@ -1346,7 +1346,7 @@ void KisSmearyOp::paintAt(const KisPoint &amp;pos, const KisPaintInformation&amp
KisPaintOp * KisSmearyOpFactory::createOp(const KisPaintOpSettings */*settings*/, KisPainter * painter)
{
KisPaintOp * op = new KisSmearyOp(painter);
Q_CHECK_PTR(op);
TQ_CHECK_PTR(op);
return op;
}
</programlisting>

@ -1103,7 +1103,7 @@ void KisToolStar::buttonRelease(KisButtonReleaseEvent *event)
SLOT(activate()),
collection,
name());
Q_CHECK_PTR(m_action);
TQ_CHECK_PTR(m_action);
m_action->setToolTip(i18n("Draw a star"));
m_action->setExclusiveGroup("tools");
@ -1160,7 +1160,7 @@ void KisToolStar::buttonRelease(KisButtonReleaseEvent *event)
QWidget *widget = KisToolShape::createOptionWidget(parent);
m_optWidget = new WdgToolStar(widget);
Q_CHECK_PTR(m_optWidget);
TQ_CHECK_PTR(m_optWidget);
m_optWidget->ratioSpinBox->setValue(m_innerOuterRatio);
@ -1284,7 +1284,7 @@ void KisSmearyOp::paintAt(const KisPoint &amp;pos, const KisPaintInformation&amp
splitCoordinate(pt.y(), &amp;y, &amp;yFraction);
KisPaintDeviceSP dab = new KisPaintDevice(colorSpace, "smeary dab");
Q_CHECK_PTR(dab);
TQ_CHECK_PTR(dab);
</programlisting>
<para
@ -1344,7 +1344,7 @@ void KisSmearyOp::paintAt(const KisPoint &amp;pos, const KisPaintInformation&amp
KisPaintOp * KisSmearyOpFactory::createOp(const KisPaintOpSettings */*settings*/, KisPainter * painter)
{
KisPaintOp * op = new KisSmearyOp(painter);
Q_CHECK_PTR(op);
TQ_CHECK_PTR(op);
return op;
}
</programlisting>

@ -1105,7 +1105,7 @@ void KisToolStar::buttonRelease(KisButtonReleaseEvent *event)
SLOT(activate()),
collection,
name());
Q_CHECK_PTR(m_action);
TQ_CHECK_PTR(m_action);
m_action->setToolTip(i18n("Draw a star"));
m_action->setExclusiveGroup("tools");
@ -1162,7 +1162,7 @@ void KisToolStar::buttonRelease(KisButtonReleaseEvent *event)
QWidget *widget = KisToolShape::createOptionWidget(parent);
m_optWidget = new WdgToolStar(widget);
Q_CHECK_PTR(m_optWidget);
TQ_CHECK_PTR(m_optWidget);
m_optWidget->ratioSpinBox->setValue(m_innerOuterRatio);
@ -1286,7 +1286,7 @@ void KisSmearyOp::paintAt(const KisPoint &amp;pos, const KisPaintInformation&amp
splitCoordinate(pt.y(), &amp;y, &amp;yFraction);
KisPaintDeviceSP dab = new KisPaintDevice(colorSpace, "smeary dab");
Q_CHECK_PTR(dab);
TQ_CHECK_PTR(dab);
</programlisting>
<para
@ -1346,7 +1346,7 @@ void KisSmearyOp::paintAt(const KisPoint &amp;pos, const KisPaintInformation&amp
KisPaintOp * KisSmearyOpFactory::createOp(const KisPaintOpSettings */*settings*/, KisPainter * painter)
{
KisPaintOp * op = new KisSmearyOp(painter);
Q_CHECK_PTR(op);
TQ_CHECK_PTR(op);
return op;
}
</programlisting>

@ -1106,7 +1106,7 @@ void KisToolStar::buttonRelease(KisButtonReleaseEvent *event)
SLOT(activate()),
collection,
name());
Q_CHECK_PTR(m_action);
TQ_CHECK_PTR(m_action);
m_action->setToolTip(i18n("Draw a star"));
m_action->setExclusiveGroup("tools");
@ -1163,7 +1163,7 @@ void KisToolStar::buttonRelease(KisButtonReleaseEvent *event)
QWidget *widget = KisToolShape::createOptionWidget(parent);
m_optWidget = new WdgToolStar(widget);
Q_CHECK_PTR(m_optWidget);
TQ_CHECK_PTR(m_optWidget);
m_optWidget->ratioSpinBox->setValue(m_innerOuterRatio);
@ -1289,7 +1289,7 @@ void KisSmearyOp::paintAt(const KisPoint &amp;pos, const KisPaintInformation&amp
splitCoordinate(pt.y(), &amp;y, &amp;yFraction);
KisPaintDeviceSP dab = new KisPaintDevice(colorSpace, "smeary dab");
Q_CHECK_PTR(dab);
TQ_CHECK_PTR(dab);
</programlisting>
<para
@ -1349,7 +1349,7 @@ void KisSmearyOp::paintAt(const KisPoint &amp;pos, const KisPaintInformation&amp
KisPaintOp * KisSmearyOpFactory::createOp(const KisPaintOpSettings */*settings*/, KisPainter * painter)
{
KisPaintOp * op = new KisSmearyOp(painter);
Q_CHECK_PTR(op);
TQ_CHECK_PTR(op);
return op;
}
</programlisting>

@ -1106,7 +1106,7 @@ void KisToolStar::buttonRelease(KisButtonReleaseEvent *event)
SLOT(activate()),
collection,
name());
Q_CHECK_PTR(m_action);
TQ_CHECK_PTR(m_action);
m_action->setToolTip(i18n("Draw a star"));
m_action->setExclusiveGroup("tools");
@ -1163,7 +1163,7 @@ void KisToolStar::buttonRelease(KisButtonReleaseEvent *event)
QWidget *widget = KisToolShape::createOptionWidget(parent);
m_optWidget = new WdgToolStar(widget);
Q_CHECK_PTR(m_optWidget);
TQ_CHECK_PTR(m_optWidget);
m_optWidget->ratioSpinBox->setValue(m_innerOuterRatio);
@ -1287,7 +1287,7 @@ void KisSmearyOp::paintAt(const KisPoint &amp;pos, const KisPaintInformation&amp
splitCoordinate(pt.y(), &amp;y, &amp;yFraction);
KisPaintDeviceSP dab = new KisPaintDevice(colorSpace, "smeary dab");
Q_CHECK_PTR(dab);
TQ_CHECK_PTR(dab);
</programlisting>
<para
@ -1347,7 +1347,7 @@ void KisSmearyOp::paintAt(const KisPoint &amp;pos, const KisPaintInformation&amp
KisPaintOp * KisSmearyOpFactory::createOp(const KisPaintOpSettings */*settings*/, KisPainter * painter)
{
KisPaintOp * op = new KisSmearyOp(painter);
Q_CHECK_PTR(op);
TQ_CHECK_PTR(op);
return op;
}
</programlisting>

@ -1105,7 +1105,7 @@ void KisFerramentaEstrela::buttonRelease(KisButtonReleaseEvent *evento)
SLOT(activate()),
colleccao,
name());
Q_CHECK_PTR(m_action);
TQ_CHECK_PTR(m_action);
m_action->setToolTip(i18n("Draw a star"));
m_action->setExclusiveGroup("tools");
@ -1162,7 +1162,7 @@ void KisFerramentaEstrela::buttonRelease(KisButtonReleaseEvent *evento)
QWidget *elemento = KisToolShape::createOptionWidget(mae);
m_optWidget = new WdgFerramentaEstrela(elemento);
Q_CHECK_PTR(m_optWidget);
TQ_CHECK_PTR(m_optWidget);
m_optWidget->ratioSpinBox->setValue(m_innerOuterRatio);
@ -1286,7 +1286,7 @@ void KisSmearyOp::paintAt(const KisPoint &amp;pos, const KisPaintInformation&amp
splitCoordinate(pt.y(), &amp;y, &amp;fraccaoY);
KisPaintDeviceSP dab = new KisPaintDevice(espacoCores, "smeary dab");
Q_CHECK_PTR(dab);
TQ_CHECK_PTR(dab);
</programlisting>
<para
@ -1346,7 +1346,7 @@ void KisSmearyOp::paintAt(const KisPoint &amp;pos, const KisPaintInformation&amp
KisPaintOp * KisSmearyOpFactory::createOp(const KisPaintOpSettings */*configuracao*/, KisPainter * pintor)
{
KisPaintOp * op = new KisSmearyOp(pintor);
Q_CHECK_PTR(op);
TQ_CHECK_PTR(op);
return op;
}
</programlisting>

@ -1105,7 +1105,7 @@ void KisFerramentaEstrela::buttonRelease(KisButtonReleaseEvent *evento)
SLOT(activate()),
colleccao,
name());
Q_CHECK_PTR(m_action);
TQ_CHECK_PTR(m_action);
m_action->setToolTip(i18n("Draw a star"));
m_action->setExclusiveGroup("tools");
@ -1162,7 +1162,7 @@ void KisFerramentaEstrela::buttonRelease(KisButtonReleaseEvent *evento)
QWidget *elemento = KisToolShape::createOptionWidget(mae);
m_optWidget = new WdgFerramentaEstrela(elemento);
Q_CHECK_PTR(m_optWidget);
TQ_CHECK_PTR(m_optWidget);
m_optWidget->ratioSpinBox->setValue(m_innerOuterRatio);
@ -1286,7 +1286,7 @@ void KisSmearyOp::paintAt(const KisPoint &amp;pos, const KisPaintInformation&amp
splitCoordinate(pt.y(), &amp;y, &amp;fracaoY);
KisPaintDeviceSP dab = new KisPaintDevice(espacoCores, "smeary dab");
Q_CHECK_PTR(dab);
TQ_CHECK_PTR(dab);
</programlisting>
<para
@ -1346,7 +1346,7 @@ void KisSmearyOp::paintAt(const KisPoint &amp;pos, const KisPaintInformation&amp
KisPaintOp * KisSmearyOpfatory::createOp(const KisPaintOpSettings */*configuracao*/, KisPainter * pintor)
{
KisPaintOp * op = new KisSmearyOp(pintor);
Q_CHECK_PTR(op);
TQ_CHECK_PTR(op);
return op;
}
</programlisting>

@ -1105,7 +1105,7 @@ void KisToolStar::buttonRelease(KisButtonReleaseEvent *event)
SLOT(activate()),
collection,
name());
Q_CHECK_PTR(m_action);
TQ_CHECK_PTR(m_action);
m_action->setToolTip(i18n("Draw a star"));
m_action->setExclusiveGroup("tools");
@ -1162,7 +1162,7 @@ void KisToolStar::buttonRelease(KisButtonReleaseEvent *event)
QWidget *widget = KisToolShape::createOptionWidget(parent);
m_optWidget = new WdgToolStar(widget);
Q_CHECK_PTR(m_optWidget);
TQ_CHECK_PTR(m_optWidget);
m_optWidget->ratioSpinBox->setValue(m_innerOuterRatio);
@ -1286,7 +1286,7 @@ void KisSmearyOp::paintAt(const KisPoint &amp;pos, const KisPaintInformation&amp
splitCoordinate(pt.y(), &amp;y, &amp;yFraction);
KisPaintDeviceSP dab = new KisPaintDevice(colorSpace, "smeary dab");
Q_CHECK_PTR(dab);
TQ_CHECK_PTR(dab);
</programlisting>
<para
@ -1346,7 +1346,7 @@ void KisSmearyOp::paintAt(const KisPoint &amp;pos, const KisPaintInformation&amp
KisPaintOp * KisSmearyOpFactory::createOp(const KisPaintOpSettings */*settings*/, KisPainter * painter)
{
KisPaintOp * op = new KisSmearyOp(painter);
Q_CHECK_PTR(op);
TQ_CHECK_PTR(op);
return op;
}
</programlisting>

Loading…
Cancel
Save