summaryrefslogtreecommitdiffstats
path: root/kdefx
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
commit1dcbbe821d337f155c5835aa372db3cadcc31ed8 (patch)
treea0b305d9d9334acfe296542840e8e05fbc63bae9 /kdefx
parent9c49a74a165b8535c28ccbb2fad37334989b2fc7 (diff)
downloadtdelibs-1dcbbe821d337f155c5835aa372db3cadcc31ed8.tar.gz
tdelibs-1dcbbe821d337f155c5835aa372db3cadcc31ed8.zip
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
Diffstat (limited to 'kdefx')
-rw-r--r--kdefx/kstyle.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kdefx/kstyle.cpp b/kdefx/kstyle.cpp
index 58caa39b7..7c0f9ada7 100644
--- a/kdefx/kstyle.cpp
+++ b/kdefx/kstyle.cpp
@@ -364,7 +364,7 @@ void KStyle::drawKStylePrimitive( KStylePrimitive kpe,
else
pix.resize( w-2, h-2 );
- TQString title = wid->tqparentWidget()->caption();
+ TQString title = wid->parentWidget()->caption();
TQPainter p2;
p2.begin(&pix);
p2.fillRect(pix.rect(), cg.brush(TQColorGroup::Highlight));
@@ -569,7 +569,7 @@ void KStyle::tqdrawPrimitive( TQ_PrimitiveElement pe,
if (p && p->device()->devType() == TQInternal::Widget) {
widget = static_cast<TQWidget*>(p->device());
- parent = widget->tqparentWidget();
+ parent = widget->parentWidget();
} else
return; // Don't paint on non-widgets
@@ -986,7 +986,7 @@ int KStyle::tqpixelMetric(PixelMetric m, const TQWidget* widget) const
TQWidget* parent = 0;
// Check that we are not a normal toolbar or a hidden dockwidget,
// in which case we need to adjust the height for font size
- if (widget && (parent = widget->tqparentWidget() )
+ if (widget && (parent = widget->parentWidget() )
&& !parent->inherits(TQTOOLBAR_OBJECT_NAME_STRING)
&& !parent->inherits(TQMAINWINDOW_OBJECT_NAME_STRING)
&& widget->inherits(TQDOCKWINDOWHANDLE_OBJECT_NAME_STRING) )
@@ -1200,10 +1200,10 @@ void KStyle::tqdrawComplexControl( TQ_ComplexControl control,
TQPainter p2;
p2.begin(&pix);
- if ( slider->tqparentWidget() &&
- slider->tqparentWidget()->backgroundPixmap() &&
- !slider->tqparentWidget()->backgroundPixmap()->isNull() ) {
- TQPixmap pixmap = *(slider->tqparentWidget()->backgroundPixmap());
+ if ( slider->parentWidget() &&
+ slider->parentWidget()->backgroundPixmap() &&
+ !slider->parentWidget()->backgroundPixmap()->isNull() ) {
+ TQPixmap pixmap = *(slider->parentWidget()->backgroundPixmap());
p2.drawTiledPixmap(r, pixmap, slider->pos());
} else
pix.fill(cg.background());