From 48d4a26399959121f33d2bc3bfe51c7827b654fc Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 14 Jun 2011 16:45:05 +0000 Subject: TQt4 port kdevelop This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1236710 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- lib/widgets/propeditor/pdummywidget.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/widgets/propeditor/pdummywidget.cpp') diff --git a/lib/widgets/propeditor/pdummywidget.cpp b/lib/widgets/propeditor/pdummywidget.cpp index 65ec35e3..428953f2 100644 --- a/lib/widgets/propeditor/pdummywidget.cpp +++ b/lib/widgets/propeditor/pdummywidget.cpp @@ -23,8 +23,8 @@ namespace PropertyLib{ -PDummyWidget::PDummyWidget(MultiProperty *property, TQWidget *parent, const char *name) - :PropertyWidget(property, parent, name) +PDummyWidget::PDummyWidget(MultiProperty *property, TQWidget *tqparent, const char *name) + :PropertyWidget(property, tqparent, name) { } @@ -43,7 +43,7 @@ void PDummyWidget::setValue(const TQVariant &value, bool emitChange) void PDummyWidget::drawViewer(TQPainter *p, const TQColorGroup &cg, const TQRect &r, const TQVariant &/*value*/) { p->setBrush(cg.background()); - p->setPen(Qt::NoPen); + p->setPen(TQt::NoPen); p->drawRect(r); } -- cgit v1.2.3