summaryrefslogtreecommitdiffstats
path: root/src/kvilib/tal
diff options
context:
space:
mode:
Diffstat (limited to 'src/kvilib/tal')
-rw-r--r--src/kvilib/tal/kvi_tal_listview.cpp40
1 files changed, 20 insertions, 20 deletions
diff --git a/src/kvilib/tal/kvi_tal_listview.cpp b/src/kvilib/tal/kvi_tal_listview.cpp
index 6181d804..27d9a54d 100644
--- a/src/kvilib/tal/kvi_tal_listview.cpp
+++ b/src/kvilib/tal/kvi_tal_listview.cpp
@@ -481,12 +481,12 @@
TQPoint pos;
int boxsize = lv->tqstyle()->tqpixelMetric(TQStyle::PM_CheckListButtonSize, 0, lv);
if (activatedPos(pos)) {
- bool tqparentControl = false;
+ bool parentControl = false;
if (tqparent() && tqparent()->rtti() == 1 &&
((KviTalCheckListItem*) tqparent())->type() == RadioButtonController)
- tqparentControl = true;
+ parentControl = true;
- int x = tqparentControl ? 0 : 3;
+ int x = parentControl ? 0 : 3;
int align = lv->columnAlignment(0);
int marg = lv->itemMargin();
int y = 0;
@@ -694,10 +694,10 @@
return;
}
- bool tqparentControl = false;
+ bool parentControl = false;
if (tqparent() && tqparent()->rtti() == 1 &&
((KviTalCheckListItem*) tqparent())->type() == RadioButtonController)
- tqparentControl = true;
+ parentControl = true;
TQFontMetrics fm(lv->fontMetrics());
int boxsize = lv->tqstyle()->tqpixelMetric(myType == RadioButtonController ? TQStyle::PM_CheckListControllerSize :
@@ -726,7 +726,7 @@
if (myType == RadioButtonController) {
int x = 0;
- if(!tqparentControl)
+ if(!parentControl)
x += 3;
if (!pixmap(0)) {
TQStyleOptionQ3ListView opt = getStyleOption(lv, this);
@@ -740,7 +740,7 @@
Q_ASSERT(lv); //###
int x = 0;
int y = 0;
- if (!tqparentControl)
+ if (!parentControl)
x += 3;
if (align & TQt::AlignVCenter)
y = ((height() - boxsize) / 2) + marg;
@@ -774,13 +774,13 @@
xdepth += p;
intersect = r.intersects(TQRect(p, r.y(), xdepth - p + 1, r.height()));
}
- bool tqparentControl = false;
+ bool parentControl = false;
if (tqparent() && tqparent()->rtti() == 1 &&
((KviTalCheckListItem*) tqparent())->type() == RadioButtonController)
- tqparentControl = true;
+ parentControl = true;
if (myType != RadioButtonController && intersect &&
(lv->rootIsDecorated() || myType == RadioButton ||
- (myType == CheckBox && tqparentControl))) {
+ (myType == CheckBox && parentControl))) {
TQRect rect;
int boxsize = lv->tqstyle()->tqpixelMetric(TQStyle::PM_CheckListButtonSize, 0, lv);
if (lv->columnAlignment(0) == TQt::AlignCenter) {
@@ -1218,12 +1218,12 @@
TQPoint pos;
int boxsize = lv->tqstyle().tqpixelMetric(TQStyle::PM_CheckListButtonSize, lv);
if ( activatedPos( pos ) ) {
- bool tqparentControl = FALSE;
+ bool parentControl = FALSE;
if ( tqparent() && tqparent()->rtti() == 1 &&
((KviTalCheckListItem*) tqparent())->type() == RadioButtonController )
- tqparentControl = TRUE;
+ parentControl = TRUE;
- int x = tqparentControl ? 0 : 3;
+ int x = parentControl ? 0 : 3;
int align = lv->columnAlignment( 0 );
int marg = lv->itemMargin();
int y = 0;
@@ -1431,10 +1431,10 @@
return;
}
- bool tqparentControl = FALSE;
+ bool parentControl = FALSE;
if ( tqparent() && tqparent()->rtti() == 1 &&
((KviTalCheckListItem*) tqparent())->type() == RadioButtonController )
- tqparentControl = TRUE;
+ parentControl = TRUE;
TQFontMetrics fm( lv->fontMetrics() );
int boxsize = lv->tqstyle().tqpixelMetric( myType == RadioButtonController ? TQStyle::PM_CheckListControllerSize :
@@ -1461,7 +1461,7 @@
if ( myType == RadioButtonController ) {
int x = 0;
- if(!tqparentControl)
+ if(!parentControl)
x += 3;
if ( !pixmap( 0 ) ) {
lv->tqstyle().tqdrawPrimitive(TQStyle::PE_CheckListController, p,
@@ -1474,7 +1474,7 @@
Q_ASSERT( lv ); //###
int x = 0;
int y = 0;
- if ( !tqparentControl )
+ if ( !parentControl )
x += 3;
if ( align & AlignVCenter )
y = ( ( height() - boxsize ) / 2 ) + marg;
@@ -1511,13 +1511,13 @@
xdepth += p;
intersect = r.intersects( TQRect( p, r.y(), xdepth - p + 1, r.height() ) );
}
- bool tqparentControl = FALSE;
+ bool parentControl = FALSE;
if ( tqparent() && tqparent()->rtti() == 1 &&
((KviTalCheckListItem*) tqparent())->type() == RadioButtonController )
- tqparentControl = TRUE;
+ parentControl = TRUE;
if ( myType != RadioButtonController && intersect &&
(lv->rootIsDecorated() || myType == RadioButton ||
- (myType == CheckBox && tqparentControl) ) ) {
+ (myType == CheckBox && parentControl) ) ) {
TQRect rect;
int boxsize = lv->tqstyle().tqpixelMetric(TQStyle::PM_CheckListButtonSize, lv);
if ( lv->columnAlignment(0) == AlignCenter ) {