summaryrefslogtreecommitdiffstats
path: root/style/qtc_kstyle.cpp
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
commitf99a392f816fcaa1cb6dc17a020402d2e9c738af (patch)
treeb074af44cdd44f0532c9edb47f6c01fe648f79e6 /style/qtc_kstyle.cpp
parent85ababbad0d70284ec5d3c509e73da87e380e6c8 (diff)
downloadtde-style-qtcurve-f99a392f816fcaa1cb6dc17a020402d2e9c738af.tar.gz
tde-style-qtcurve-f99a392f816fcaa1cb6dc17a020402d2e9c738af.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/applications/kde-style-qtcurve@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'style/qtc_kstyle.cpp')
-rw-r--r--style/qtc_kstyle.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/style/qtc_kstyle.cpp b/style/qtc_kstyle.cpp
index 88de679..675d65b 100644
--- a/style/qtc_kstyle.cpp
+++ b/style/qtc_kstyle.cpp
@@ -210,7 +210,7 @@ void TQtCKStyle::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));
@@ -396,7 +396,7 @@ void TQtCKStyle::drawPrimitive( PrimitiveElement pe,
if (p && p->device()->devType() == TQInternal::Widget) {
widget = static_cast<TQWidget*>(p->device());
- tqparent = widget->tqparentWidget();
+ tqparent = widget->parentWidget();
} else
return; // Don't paint on non-widgets
@@ -763,7 +763,7 @@ int TQtCKStyle::tqpixelMetric(PixelMetric m, const TQWidget* widget) const
TQWidget* tqparent = 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 && (tqparent = widget->tqparentWidget() )
+ if (widget && (tqparent = widget->parentWidget() )
&& !tqparent->inherits(TQTOOLBAR_OBJECT_NAME_STRING)
&& !tqparent->inherits(TQMAINWINDOW_OBJECT_NAME_STRING)
&& widget->inherits(TQDOCKWINDOWHANDLE_OBJECT_NAME_STRING) )
@@ -977,10 +977,10 @@ void TQtCKStyle::tqdrawComplexControl( 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());