summaryrefslogtreecommitdiffstats
path: root/lib/widgets/propeditor/pdummywidget.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /lib/widgets/propeditor/pdummywidget.cpp
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz
tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/widgets/propeditor/pdummywidget.cpp')
-rw-r--r--lib/widgets/propeditor/pdummywidget.cpp10
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);