diff options
Diffstat (limited to 'src/modules/dcc/canvaswidget.cpp')
-rw-r--r-- | src/modules/dcc/canvaswidget.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/dcc/canvaswidget.cpp b/src/modules/dcc/canvaswidget.cpp index 65c37175..e007a3cb 100644 --- a/src/modules/dcc/canvaswidget.cpp +++ b/src/modules/dcc/canvaswidget.cpp @@ -68,7 +68,7 @@ void KviCanvasRectangleItem::setProperty(const TQString &property,const TQVarian { if(m_properties[property].isValid()) { - m_properties.tqreplace(property,val); + m_properties.replace(property,val); hide(); show(); } @@ -141,7 +141,7 @@ void KviCanvasPolygon::setProperty(const TQString &property,const TQVariant &val { if(m_properties[property].isValid()) { - m_properties.tqreplace(property,val); + m_properties.replace(property,val); if((property == "clrForeground") || (property == "uLineWidth")) { setPen(TQPen(m_properties["clrForeground"].asColor(),m_properties["uLineWidth"].toInt())); @@ -227,7 +227,7 @@ void KviCanvasEllipticItem::setProperty(const TQString & property,const TQVarian { if(m_properties[property].isValid()) { - m_properties.tqreplace(property,val); + m_properties.replace(property,val); if((property == "clrForeground") || (property == "uLineWidth")) { setPen(TQPen(m_properties["clrForeground"].asColor(),m_properties["uLineWidth"].toInt())); @@ -356,7 +356,7 @@ void KviCanvasRectangle::setProperty(const TQString &property,const TQVariant &v { if(m_properties[property].isValid()) { - m_properties.tqreplace(property,val); + m_properties.replace(property,val); if((property == "clrForeground") || (property == "uLineWidth")) { setPen(TQPen(m_properties["clrForeground"].asColor(),m_properties["uLineWidth"].toInt())); @@ -439,7 +439,7 @@ KviCanvasLine::~KviCanvasLine() void KviCanvasLine::setProperty(const TQString &property,const TQVariant &val) { - m_properties.tqreplace(property,val); + m_properties.replace(property,val); if((property == "uLineWidth") || (property == "clrForeground")) { setPen(TQPen(m_properties["clrForeground"].asColor(),m_properties["uLineWidth"].toInt())); |