summaryrefslogtreecommitdiffstats
path: root/kgantt/kgantt/KGanttItem.h
diff options
context:
space:
mode:
Diffstat (limited to 'kgantt/kgantt/KGanttItem.h')
-rw-r--r--kgantt/kgantt/KGanttItem.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/kgantt/kgantt/KGanttItem.h b/kgantt/kgantt/KGanttItem.h
index fb7feb04..a49c825b 100644
--- a/kgantt/kgantt/KGanttItem.h
+++ b/kgantt/kgantt/KGanttItem.h
@@ -25,9 +25,9 @@
changelog : 26 dec 2000, jh
- 09 jan 2001, jh - added signal destroyed(xQTask*)
+ 09 jan 2001, jh - added signal destroyed(xTQTask*)
- 11 jan 2001, jh changed to kde : xQTask -> KGanttItem
+ 11 jan 2001, jh changed to kde : xTQTask -> KGanttItem
*/
@@ -46,16 +46,17 @@
/// KGanttItem.
/*!
- * This class describes a item. It tqcontains dates on which the item starts and
- * ends. It also tqcontains attributes that gouverns the graphical representation
+ * This class describes a item. It contains dates on which the item starts and
+ * ends. It also contains attributes that gouverns the graphical representation
* in a gantt diagramm.
*/
//////////////////////////////////
-class KDE_EXPORT KGanttItem : public QObject
+class KDE_EXPORT KGanttItem : public TQObject
//////////////////////////////////
{
Q_OBJECT
+ TQ_OBJECT
public:
@@ -121,7 +122,7 @@ public:
// Draw handlke for opening/closing item.
DrawHandle = 16,
- /// Draw handle only if item tqcontains subitems
+ /// Draw handle only if item contains subitems
DrawHandleWSubitems = 32,
DrawAll = 255
@@ -138,7 +139,7 @@ public:
/*!
*
*/
- KGanttItem(KGanttItem* parentItem, const TQString& text,
+ KGanttItem(KGanttItem* tqparentItem, const TQString& text,
const TQDateTime& start, const TQDateTime& end);
@@ -147,7 +148,7 @@ public:
/*!
*
*/
- KGanttItem(KGanttItem* parentItem, const TQString& text,
+ KGanttItem(KGanttItem* tqparentItem, const TQString& text,
const TQDateTime& start, long durationMin);
@@ -501,7 +502,7 @@ private:
void registerItem(KGanttItem* item);
void unregisterItem(KGanttItem* item);
- void init(KGanttItem* parentItem, const TQString& text,
+ void init(KGanttItem* tqparentItem, const TQString& text,
const TQDateTime& start, const TQDateTime& end);
@@ -525,7 +526,7 @@ private:
int _height, _style, _mode;
- KGanttItem* _parentItem;
+ KGanttItem* _tqparentItem;
TQPtrList<KGanttItem> _subitems;
TQPtrList<KGanttRelation> _relations;