diff options
Diffstat (limited to 'lib/widgets/propeditor/pdummywidget.cpp')
-rw-r--r-- | lib/widgets/propeditor/pdummywidget.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/widgets/propeditor/pdummywidget.cpp b/lib/widgets/propeditor/pdummywidget.cpp index b27f7476..65ec35e3 100644 --- a/lib/widgets/propeditor/pdummywidget.cpp +++ b/lib/widgets/propeditor/pdummywidget.cpp @@ -19,28 +19,28 @@ ***************************************************************************/ #include "pdummywidget.h" -#include <qpainter.h> +#include <tqpainter.h> namespace PropertyLib{ -PDummyWidget::PDummyWidget(MultiProperty *property, QWidget *parent, const char *name) +PDummyWidget::PDummyWidget(MultiProperty *property, TQWidget *parent, const char *name) :PropertyWidget(property, parent, name) { } -QVariant PDummyWidget::value() const +TQVariant PDummyWidget::value() const { return m_value; } -void PDummyWidget::setValue(const QVariant &value, bool emitChange) +void PDummyWidget::setValue(const TQVariant &value, bool emitChange) { m_value = value; if (emitChange) emit propertyChanged(m_property, value); } -void PDummyWidget::drawViewer(QPainter *p, const QColorGroup &cg, const QRect &r, const QVariant &/*value*/) +void PDummyWidget::drawViewer(TQPainter *p, const TQColorGroup &cg, const TQRect &r, const TQVariant &/*value*/) { p->setBrush(cg.background()); p->setPen(Qt::NoPen); |