summaryrefslogtreecommitdiffstats
path: root/src/kima.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit497ab12472bb04a18ec409bbe643334329559864 (patch)
tree9efc5541d582b2cba41abf024fa7ef7ce6b97110 /src/kima.cpp
parent7eadc95d6f902986027596d628db71cb3dcefdb6 (diff)
downloadkima-497ab12472bb04a18ec409bbe643334329559864.tar.gz
kima-497ab12472bb04a18ec409bbe643334329559864.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kima@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/kima.cpp')
-rw-r--r--src/kima.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/kima.cpp b/src/kima.cpp
index 0e3f54c..eb30f5d 100644
--- a/src/kima.cpp
+++ b/src/kima.cpp
@@ -332,7 +332,7 @@ void Kima::mousePressEvent(TQMouseEvent* inEvent ){
TQLayoutIterator it = mLayout->iterator();
while(it.current()){
TQWidget * c = it.current()->widget();
- if(TQT_TQRECT_OBJECT(c->rect()).tqcontains(c->mapFromGlobal(inEvent->globalPos()))){
+ if(TQT_TQRECT_OBJECT(c->rect()).contains(c->mapFromGlobal(inEvent->globalPos()))){
mDraggedSourceItem = it.current(); // remenber the clicked source
c->setCursor(TQt::SizeAllCursor); // set drag cursor
mDragFactor = (c->rect().height()/2.0) / (double)c->mapFromGlobal(inEvent->globalPos()).y();
@@ -358,7 +358,7 @@ void Kima::mouseMoveEvent( TQMouseEvent* inEvent ) {
TQLayoutIterator it = mLayout->iterator();
while(it.current()){
TQWidget * c = it.current()->widget();
- if(TQT_TQRECT_OBJECT(c->rect()).tqcontains(c->mapFromGlobal(inEvent->globalPos()))){
+ if(TQT_TQRECT_OBJECT(c->rect()).contains(c->mapFromGlobal(inEvent->globalPos()))){
if(it.current() == mDraggedSourceItem)
break;
// we are over a source-widget.
@@ -377,7 +377,7 @@ void Kima::mouseMoveEvent( TQMouseEvent* inEvent ) {
++it;
}
// outside kima?
- if(!TQT_TQRECT_OBJECT(rect()).tqcontains(mapToParent(inEvent->pos())))
+ if(!TQT_TQRECT_OBJECT(rect()).contains(mapToParent(inEvent->pos())))
mDraggedSourceItem->widget()->setCursor(TQt::ForbiddenCursor);
else
mDraggedSourceItem->widget()->setCursor(TQt::SizeAllCursor);
@@ -414,7 +414,7 @@ void Kima::registerSource(Source* source) {
}
void Kima::maybeTip(const TQPoint& inPos){
- if(!TQT_TQRECT_OBJECT(rect()).tqcontains(inPos))
+ if(!TQT_TQRECT_OBJECT(rect()).contains(inPos))
return;
TQString text = "<b>" + i18n("Sources:") + "</b><br><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">";