summaryrefslogtreecommitdiffstats
path: root/src/kvilib/tal
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
commit27648a99ce3a8a1e498828f1fc93cbd6b3476a91 (patch)
tree09939e827c3467356b78fce055d5b2826a832ae5 /src/kvilib/tal
parent99e44ac443d2590ecdeb0da46608a0a537177fd7 (diff)
downloadkvirc-27648a99ce3a8a1e498828f1fc93cbd6b3476a91.tar.gz
kvirc-27648a99ce3a8a1e498828f1fc93cbd6b3476a91.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/kvirc@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 ) {