summaryrefslogtreecommitdiffstats
path: root/kgantt/kgantt
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
commit4c6f8d69e2d1501837affb472c4eb8fec4462240 (patch)
tree766a8ad7939fcf3eec534184c36bd0e0f80489e2 /kgantt/kgantt
parent469cc56a805bd3d6940d54adbef554877c29853c (diff)
downloadtdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.tar.gz
tdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kgantt/kgantt')
-rw-r--r--kgantt/kgantt/KGanttItem.cpp2
-rw-r--r--kgantt/kgantt/KGanttItem.h2
-rw-r--r--kgantt/kgantt/KGanttRelation.h2
-rw-r--r--kgantt/kgantt/xQGanttBarViewPort.cpp2
-rw-r--r--kgantt/kgantt/xQGanttBarViewPort_Events.cpp22
5 files changed, 15 insertions, 15 deletions
diff --git a/kgantt/kgantt/KGanttItem.cpp b/kgantt/kgantt/KGanttItem.cpp
index 3b152515..f032ede0 100644
--- a/kgantt/kgantt/KGanttItem.cpp
+++ b/kgantt/kgantt/KGanttItem.cpp
@@ -90,7 +90,7 @@ KGanttRelation*
KGanttItem::addRelation(KGanttItem* from, KGanttItem* to,
const TQString& text)
{
- if(_subitems.tqcontainsRef(from) > 0 && _subitems.tqcontainsRef(to) >0) {
+ if(_subitems.containsRef(from) > 0 && _subitems.containsRef(to) >0) {
KGanttRelation* rel = new KGanttRelation(from,to,text);
_relations.append(rel);
diff --git a/kgantt/kgantt/KGanttItem.h b/kgantt/kgantt/KGanttItem.h
index b64c7339..a01763a5 100644
--- a/kgantt/kgantt/KGanttItem.h
+++ b/kgantt/kgantt/KGanttItem.h
@@ -343,7 +343,7 @@ public:
/// Get date of starting.
/*!
- * If mode == ´Rubberband´ and this item tqcontains
+ * If mode == ´Rubberband´ and this item contains
* subitems, start of the item is determined by the start of the
* earliest subitem. <br>
*/
diff --git a/kgantt/kgantt/KGanttRelation.h b/kgantt/kgantt/KGanttRelation.h
index a75cec9b..42323026 100644
--- a/kgantt/kgantt/KGanttRelation.h
+++ b/kgantt/kgantt/KGanttRelation.h
@@ -176,7 +176,7 @@ public:
/// Get date of starting.
/*!
- * If mode == ´Rubberband´ and this item tqcontains
+ * If mode == ´Rubberband´ and this item contains
* subitems, start of the item is determined by the start of the
* earliest subitem. <br>
*/
diff --git a/kgantt/kgantt/xQGanttBarViewPort.cpp b/kgantt/kgantt/xQGanttBarViewPort.cpp
index d4be3761..6ac4daae 100644
--- a/kgantt/kgantt/xQGanttBarViewPort.cpp
+++ b/kgantt/kgantt/xQGanttBarViewPort.cpp
@@ -424,7 +424,7 @@ xQGanttBarViewPort::recalc(KGanttItem* item, int xPos, int yPos,
new xTQTaskPosition(nr, xPos, yPos, _screenW, _screenH, _screenHS,
_textPosX, _textPosY, depth);
- _gItemList.tqreplace(item, tpos );
+ _gItemList.replace(item, tpos );
tpos->_screenHandleX = xPos + dd;
tpos->_screenHandleW = 2 * dd;
diff --git a/kgantt/kgantt/xQGanttBarViewPort_Events.cpp b/kgantt/kgantt/xQGanttBarViewPort_Events.cpp
index d7542d1c..ffd85d30 100644
--- a/kgantt/kgantt/xQGanttBarViewPort_Events.cpp
+++ b/kgantt/kgantt/xQGanttBarViewPort_Events.cpp
@@ -66,7 +66,7 @@ xQGanttBarViewPort::mousePressEvent(TQMouseEvent* e)
*/
if(e->button() == Qt::MidButton && _mode == Select) {
- xTQTaskPosition* tp = _gItemList.tqfind(_currentItem);
+ xTQTaskPosition* tp = _gItemList.find(_currentItem);
TQPainter p(this);
TQRect rect = p.boundingRect(tp->_textPosX,
@@ -118,7 +118,7 @@ xQGanttBarViewPort::mousePressEvent(TQMouseEvent* e)
_itemInfo->setText( tmp );
_itemInfo->adjustSize();
- _itemInfo->move(e->x() + 25, _gItemList.tqfind(_currentItem)->_screenY - 50 );
+ _itemInfo->move(e->x() + 25, _gItemList.find(_currentItem)->_screenY - 50 );
_itemInfo->show();
}
else
@@ -366,15 +366,15 @@ xQGanttBarViewPort::mouseMoveEvent(TQMouseEvent* e)
_itemInfo->setText( stmp );
_itemInfo->adjustSize();
- _itemInfo->move(e->x() + 25, _gItemList.tqfind(_currentItem)->_screenY - 50);
+ _itemInfo->move(e->x() + 25, _gItemList.find(_currentItem)->_screenY - 50);
_itemInfo->show();
if(oldx > 0) {
- p.fillRect(oldx, _gItemList.tqfind(_currentItem)->_screenY,
- oldw, _gItemList.tqfind(_currentItem)->_screenH,
+ p.fillRect(oldx, _gItemList.find(_currentItem)->_screenY,
+ oldw, _gItemList.find(_currentItem)->_screenH,
TQBrush(TQColor(50,50,50), Dense4Pattern));
- p.drawRect(oldx, _gItemList.tqfind(_currentItem)->_screenY,
- oldw, _gItemList.tqfind(_currentItem)->_screenH);
+ p.drawRect(oldx, _gItemList.find(_currentItem)->_screenY,
+ oldw, _gItemList.find(_currentItem)->_screenH);
p.setPen(_solidPen);
if(_changeStart)
@@ -386,11 +386,11 @@ xQGanttBarViewPort::mouseMoveEvent(TQMouseEvent* e)
}
p.setPen(_dashPen);
- p.fillRect(x, _gItemList.tqfind(_currentItem)->_screenY,
- w, _gItemList.tqfind(_currentItem)->_screenH,
+ p.fillRect(x, _gItemList.find(_currentItem)->_screenY,
+ w, _gItemList.find(_currentItem)->_screenH,
TQBrush(TQColor(50,50,50), Dense4Pattern) );
- p.drawRect(x, _gItemList.tqfind(_currentItem)->_screenY,
- w, _gItemList.tqfind(_currentItem)->_screenH);
+ p.drawRect(x, _gItemList.find(_currentItem)->_screenY,
+ w, _gItemList.find(_currentItem)->_screenH);
p.setPen(_solidPen);
if(_changeStart)