From d6f8bbb45b267065a6907e71ff9c98bb6d161241 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:56:07 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- lib/widgets/propeditor/propertywidget.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lib/widgets/propeditor/propertywidget.cpp') diff --git a/lib/widgets/propeditor/propertywidget.cpp b/lib/widgets/propeditor/propertywidget.cpp index 388fd68a..dad296c5 100644 --- a/lib/widgets/propeditor/propertywidget.cpp +++ b/lib/widgets/propeditor/propertywidget.cpp @@ -19,16 +19,16 @@ ***************************************************************************/ #include "propertywidget.h" -#include +#include namespace PropertyLib{ -PropertyWidget::PropertyWidget(MultiProperty *property, QWidget *parent, const char *name) - :QWidget(parent, name), m_property(property) +PropertyWidget::PropertyWidget(MultiProperty *property, TQWidget *parent, const char *name) + :TQWidget(parent, name), m_property(property) { } -QString PropertyWidget::propertyName() const +TQString PropertyWidget::propertyName() const { return m_property->name(); } @@ -38,7 +38,7 @@ void PropertyWidget::setProperty(MultiProperty *property) m_property = property; } -void PropertyWidget::drawViewer(QPainter *p, const QColorGroup &cg, const QRect &r, const QVariant &value) +void PropertyWidget::drawViewer(TQPainter *p, const TQColorGroup &cg, const TQRect &r, const TQVariant &value) { p->setPen(Qt::NoPen); p->setBrush(cg.background()); @@ -46,7 +46,7 @@ void PropertyWidget::drawViewer(QPainter *p, const QColorGroup &cg, const QRect p->drawText(r, Qt::AlignLeft | Qt::AlignVCenter | Qt::SingleLine, value.toString()); } -void PropertyWidget::setValueList(const QMap &// valueList +void PropertyWidget::setValueList(const TQMap &// valueList ) { //this does nothing -- cgit v1.2.3