summaryrefslogtreecommitdiffstats
path: root/scheck/scheck.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
commit9150603ad32928e9c514c0492a8518b742d82ac3 (patch)
tree6e3f83e2b94146bb42eed57eb6dd8f2fb0369e6f /scheck/scheck.cpp
parent6b126a99d5eecef5cb96589ed5c2e522bcb06ca9 (diff)
downloadtdesdk-9150603ad32928e9c514c0492a8518b742d82ac3.tar.gz
tdesdk-9150603ad32928e9c514c0492a8518b742d82ac3.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/kdesdk@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'scheck/scheck.cpp')
-rw-r--r--scheck/scheck.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/scheck/scheck.cpp b/scheck/scheck.cpp
index 4e4dd724..0e4aa9c2 100644
--- a/scheck/scheck.cpp
+++ b/scheck/scheck.cpp
@@ -104,7 +104,7 @@ static TQBitmap lightBmp;
static TQBitmap grayBmp;
static TQBitmap dgrayBmp;
static TQBitmap centerBmp;
-static TQBitmap tqmaskBmp;
+static TQBitmap maskBmp;
static TQBitmap xBmp;
static const int itemFrame = 1;
@@ -991,7 +991,7 @@ void StyleCheckStyle::unPolish(TQWidget* widget)
-// This function draws primitive elements as well as their tqmasks.
+// This function draws primitive elements as well as their masks.
void StyleCheckStyle::drawPrimitive( PrimitiveElement pe,
TQPainter *p,
const TQRect &r,
@@ -1344,13 +1344,13 @@ void StyleCheckStyle::drawPrimitive( PrimitiveElement pe,
// RADIOBUTTON (exclusive indicator) tqmask
// -------------------------------------------------------------------
case PE_ExclusiveIndicatorMask: {
- if (tqmaskBmp.isNull()) {
- tqmaskBmp = TQBitmap(13, 13, radiotqmask_bits, true);
- tqmaskBmp.setMask(tqmaskBmp);
+ if (maskBmp.isNull()) {
+ maskBmp = TQBitmap(13, 13, radiomask_bits, true);
+ maskBmp.setMask(maskBmp);
}
p->setPen(TQt::color1);
- p->drawPixmap(r.x(), r.y(), tqmaskBmp);
+ p->drawPixmap(r.x(), r.y(), maskBmp);
break;
}
@@ -2323,11 +2323,11 @@ void StyleCheckStyle::tqdrawComplexControl( ComplexControl control,
drawPrimitive(PE_ButtonTool, p, button, cg, bflags, opt);
// Check whether to draw a background pixmap
- else if ( toolbutton->tqparentWidget() &&
- toolbutton->tqparentWidget()->backgroundPixmap() &&
- !toolbutton->tqparentWidget()->backgroundPixmap()->isNull() )
+ else if ( toolbutton->parentWidget() &&
+ toolbutton->parentWidget()->backgroundPixmap() &&
+ !toolbutton->parentWidget()->backgroundPixmap()->isNull() )
{
- TQPixmap pixmap = *(toolbutton->tqparentWidget()->backgroundPixmap());
+ TQPixmap pixmap = *(toolbutton->parentWidget()->backgroundPixmap());
p->drawTiledPixmap( r, pixmap, toolbutton->pos() );
}
else if (widget->tqparent())
@@ -2685,7 +2685,7 @@ bool StyleCheckStyle::eventFilter( TQObject *object, TQEvent *event )
//Walk tqparent hierarchy to check whether any are groupboxes too..
TQObject* tqparent = TQT_TQOBJECT(gb);
- // GCC suggested tqparentheses around assignment used as truth value
+ // GCC suggested parentheses around assignment used as truth value
// I suggested that it could eat me. GCC won.
while ( (tqparent = tqparent->tqparent()) )
{