summaryrefslogtreecommitdiffstats
path: root/kexi/widget/utils
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/widget/utils')
-rw-r--r--kexi/widget/utils/kexiarrowtip.cpp12
-rw-r--r--kexi/widget/utils/kexiflowlayout.cpp4
2 files changed, 8 insertions, 8 deletions
diff --git a/kexi/widget/utils/kexiarrowtip.cpp b/kexi/widget/utils/kexiarrowtip.cpp
index a805f5e3..2c6f86aa 100644
--- a/kexi/widget/utils/kexiarrowtip.cpp
+++ b/kexi/widget/utils/kexiarrowtip.cpp
@@ -50,13 +50,13 @@ KexiArrowTip::KexiArrowTip(const TQString& text, TQWidget* tqparent)
setAutoMask( false );
//generate tqmask
- TQPixmap tqmaskPm(size());
- tqmaskPm.fill( black );
- TQPainter tqmaskPainter(&tqmaskPm);
- drawFrame(tqmaskPainter);
- TQImage tqmaskImg( tqmaskPm.convertToImage() );
+ TQPixmap maskPm(size());
+ maskPm.fill( black );
+ TQPainter maskPainter(&maskPm);
+ drawFrame(maskPainter);
+ TQImage maskImg( maskPm.convertToImage() );
TQBitmap bm;
- bm = tqmaskImg.createHeuristicMask();
+ bm = maskImg.createHeuristicMask();
setMask( bm );
}
diff --git a/kexi/widget/utils/kexiflowlayout.cpp b/kexi/widget/utils/kexiflowlayout.cpp
index d7150c6b..e5f98aee 100644
--- a/kexi/widget/utils/kexiflowlayout.cpp
+++ b/kexi/widget/utils/kexiflowlayout.cpp
@@ -244,7 +244,7 @@ KexiFlowLayout::doHorizontalLayout(const TQRect &r, bool testOnly)
}
// kdDebug() << "- doHorizontalLayout(): " << o->widget()->className() << " " << o->widget()->name() << endl;
- TQSize oSizeHint = o->tqsizeHint(); // we cache these ones because it can take a while to get it (eg for child tqlayouts)
+ TQSize oSizeHint = o->tqsizeHint(); // we cache these ones because it can take a while to get it (eg for child layouts)
if ((x + oSizeHint.width()) > r.right() && h > 0) {
// do the tqlayout of current line
TQPtrListIterator<TQLayoutItem> it2(currentLine);
@@ -360,7 +360,7 @@ KexiFlowLayout::doVerticalLayout(const TQRect &r, bool testOnly)
continue;
}
- TQSize oSizeHint = o->tqsizeHint(); // we cache these ones because it can take a while to get it (eg for child tqlayouts)
+ TQSize oSizeHint = o->tqsizeHint(); // we cache these ones because it can take a while to get it (eg for child layouts)
if (y + oSizeHint.height() > r.bottom() && w > 0) {
// do the tqlayout of current line
TQPtrListIterator<TQLayoutItem> it2(currentLine);