summaryrefslogtreecommitdiffstats
path: root/scheck/scheck.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit22253cd8fbc0bd2e70f32aaf1f95ea3a3e819a60 (patch)
treebabc4a761925023e16fa94633959f35d1c251887 /scheck/scheck.cpp
parent0813b39aed2cf4c84157a22c4c9594336d93d412 (diff)
downloadtdesdk-22253cd8fbc0bd2e70f32aaf1f95ea3a3e819a60.tar.gz
tdesdk-22253cd8fbc0bd2e70f32aaf1f95ea3a3e819a60.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'scheck/scheck.cpp')
-rw-r--r--scheck/scheck.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/scheck/scheck.cpp b/scheck/scheck.cpp
index 033051b8..5d8d3582 100644
--- a/scheck/scheck.cpp
+++ b/scheck/scheck.cpp
@@ -1341,7 +1341,7 @@ void StyleCheckStyle::drawPrimitive( PrimitiveElement pe,
}
- // RADIOBUTTON (exclusive indicator) tqmask
+ // RADIOBUTTON (exclusive indicator) mask
// -------------------------------------------------------------------
case PE_ExclusiveIndicatorMask: {
if (maskBmp.isNull()) {
@@ -2330,21 +2330,21 @@ void StyleCheckStyle::tqdrawComplexControl( ComplexControl control,
TQPixmap pixmap = *(toolbutton->parentWidget()->backgroundPixmap());
p->drawTiledPixmap( r, pixmap, toolbutton->pos() );
}
- else if (widget->tqparent())
+ else if (widget->parent())
{
- if (widget->tqparent()->inherits(TQTOOLBAR_OBJECT_NAME_STRING))
+ if (widget->parent()->inherits(TQTOOLBAR_OBJECT_NAME_STRING))
{
- TQToolBar* tqparent = (TQToolBar*)widget->tqparent();
- TQRect pr = tqparent->rect();
+ TQToolBar* parent = (TQToolBar*)widget->parent();
+ TQRect pr = parent->rect();
renderGradient( p, r, cg.button(),
- tqparent->orientation() == Qt::Vertical,
+ parent->orientation() == Qt::Vertical,
r.x(), r.y(), pr.width()-2, pr.height()-2);
}
- else if (widget->tqparent()->inherits("TQToolBarExtensionWidget"))
+ else if (widget->parent()->inherits("TQToolBarExtensionWidget"))
{
- TQWidget* tqparent = (TQWidget*)widget->tqparent();
- TQToolBar* toolbar = (TQToolBar*)tqparent->tqparent();
+ TQWidget* parent = (TQWidget*)widget->parent();
+ TQToolBar* toolbar = (TQToolBar*)parent->parent();
TQRect tr = toolbar->rect();
if ( toolbar->orientation() == Qt::Horizontal ) {
@@ -2682,14 +2682,14 @@ bool StyleCheckStyle::eventFilter( TQObject *object, TQEvent *event )
bool nestedGroupBox = false;
TQString stripped_title = removedXX(stripAccelViolations(gb->title()));
- //Walk tqparent hierarchy to check whether any are groupboxes too..
- TQObject* tqparent = TQT_TQOBJECT(gb);
+ //Walk parent hierarchy to check whether any are groupboxes too..
+ TQObject* parent = TQT_TQOBJECT(gb);
// GCC suggested parentheses around assignment used as truth value
// I suggested that it could eat me. GCC won.
- while ( (tqparent = tqparent->tqparent()) )
+ while ( (parent = parent->parent()) )
{
- if (tqparent->inherits(TQGROUPBOX_OBJECT_NAME_STRING))
+ if (parent->inherits(TQGROUPBOX_OBJECT_NAME_STRING))
{
nestedGroupBox = true;
break;