summaryrefslogtreecommitdiffstats
path: root/lib/widgets/propeditor/propertywidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/widgets/propeditor/propertywidget.cpp')
-rw-r--r--lib/widgets/propeditor/propertywidget.cpp12
1 files changed, 6 insertions, 6 deletions
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 <qpainter.h>
+#include <tqpainter.h>
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<QString, QVariant> &// valueList
+void PropertyWidget::setValueList(const TQMap<TQString, TQVariant> &// valueList
)
{
//this does nothing