From 1dcbbe821d337f155c5835aa372db3cadcc31ed8 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 9 Jul 2011 02:23:29 +0000 Subject: Remove the tq in front of these incorrectly TQt4-converted methods/data members: tqrepaint[...] tqinvalidate[...] tqparent[...] tqmask[...] tqlayout[...] tqalignment[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdeui/kurllabel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kdeui/kurllabel.cpp') diff --git a/kdeui/kurllabel.cpp b/kdeui/kurllabel.cpp index 884ff6a59..9846059ed 100644 --- a/kdeui/kurllabel.cpp +++ b/kdeui/kurllabel.cpp @@ -353,8 +353,8 @@ bool KURLLabel::event (TQEvent *e) { if (e && e->type() == TQEvent::ParentPaletteChange) { - // use tqparentWidget() unless you are a toplevel widget, then try qAapp - TQPalette p = tqparentWidget() ? tqparentWidget()->palette() : tqApp->palette(); + // use parentWidget() unless you are a toplevel widget, then try qAapp + TQPalette p = parentWidget() ? parentWidget()->palette() : tqApp->palette(); p.setBrush(TQColorGroup::Base, p.brush(TQPalette::Normal, TQColorGroup::Background)); p.setColor(TQColorGroup::Foreground, tqpalette().active().foreground()); setPalette(p); -- cgit v1.2.3