diff options
Diffstat (limited to 'src/modules/dcc/canvaswidget.cpp')
-rw-r--r-- | src/modules/dcc/canvaswidget.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/dcc/canvaswidget.cpp b/src/modules/dcc/canvaswidget.cpp index 51f4dbdb..252f789c 100644 --- a/src/modules/dcc/canvaswidget.cpp +++ b/src/modules/dcc/canvaswidget.cpp @@ -1240,7 +1240,7 @@ TQWidget * KviVariantTableItem::createEditor() const TQString sz; sz.setNum(m_property.toInt()); e->setText(sz); - e->setValidator(new TQIntValidator(TQT_TQOBJECT(e))); + e->setValidator(new TQIntValidator(e)); return e; } break; @@ -1250,7 +1250,7 @@ TQWidget * KviVariantTableItem::createEditor() const TQString sz; sz.setNum(m_property.toInt()); e->setText(sz); - TQIntValidator * i = new TQIntValidator(TQT_TQOBJECT(e)); + TQIntValidator * i = new TQIntValidator(e); i->setBottom(0); e->setValidator(i); return e; @@ -1493,7 +1493,7 @@ void KviCanvasItemPropertiesWidget::editItem(TQCanvasItem * it) KviCanvasWidget::KviCanvasWidget(TQWidget * par) : TQWidget(par,"canvas_widget") { - m_pCanvas = new TQCanvas(TQT_TQOBJECT(this)); + m_pCanvas = new TQCanvas(this); //#warning "Make this size as parameter of Dcc ?" m_pCanvas->resize(648,480); m_pMenuBar = new TQMenuBar(this); |