Browse Source

Removed obsolete CHECK_PTR and replaced CHECK_PTR/Q_CHECK_PTR with TQ_CHECK_PTR.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Michele Calgaro 4 months ago
parent
commit
023e74fa8e
Signed by: Michele Calgaro <michele.calgaro@yahoo.it> GPG Key ID: 2A75B7CA8ADED5CF

+ 4
- 4
koffice-i18n-ca/docs/koffice/chalk/developers-plugins.docbook View File

@@ -1105,7 +1105,7 @@ void KisToolStar::buttonRelease(KisButtonReleaseEvent *event)
1105 1105
                                    SLOT(activate()),
1106 1106
                                    collection,
1107 1107
                                    name());
1108
-       Q_CHECK_PTR(m_action);
1108
+       TQ_CHECK_PTR(m_action);
1109 1109
 
1110 1110
        m_action->setToolTip(i18n("Draw a star"));
1111 1111
        m_action->setExclusiveGroup("tools");
@@ -1162,7 +1162,7 @@ void KisToolStar::buttonRelease(KisButtonReleaseEvent *event)
1162 1162
    QWidget *widget = KisToolShape::createOptionWidget(parent);
1163 1163
 
1164 1164
    m_optWidget = new WdgToolStar(widget);
1165
-   Q_CHECK_PTR(m_optWidget);
1165
+   TQ_CHECK_PTR(m_optWidget);
1166 1166
 
1167 1167
    m_optWidget->ratioSpinBox->setValue(m_innerOuterRatio);
1168 1168
 
