summaryrefslogtreecommitdiffstats
path: root/kgantt
diff options
context:
space:
mode:
Diffstat (limited to 'kgantt')
-rw-r--r--kgantt/kgantt/KGantt.cpp4
-rw-r--r--kgantt/kgantt/KGantt.h8
-rw-r--r--kgantt/kgantt/KGanttItem.cpp2
-rw-r--r--kgantt/kgantt/KGanttItem.h8
-rw-r--r--kgantt/kgantt/KGanttRelation.h6
-rw-r--r--kgantt/kgantt/itemedit.ui36
-rw-r--r--kgantt/kgantt/itemedit2.ui18
-rw-r--r--kgantt/kgantt/xQGanttBarViewPort.cpp2
8 files changed, 42 insertions, 42 deletions
diff --git a/kgantt/kgantt/KGantt.cpp b/kgantt/kgantt/KGantt.cpp
index f16d4776..249f11ad 100644
--- a/kgantt/kgantt/KGantt.cpp
+++ b/kgantt/kgantt/KGantt.cpp
@@ -24,8 +24,8 @@ KGantt::KGantt(KGanttItem* toplevelitem,
if(toplevelitem == 0) {
_toplevelitem = new KGanttItem(0, "toplevelitem",
- TQDateTime::currentDateTime(),
- TQDateTime::currentDateTime() );
+ TQDateTime::tqcurrentDateTime(),
+ TQDateTime::tqcurrentDateTime() );
_toplevelitem->setMode(KGanttItem::Rubberband);
_deleteItem = true;
}
diff --git a/kgantt/kgantt/KGantt.h b/kgantt/kgantt/KGantt.h
index fbde52d7..5cfe559c 100644
--- a/kgantt/kgantt/KGantt.h
+++ b/kgantt/kgantt/KGantt.h
@@ -49,7 +49,7 @@
/**
* \mainpage KGantt Module <br> <IMG SRC="gantt.png">
*
- * The kgantt module contains several classes (KGanttItem, KGantt)
+ * The kgantt module tqcontains several classes (KGanttItem, KGantt)
* for drawing and editing gantt-diagramms.
*
* This example shows how to use the gantt module:
@@ -66,8 +66,8 @@
KGanttItem* t1 = new KGanttItem(toplevel,
"task 1, no subtasks",
- TQDateTime::currentDateTime().addDays(10),
- TQDateTime::currentDateTime().addDays(20) );
+ TQDateTime::tqcurrentDateTime().addDays(10),
+ TQDateTime::tqcurrentDateTime().addDays(20) );
...
@@ -83,7 +83,7 @@
/// Gantt Widget.
/*!
- * A gantt widget contains two parts, a list view and a
+ * A gantt widget tqcontains two parts, a list view and a
* bar view.
*/
////////////////////////////////
diff --git a/kgantt/kgantt/KGanttItem.cpp b/kgantt/kgantt/KGanttItem.cpp
index 4ddddf01..3632e170 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.containsRef(from) > 0 && _subitems.containsRef(to) >0) {
+ if(_subitems.tqcontainsRef(from) > 0 && _subitems.tqcontainsRef(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 9971508c..fb7feb04 100644
--- a/kgantt/kgantt/KGanttItem.h
+++ b/kgantt/kgantt/KGanttItem.h
@@ -46,8 +46,8 @@
/// KGanttItem.
/*!
- * This class describes a item. It contains dates on which the item starts and
- * ends. It also contains attributes that gouverns the graphical representation
+ * This class describes a item. It tqcontains dates on which the item starts and
+ * ends. It also tqcontains attributes that gouverns the graphical representation
* in a gantt diagramm.
*/
//////////////////////////////////
@@ -121,7 +121,7 @@ public:
// Draw handlke for opening/closing item.
DrawHandle = 16,
- /// Draw handle only if item contains subitems
+ /// Draw handle only if item tqcontains subitems
DrawHandleWSubitems = 32,
DrawAll = 255
@@ -342,7 +342,7 @@ public:
/// Get date of starting.
/*!
- * If mode == ´Rubberband´ and this item contains
+ * If mode == ´Rubberband´ and this item tqcontains
* 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 54878950..8ab96c5d 100644
--- a/kgantt/kgantt/KGanttRelation.h
+++ b/kgantt/kgantt/KGanttRelation.h
@@ -40,8 +40,8 @@ class KGanttItem;
/// KGanttRelation.
/*!
- * This class describes a item. It contains dates on which the item starts and
- * ends. It also contains attributes that gouverns the graphical representation
+ * This class describes a item. It tqcontains dates on which the item starts and
+ * ends. It also tqcontains attributes that gouverns the graphical representation
* in a gantt diagramm.
*/
//////////////////////////////////
@@ -175,7 +175,7 @@ public:
/// Get date of starting.
/*!
- * If mode == ´Rubberband´ and this item contains
+ * If mode == ´Rubberband´ and this item tqcontains
* subitems, start of the item is determined by the start of the
* earliest subitem. <br>
*/
diff --git a/kgantt/kgantt/itemedit.ui b/kgantt/kgantt/itemedit.ui
index e50689e6..3be22f9e 100644
--- a/kgantt/kgantt/itemedit.ui
+++ b/kgantt/kgantt/itemedit.ui
@@ -4,7 +4,7 @@
<property name="name">
<cstring>Form1</cstring>
</property>
- <property name="geometry">
+ <property name="tqgeometry">
<rect>
<x>0</x>
<y>0</y>
@@ -12,9 +12,9 @@
<height>431</height>
</rect>
</property>
- <property name="layoutMargin" stdset="0">
+ <property name="tqlayoutMargin" stdset="0">
</property>
- <property name="layoutSpacing" stdset="0">
+ <property name="tqlayoutSpacing" stdset="0">
</property>
<grid>
<property name="name">
@@ -38,7 +38,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="maximumSize">
+ <property name="tqmaximumSize">
<size>
<width>32767</width>
<height>30</height>
@@ -47,7 +47,7 @@
<property name="text">
<string>Item text:</string>
</property>
- <property name="alignment">
+ <property name="tqalignment">
<set>AlignBottom|AlignLeft</set>
</property>
<property name="vAlign" stdset="0">
@@ -74,7 +74,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>50</width>
<height>20</height>
@@ -85,7 +85,7 @@
<property name="name">
<cstring>_minStartMinuetEdit</cstring>
</property>
- <property name="maximumSize">
+ <property name="tqmaximumSize">
<size>
<width>20</width>
<height>30</height>
@@ -99,7 +99,7 @@
<property name="name">
<cstring>_minStartHourEdit</cstring>
</property>
- <property name="maximumSize">
+ <property name="tqmaximumSize">
<size>
<width>20</width>
<height>30</height>
@@ -177,7 +177,7 @@
<property name="name">
<cstring>_maxStartHourEdit</cstring>
</property>
- <property name="maximumSize">
+ <property name="tqmaximumSize">
<size>
<width>20</width>
<height>30</height>
@@ -210,7 +210,7 @@
<property name="name">
<cstring>_maxStartMinuetEdit</cstring>
</property>
- <property name="maximumSize">
+ <property name="tqmaximumSize">
<size>
<width>20</width>
<height>30</height>
@@ -230,7 +230,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>50</width>
<height>20</height>
@@ -308,7 +308,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>356</width>
<height>20</height>
@@ -354,7 +354,7 @@
<property name="name">
<cstring>_startHourEdit</cstring>
</property>
- <property name="maximumSize">
+ <property name="tqmaximumSize">
<size>
<width>20</width>
<height>30</height>
@@ -368,7 +368,7 @@
<property name="name">
<cstring>_startMinuetEdit</cstring>
</property>
- <property name="maximumSize">
+ <property name="tqmaximumSize">
<size>
<width>20</width>
<height>30</height>
@@ -395,7 +395,7 @@
<property name="name">
<cstring>_endMinuetEdit</cstring>
</property>
- <property name="maximumSize">
+ <property name="tqmaximumSize">
<size>
<width>20</width>
<height>30</height>
@@ -415,7 +415,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>356</width>
<height>20</height>
@@ -477,7 +477,7 @@
<property name="name">
<cstring>_endHourEdit</cstring>
</property>
- <property name="maximumSize">
+ <property name="tqmaximumSize">
<size>
<width>20</width>
<height>30</height>
@@ -605,7 +605,7 @@
</widget>
</grid>
</widget>
-<layoutdefaults spacing="6" margin="11"/>
+<tqlayoutdefaults spacing="6" margin="11"/>
<includehints>
<includehint>knuminput.h</includehint>
</includehints>
diff --git a/kgantt/kgantt/itemedit2.ui b/kgantt/kgantt/itemedit2.ui
index 7ef1fa00..bdcc0eb7 100644
--- a/kgantt/kgantt/itemedit2.ui
+++ b/kgantt/kgantt/itemedit2.ui
@@ -4,7 +4,7 @@
<property name="name">
<cstring>Form1</cstring>
</property>
- <property name="geometry">
+ <property name="tqgeometry">
<rect>
<x>0</x>
<y>0</y>
@@ -12,9 +12,9 @@
<height>345</height>
</rect>
</property>
- <property name="layoutMargin" stdset="0">
+ <property name="tqlayoutMargin" stdset="0">
</property>
- <property name="layoutSpacing" stdset="0">
+ <property name="tqlayoutSpacing" stdset="0">
</property>
<grid>
<property name="name">
@@ -217,7 +217,7 @@
<property name="name">
<cstring>_dateTimeHourEdit</cstring>
</property>
- <property name="maximumSize">
+ <property name="tqmaximumSize">
<size>
<width>20</width>
<height>30</height>
@@ -245,7 +245,7 @@
<property name="name">
<cstring>_dateTimeMinuetEdit</cstring>
</property>
- <property name="maximumSize">
+ <property name="tqmaximumSize">
<size>
<width>20</width>
<height>30</height>
@@ -265,7 +265,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>194</width>
<height>20</height>
@@ -302,7 +302,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="maximumSize">
+ <property name="tqmaximumSize">
<size>
<width>32767</width>
<height>30</height>
@@ -314,7 +314,7 @@
<property name="textFormat">
<enum>PlainText</enum>
</property>
- <property name="alignment">
+ <property name="tqalignment">
<set>WordBreak|AlignBottom|AlignLeft</set>
</property>
<property name="vAlign" stdset="0">
@@ -322,7 +322,7 @@
</widget>
</grid>
</widget>
-<layoutdefaults spacing="6" margin="11"/>
+<tqlayoutdefaults spacing="6" margin="11"/>
<includehints>
<includehint>knuminput.h</includehint>
</includehints>
diff --git a/kgantt/kgantt/xQGanttBarViewPort.cpp b/kgantt/kgantt/xQGanttBarViewPort.cpp
index b0985dd7..2ee7ad02 100644
--- a/kgantt/kgantt/xQGanttBarViewPort.cpp
+++ b/kgantt/kgantt/xQGanttBarViewPort.cpp
@@ -424,7 +424,7 @@ xQGanttBarViewPort::recalc(KGanttItem* item, int xPos, int yPos,
new xQTaskPosition(nr, xPos, yPos, _screenW, _screenH, _screenHS,
_textPosX, _textPosY, depth);
- _gItemList.replace(item, tpos );
+ _gItemList.tqreplace(item, tpos );
tpos->_screenHandleX = xPos + dd;
tpos->_screenHandleW = 2 * dd;