summaryrefslogtreecommitdiffstats
path: root/chalk/ui/kis_autobrush.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chalk/ui/kis_autobrush.cc')
-rw-r--r--chalk/ui/kis_autobrush.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chalk/ui/kis_autobrush.cc b/chalk/ui/kis_autobrush.cc
index b2e848a8..5e61bcc5 100644
--- a/chalk/ui/kis_autobrush.cc
+++ b/chalk/ui/kis_autobrush.cc
@@ -50,7 +50,7 @@ KisAutobrush::KisAutobrush(TQWidget *parent, const char* name, const TQString& c
connect(spinBoxVertical,TQT_SIGNAL(valueChanged(int)),this,TQT_SLOT(spinBoxVerticalChanged(int)));
m_brsh = new TQImage(1,1,32);
- Q_CHECK_PTR(m_brsh);
+ TQ_CHECK_PTR(m_brsh);
paramChanged();
@@ -79,11 +79,11 @@ void KisAutobrush::paramChanged()
if(comboBoxShape->currentItem() == 0) // use index compare instead of comparing a translatable string
{
kas = new KisAutobrushCircleShape(spinBoxWidth->value(), spinBoxHeigth->value(), fh, fv);
- Q_CHECK_PTR(kas);
+ TQ_CHECK_PTR(kas);
} else {
kas = new KisAutobrushRectShape(spinBoxWidth->value(), spinBoxHeigth->value(), fh, fv);
- Q_CHECK_PTR(kas);
+ TQ_CHECK_PTR(kas);
}
kas->createBrush(m_brsh);
@@ -109,7 +109,7 @@ void KisAutobrush::paramChanged()
p.convertFromImage(pi);
brushPreview->setPixmap(p);
KisAutobrushResource * resource = new KisAutobrushResource(*m_brsh);
- Q_CHECK_PTR(resource);
+ TQ_CHECK_PTR(resource);
emit(activatedResource(resource));
delete kas;