@@ -1286,7 +1286,7 @@ void KisSmearyOp::paintAt(const KisPoint &amp;pos, const KisPaintInformation&amp
1286 1286
    splitCoordinate(pt.y(), &amp;y, &amp;yFraction);
1287 1287
 
1288 1288
    KisPaintDeviceSP dab = new KisPaintDevice(colorSpace, "smeary dab");
1289
-   Q_CHECK_PTR(dab);
1289
+   TQ_CHECK_PTR(dab);
1290 1290
 </programlisting>
1291 1291
 
1292 1292
 <para
@@ -1346,7 +1346,7 @@ void KisSmearyOp::paintAt(const KisPoint &amp;pos, const KisPaintInformation&amp
1346 1346
 KisPaintOp * KisSmearyOpFactory::createOp(const KisPaintOpSettings */*settings*/, KisPainter * painter)
1347 1347
 {
1348 1348
    KisPaintOp * op = new KisSmearyOp(painter);
1349
-   Q_CHECK_PTR(op);
1349
+   TQ_CHECK_PTR(op);
1350 1350
    return op;
1351 1351
 }
1352 1352
 </programlisting>

+ 4
- 4
koffice-i18n-da/docs/koffice/chalk/developers-plugins.docbook View File

@@ -1105,7 +1105,7 @@ void KisToolStar::buttonRelease(KisButtonReleaseEvent *event)
1105 1105
                                    SLOT(activate()),
1106 1106
                                    collection,
1107 1107
                                    name());
1108
-       Q_CHECK_PTR(m_action);
1108
+       TQ_CHECK_PTR(m_action);
1109 1109
 
1110 1110
        m_action->setToolTip(i18n("Draw a star"));
1111 1111
        m_action->setExclusiveGroup("tools");
@@ -1162,7 +1162,7 @@ void KisToolStar::buttonRelease(KisButtonReleaseEvent *event)
1162 1162
    QWidget *widget = KisToolShape::createOptionWidget(parent);
1163 1163
 
1164 1164
    m_optWidget = new WdgToolStar(widget);
1165
-   Q_CHECK_PTR(m_optWidget);
1165
+   TQ_CHECK_PTR(m_optWidget);
1166 1166
 
1167 1167
    m_optWidget->ratioSpinBox->setValue(m_innerOuterRatio);
1168 1168
 
@@ -1286,7 +1286,7 @@ void KisSmearyOp::paintAt(const KisPoint &amp;pos, const KisPaintInformation&amp
1286 1286
    splitCoordinate(pt.y(), &amp;y, &amp;yFraction);
1287 1287
 
1288 1288
    KisPaintDeviceSP dab = new KisPaintDevice(colorSpace, "smeary dab");
1289
-   Q_CHECK_PTR(dab);
1289
+   TQ_CHECK_PTR(dab);
1290 1290
 </programlisting>
1291 1291
 
1292 1292
 <para
@@ -1346,7 +1346,7 @@ void KisSmearyOp::paintAt(const KisPoint &amp;pos, const KisPaintInformation&amp
1346 1346
 KisPaintOp * KisSmearyOpFactory::createOp(const KisPaintOpSettings */*settings*/, KisPainter * painter)
1347 1347
 {
1348 1348
    KisPaintOp * op = new KisSmearyOp(painter);
1349
-   Q_CHECK_PTR(op);
1349
+   TQ_CHECK_PTR(op);
1350 1350
    return op;
1351 1351
 }
1352 1352
 </programlisting>

+ 4
- 4
koffice-i18n-de/docs/koffice/chalk/developers-plugins.docbook View File

@@ -1103,7 +1103,7 @@ void KisToolStar::buttonRelease(KisButtonReleaseEvent *event)
1103 1103
                                    SLOT(activate()),
1104 1104
                                    collection,
1105 1105
                                    name());
1106
-       Q_CHECK_PTR(m_action);
1106
+       TQ_CHECK_PTR(m_action);
1107 1107
 
1108 1108
        m_action->setToolTip(i18n("Draw a star"));
1109 1109
        m_action->setExclusiveGroup("tools");
@@ -1160,7 +1160,7 @@ void KisToolStar::buttonRelease(KisButtonReleaseEvent *event)
1160 1160
    QWidget *widget = KisToolShape::createOptionWidget(parent);
1161 1161
 
1162 1162
    m_optWidget = new WdgToolStar(widget);
1163
-   Q_CHECK_PTR(m_optWidget);
1163
+   TQ_CHECK_PTR(m_optWidget);
1164 1164
 
1165 1165
    m_optWidget->ratioSpinBox->setValue(m_innerOuterRatio);
1166 1166
 
@@ -1284,7 +1284,7 @@ void KisSmearyOp::paintAt(const KisPoint &amp;pos, const KisPaintInformation&amp
1284 1284
    splitCoordinate(pt.y(), &amp;y, &amp;yFraction);
1285 1285
 
1286 1286
    KisPaintDeviceSP dab = new KisPaintDevice(colorSpace, "smeary dab");
1287
-   Q_CHECK_PTR(dab);
1287
+   TQ_CHECK_PTR(dab);
1288 1288
 </programlisting>
1289 1289
 
1290 1290
 <para
@@ -1344,7 +1344,7 @@ void KisSmearyOp::paintAt(const KisPoint &amp;pos, const KisPaintInformation&amp
1344 1344
 KisPaintOp * KisSmearyOpFactory::createOp(const KisPaintOpSettings */*settings*/, KisPainter * painter)
1345 1345
 {
1346 1346
    KisPaintOp * op = new KisSmearyOp(painter);
1347
-   Q_CHECK_PTR(op);
1347
+   TQ_CHECK_PTR(op);
1348 1348
    return op;
1349 1349
 }
1350 1350
 </programlisting>

+ 4
- 4
koffice-i18n-et/docs/koffice/chalk/developers-plugins.docbook View File

@@ -1105,7 +1105,7 @@ void KisToolStar::buttonRelease(KisButtonReleaseEvent *event)
1105 1105
                                    SLOT(activate()),
1106 1106
                                    collection,
1107 1107
                                    name());
1108
-       Q_CHECK_PTR(m_action);
1108
+       TQ_CHECK_PTR(m_action);
1109 1109
 
1110 1110
        m_action->setToolTip(i18n("Draw a star"));
1111 1111
        m_action->setExclusiveGroup("tools");
@@ -1162,7 +1162,7 @@ void KisToolStar::buttonRelease(KisButtonReleaseEvent *event)
1162 1162
    QWidget *widget = KisToolShape::createOptionWidget(parent);
1163 1163
 
1164 1164
    m_optWidget = new WdgToolStar(widget);
1165
-   Q_CHECK_PTR(m_optWidget);
1165
+   TQ_CHECK_PTR(m_optWidget);
1166 1166
 
1167 1167
    m_optWidget->ratioSpinBox->setValue(m_innerOuterRatio);
1168 1168
 
@@ -1286,7 +1286,7 @@ void KisSmearyOp::paintAt(const KisPoint &amp;pos, const KisPaintInformation&amp
1286 1286
    splitCoordinate(pt.y(), &amp;y, &amp;yFraction);
1287 1287
 
1288 1288
    KisPaintDeviceSP dab = new KisPaintDevice(colorSpace, "smeary dab");
1289
-   Q_CHECK_PTR(dab);
1289
+   TQ_CHECK_PTR(dab);
1290 1290
 </programlisting>
1291 1291
 
1292 1292
 <para
@@ -1346,7 +1346,7 @@ void KisSmearyOp::paintAt(const KisPoint &amp;pos, const KisPaintInformation&amp
1346 1346
 KisPaintOp * KisSmearyOpFactory::createOp(const KisPaintOpSettings */*settings*/, KisPainter * painter)
1347 1347
 {
1348 1348
    KisPaintOp * op = new KisSmearyOp(painter);
1349
-   Q_CHECK_PTR(op);
1349
+   TQ_CHECK_PTR(op);
1350 1350
    return op;
1351 1351
 }
1352 1352
 </programlisting>

+ 4
- 4
koffice-i18n-it/docs/koffice/chalk/developers-plugins.docbook View File

@@ -1106,7 +1106,7 @@ void KisToolStar::buttonRelease(KisButtonReleaseEvent *event)
1106 1106
                                    SLOT(activate()),
1107 1107
                                    collection,
1108 1108
                                    name());
1109
-       Q_CHECK_PTR(m_action);
1109
+       TQ_CHECK_PTR(m_action);
1110 1110
 
1111 1111
        m_action->setToolTip(i18n("Draw a star"));
1112 1112
        m_action->setExclusiveGroup("tools");
@@ -1163,7 +1163,7 @@ void KisToolStar::buttonRelease(KisButtonReleaseEvent *event)
1163 1163
    QWidget *widget = KisToolShape::createOptionWidget(parent);
1164 1164
 
1165 1165
    m_optWidget = new WdgToolStar(widget);
1166
-   Q_CHECK_PTR(m_optWidget);
1166
+   TQ_CHECK_PTR(m_optWidget);
1167 1167
 
1168 1168
    m_optWidget->ratioSpinBox->setValue(m_innerOuterRatio);
1169 1169
 
@@ -1289,7 +1289,7 @@ void KisSmearyOp::paintAt(const KisPoint &amp;pos, const KisPaintInformation&amp
1289 1289
    splitCoordinate(pt.y(), &amp;y, &amp;yFraction);
1290 1290
 
1291 1291
    KisPaintDeviceSP dab = new KisPaintDevice(colorSpace, "smeary dab");
1292
-   Q_CHECK_PTR(dab);
1292
+   TQ_CHECK_PTR(dab);
1293 1293
 </programlisting>
1294 1294
 
1295 1295
 <para
@@ -1349,7 +1349,7 @@ void KisSmearyOp::paintAt(const KisPoint &amp;pos, const KisPaintInformation&amp
1349 1349
 KisPaintOp * KisSmearyOpFactory::createOp(const KisPaintOpSettings */*settings*/, KisPainter * painter)
1350 1350
 {
1351 1351
    KisPaintOp * op = new KisSmearyOp(painter);
1352
-   Q_CHECK_PTR(op);
1352
+   TQ_CHECK_PTR(op);
1353 1353
    return op;
1354 1354
 }
1355 1355
 </programlisting>

+ 4
- 4
koffice-i18n-nl/docs/koffice/chalk/developers-plugins.docbook View File

@@ -1106,7 +1106,7 @@ void KisToolStar::buttonRelease(KisButtonReleaseEvent *event)
1106 1106
                                    SLOT(activate()),
1107 1107
                                    collection,
1108 1108
                                    name());
1109
-       Q_CHECK_PTR(m_action);
1109
+       TQ_CHECK_PTR(m_action);
1110 1110
 
1111 1111
        m_action->setToolTip(i18n("Draw a star"));
1112 1112
        m_action->setExclusiveGroup("tools");
@@ -1163,7 +1163,7 @@ void KisToolStar::buttonRelease(KisButtonReleaseEvent *event)
1163 1163
    QWidget *widget = KisToolShape::createOptionWidget(parent);
1164 1164
 
1165 1165
    m_optWidget = new WdgToolStar(widget);
1166
-   Q_CHECK_PTR(m_optWidget);
1166
+   TQ_CHECK_PTR(m_optWidget);
1167 1167
 
1168 1168
    m_optWidget->ratioSpinBox->setValue(m_innerOuterRatio);
1169 1169
 
@@ -1287,7 +1287,7 @@ void KisSmearyOp::paintAt(const KisPoint &amp;pos, const KisPaintInformation&amp
1287 1287
    splitCoordinate(pt.y(), &amp;y, &amp;yFraction);
1288 1288
 
1289 1289
    KisPaintDeviceSP dab = new KisPaintDevice(colorSpace, "smeary dab");
1290
-   Q_CHECK_PTR(dab);
1290
+   TQ_CHECK_PTR(dab);
1291 1291
 </programlisting>
1292 1292
 
1293 1293
 <para
@@ -1347,7 +1347,7 @@ void KisSmearyOp::paintAt(const KisPoint &amp;pos, const KisPaintInformation&amp
1347 1347
 KisPaintOp * KisSmearyOpFactory::createOp(const KisPaintOpSettings */*settings*/, KisPainter * painter)
1348 1348
 {
1349 1349
    KisPaintOp * op = new KisSmearyOp(painter);
1350
-   Q_CHECK_PTR(op);
1350
+   TQ_CHECK_PTR(op);
1351 1351
    return op;
1352 1352
 }
1353 1353
 </programlisting>

+ 4
- 4
koffice-i18n-pt/docs/koffice/chalk/developers-plugins.docbook View File

@@ -1105,7 +1105,7 @@ void KisFerramentaEstrela::buttonRelease(KisButtonReleaseEvent *evento)
1105 1105
                                    SLOT(activate()),
1106 1106
                                    colleccao,
1107 1107
                                    name());
1108
-       Q_CHECK_PTR(m_action);
1108
+       TQ_CHECK_PTR(m_action);
1109 1109
 
1110 1110
        m_action->setToolTip(i18n("Draw a star"));
1111 1111
        m_action->setExclusiveGroup("tools");
@@ -1162,7 +1162,7 @@ void KisFerramentaEstrela::buttonRelease(KisButtonReleaseEvent *evento)
1162 1162
    QWidget *elemento = KisToolShape::createOptionWidget(mae);
1163 1163
 
1164 1164
    m_optWidget = new WdgFerramentaEstrela(elemento);
1165
-   Q_CHECK_PTR(m_optWidget);
1165
+   TQ_CHECK_PTR(m_optWidget);
1166 1166
 
1167 1167
    m_optWidget->ratioSpinBox->setValue(m_innerOuterRatio);
1168 1168
 
@@ -1286,7 +1286,7 @@ void KisSmearyOp::paintAt(const KisPoint &amp;pos, const KisPaintInformation&amp
1286 1286
    splitCoordinate(pt.y(), &amp;y, &amp;fraccaoY);
1287 1287
 
1288 1288
    KisPaintDeviceSP dab = new KisPaintDevice(espacoCores, "smeary dab");
1289
-   Q_CHECK_PTR(dab);
1289
+   TQ_CHECK_PTR(dab);
1290 1290
 </programlisting>
1291 1291
 
1292 1292
 <para
@@ -1346,7 +1346,7 @@ void KisSmearyOp::paintAt(const KisPoint &amp;pos, const KisPaintInformation&amp
1346 1346
 KisPaintOp * KisSmearyOpFactory::createOp(const KisPaintOpSettings */*configuracao*/, KisPainter * pintor)
1347 1347
 {
1348 1348
    KisPaintOp * op = new KisSmearyOp(pintor);
1349
-   Q_CHECK_PTR(op);
1349
+   TQ_CHECK_PTR(op);
1350 1350
    return op;
1351 1351
 }
1352 1352
 </programlisting>

+ 4
- 4
koffice-i18n-pt_BR/docs/koffice/chalk/developers-plugins.docbook View File

@@ -1105,7 +1105,7 @@ void KisFerramentaEstrela::buttonRelease(KisButtonReleaseEvent *evento)
1105 1105
                                    SLOT(activate()),
1106 1106
                                    colleccao,
1107 1107
                                    name());
1108
-       Q_CHECK_PTR(m_action);
1108
+       TQ_CHECK_PTR(m_action);
1109 1109
 
1110 1110
        m_action->setToolTip(i18n("Draw a star"));
1111 1111
        m_action->setExclusiveGroup("tools");
@@ -1162,7 +1162,7 @@ void KisFerramentaEstrela::buttonRelease(KisButtonReleaseEvent *evento)
1162 1162
    QWidget *elemento = KisToolShape::createOptionWidget(mae);
1163 1163
 
1164 1164
    m_optWidget = new WdgFerramentaEstrela(elemento);
1165
-   Q_CHECK_PTR(m_optWidget);
1165
+   TQ_CHECK_PTR(m_optWidget);
1166 1166
 
1167 1167
    m_optWidget->ratioSpinBox->setValue(m_innerOuterRatio);
1168 1168
 
@@ -1286,7 +1286,7 @@ void KisSmearyOp::paintAt(const KisPoint &amp;pos, const KisPaintInformation&amp
1286 1286
    splitCoordinate(pt.y(), &amp;y, &amp;fracaoY);
1287 1287
 
1288 1288
    KisPaintDeviceSP dab = new KisPaintDevice(espacoCores, "smeary dab");
1289
-   Q_CHECK_PTR(dab);
1289
+   TQ_CHECK_PTR(dab);
1290 1290
 </programlisting>
1291 1291
 
1292 1292
 <para
@@ -1346,7 +1346,7 @@ void KisSmearyOp::paintAt(const KisPoint &amp;pos, const KisPaintInformation&amp
1346 1346
 KisPaintOp * KisSmearyOpfatory::createOp(const KisPaintOpSettings */*configuracao*/, KisPainter * pintor)
1347 1347
 {
1348 1348
    KisPaintOp * op = new KisSmearyOp(pintor);
1349
-   Q_CHECK_PTR(op);
1349
+   TQ_CHECK_PTR(op);
1350 1350
    return op;
1351 1351
 }
1352 1352
 </programlisting>

+ 4
- 4
koffice-i18n-sv/docs/koffice/chalk/developers-plugins.docbook View File

@@ -1105,7 +1105,7 @@ void KisToolStar::buttonRelease(KisButtonReleaseEvent *event)
1105 1105
                                    SLOT(activate()),
1106 1106
                                    collection,
1107 1107
                                    name());
1108
-       Q_CHECK_PTR(m_action);
1108
+       TQ_CHECK_PTR(m_action);
1109 1109
 
1110 1110
        m_action->setToolTip(i18n("Draw a star"));
1111 1111
        m_action->setExclusiveGroup("tools");
@@ -1162,7 +1162,7 @@ void KisToolStar::buttonRelease(KisButtonReleaseEvent *event)
1162 1162
    QWidget *widget = KisToolShape::createOptionWidget(parent);
1163 1163
 
1164 1164
    m_optWidget = new WdgToolStar(widget);
1165
-   Q_CHECK_PTR(m_optWidget);
1165
+   TQ_CHECK_PTR(m_optWidget);
1166 1166
 
1167 1167
    m_optWidget->ratioSpinBox->setValue(m_innerOuterRatio);
1168 1168
 
@@ -1286,7 +1286,7 @@ void KisSmearyOp::paintAt(const KisPoint &amp;pos, const KisPaintInformation&amp
1286 1286
    splitCoordinate(pt.y(), &amp;y, &amp;yFraction);
1287 1287
 
1288 1288
    KisPaintDeviceSP dab = new KisPaintDevice(colorSpace, "smeary dab");
1289
-   Q_CHECK_PTR(dab);
1289
+   TQ_CHECK_PTR(dab);
1290 1290
 </programlisting>
1291 1291
 
1292 1292
 <para
@@ -1346,7 +1346,7 @@ void KisSmearyOp::paintAt(const KisPoint &amp;pos, const KisPaintInformation&amp
1346 1346
 KisPaintOp * KisSmearyOpFactory::createOp(const KisPaintOpSettings */*settings*/, KisPainter * painter)
1347 1347
 {
1348 1348
    KisPaintOp * op = new KisSmearyOp(painter);
1349
-   Q_CHECK_PTR(op);
1349
+   TQ_CHECK_PTR(op);
1350 1350
    return op;
1351 1351
 }
1352 1352
 </programlisting>

Loading…
Cancel
Save