diff options
Diffstat (limited to 'lib/widgets/propeditor/propertywidget.cpp')
-rw-r--r-- | lib/widgets/propeditor/propertywidget.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/widgets/propeditor/propertywidget.cpp b/lib/widgets/propeditor/propertywidget.cpp index dad296c5..df0df75a 100644 --- a/lib/widgets/propeditor/propertywidget.cpp +++ b/lib/widgets/propeditor/propertywidget.cpp @@ -23,8 +23,8 @@ namespace PropertyLib{ -PropertyWidget::PropertyWidget(MultiProperty *property, TQWidget *parent, const char *name) - :TQWidget(parent, name), m_property(property) +PropertyWidget::PropertyWidget(MultiProperty *property, TQWidget *tqparent, const char *name) + :TQWidget(tqparent, name), m_property(property) { } @@ -40,10 +40,10 @@ void PropertyWidget::setProperty(MultiProperty *property) void PropertyWidget::drawViewer(TQPainter *p, const TQColorGroup &cg, const TQRect &r, const TQVariant &value) { - p->setPen(Qt::NoPen); + p->setPen(TQt::NoPen); p->setBrush(cg.background()); p->drawRect(r); - p->drawText(r, Qt::AlignLeft | Qt::AlignVCenter | Qt::SingleLine, value.toString()); + p->drawText(r, TQt::AlignLeft | TQt::AlignVCenter | TQt::SingleLine, value.toString()); } void PropertyWidget::setValueList(const TQMap<TQString, TQVariant> &// valueList |