summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/src/styles/tqcommonstyle.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-08-10 12:13:27 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-08-10 12:13:27 -0500
commitd296f1d337dabfeae5191955fdadb874965dbbe9 (patch)
tree1a4b3b4cca01f2ea77eee2497297219d60e9bbd4 /tqtinterface/qt4/src/styles/tqcommonstyle.cpp
parenteaa7ee2e0bbca40ba3173c4304f81957e8964291 (diff)
downloadexperimental-d296f1d337dabfeae5191955fdadb874965dbbe9.tar.gz
experimental-d296f1d337dabfeae5191955fdadb874965dbbe9.zip
rename the following methods:
tqparent parent tqmask mask
Diffstat (limited to 'tqtinterface/qt4/src/styles/tqcommonstyle.cpp')
-rw-r--r--tqtinterface/qt4/src/styles/tqcommonstyle.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tqtinterface/qt4/src/styles/tqcommonstyle.cpp b/tqtinterface/qt4/src/styles/tqcommonstyle.cpp
index 8ab5d91..90a5588 100644
--- a/tqtinterface/qt4/src/styles/tqcommonstyle.cpp
+++ b/tqtinterface/qt4/src/styles/tqcommonstyle.cpp
@@ -216,8 +216,8 @@ void TQCommonStyle::tqdrawPrimitive( TQ_PrimitiveElement pe,
p->setPen( TQPen( lv->tqpalette().color( TQPalette::Disabled, TQColorGroup::Text ),
2 ) );
bool parentControl = FALSE;
- if ( item->tqparent() && item->tqparent()->rtti() == 1 &&
- ((TQCheckListItem*) item->tqparent())->type() == TQCheckListItem::Controller )
+ if ( item->parent() && item->parent()->rtti() == 1 &&
+ ((TQCheckListItem*) item->parent())->type() == TQCheckListItem::Controller )
parentControl = TRUE;
if ( flags & Style_Selected && !lv->rootIsDecorated() && !parentControl ) {
p->fillRect( 0, 0, x + marg + w + 4, item->height(),