summaryrefslogtreecommitdiffstats
path: root/kgantt
diff options
context:
space:
mode:
Diffstat (limited to 'kgantt')
-rw-r--r--kgantt/COPYING4
-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
6 files changed, 17 insertions, 17 deletions
diff --git a/kgantt/COPYING b/kgantt/COPYING
index b55fa146..54754ab4 100644
--- a/kgantt/COPYING
+++ b/kgantt/COPYING
@@ -59,7 +59,7 @@ modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
- 0. This License applies to any program or other work which tqcontains
+ 0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
@@ -154,7 +154,7 @@ Sections 1 and 2 above provided that you also do one of the following:
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
-code means all the source code for all modules it tqcontains, plus any
+code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
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)