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.h72
1 files changed, 36 insertions, 36 deletions
diff --git a/kgantt/kgantt/KGanttItem.h b/kgantt/kgantt/KGanttItem.h
index 0528e478..9971508c 100644
--- a/kgantt/kgantt/KGanttItem.h
+++ b/kgantt/kgantt/KGanttItem.h
@@ -32,11 +32,11 @@
*/
-#include <qobject.h>
-#include <qdatetime.h>
-#include <qtextstream.h>
-#include <qptrlist.h>
-#include <qpainter.h>
+#include <tqobject.h>
+#include <tqdatetime.h>
+#include <tqtextstream.h>
+#include <tqptrlist.h>
+#include <tqpainter.h>
#include <kdepimmacros.h>
@@ -138,8 +138,8 @@ public:
/*!
*
*/
- KGanttItem(KGanttItem* parentItem, const QString& text,
- const QDateTime& start, const QDateTime& end);
+ KGanttItem(KGanttItem* parentItem, const TQString& text,
+ const TQDateTime& start, const TQDateTime& end);
@@ -147,8 +147,8 @@ public:
/*!
*
*/
- KGanttItem(KGanttItem* parentItem, const QString& text,
- const QDateTime& start, long durationMin);
+ KGanttItem(KGanttItem* parentItem, const TQString& text,
+ const TQDateTime& start, long durationMin);
@@ -165,7 +165,7 @@ public:
*
*/
KGanttRelation* addRelation(KGanttItem* from, KGanttItem* to,
- const QString& text);
+ const TQString& text);
@@ -262,7 +262,7 @@ public:
/*!
*
*/
- void setBrush(const QBrush& brush);
+ void setBrush(const TQBrush& brush);
@@ -270,7 +270,7 @@ public:
/*!
*
*/
- QBrush& getBrush() {
+ TQBrush& getBrush() {
return _brush;
}
@@ -280,7 +280,7 @@ public:
/*!
*
*/
- QBrush& getSelectBrush() {
+ TQBrush& getSelectBrush() {
return _selectBrush;
}
@@ -290,7 +290,7 @@ public:
/*!
*
*/
- void setPen(const QPen& pen);
+ void setPen(const TQPen& pen);
@@ -298,7 +298,7 @@ public:
/*!
*
*/
- QPen& getPen() {
+ TQPen& getPen() {
return _pen;
}
@@ -308,7 +308,7 @@ public:
/*!
*
*/
- void setTextPen(const QPen& pen) {
+ void setTextPen(const TQPen& pen) {
_textPen = pen;
}
@@ -318,7 +318,7 @@ public:
/*!
*
*/
- QPen& getTextPen() {
+ TQPen& getTextPen() {
return _textPen;
}
@@ -328,7 +328,7 @@ public:
/*!
*
*/
- void setText(const QString& text);
+ void setText(const TQString& text);
@@ -336,7 +336,7 @@ public:
/*!
*
*/
- QString getText() { return _text; }
+ TQString getText() { return _text; }
@@ -346,7 +346,7 @@ public:
* subitems, start of the item is determined by the start of the
* earliest subitem. <br>
*/
- QDateTime getStart();
+ TQDateTime getStart();
@@ -354,7 +354,7 @@ public:
/*!
*
*/
- QDateTime getEnd();
+ TQDateTime getEnd();
@@ -362,7 +362,7 @@ public:
/*!
*
*/
- void setStart(const QDateTime& start);
+ void setStart(const TQDateTime& start);
@@ -370,7 +370,7 @@ public:
/*!
*
*/
- void setEnd(const QDateTime& end);
+ void setEnd(const TQDateTime& end);
@@ -417,7 +417,7 @@ public:
/*!
*
*/
- QPtrList<KGanttItem>& getSubItems() {
+ TQPtrList<KGanttItem>& getSubItems() {
return _subitems;
}
@@ -427,7 +427,7 @@ public:
/*!
*
*/
- QPtrList<KGanttRelation>& getRelations() {
+ TQPtrList<KGanttRelation>& getRelations() {
return _relations;
}
@@ -457,7 +457,7 @@ public:
/*!
*
*/
- static QString ChangeAsString(Change c);
+ static TQString ChangeAsString(Change c);
@@ -466,7 +466,7 @@ public:
/*!
*
*/
- void dump(QTextOStream& cout, const QString& pre);
+ void dump(TQTextOStream& cout, const TQString& pre);
signals:
@@ -501,8 +501,8 @@ private:
void registerItem(KGanttItem* item);
void unregisterItem(KGanttItem* item);
- void init(KGanttItem* parentItem, const QString& text,
- const QDateTime& start, const QDateTime& end);
+ void init(KGanttItem* parentItem, const TQString& text,
+ const TQDateTime& start, const TQDateTime& end);
// set min/max date and time according to subitems
@@ -526,21 +526,21 @@ private:
KGanttItem* _parentItem;
- QPtrList<KGanttItem> _subitems;
- QPtrList<KGanttRelation> _relations;
+ TQPtrList<KGanttItem> _subitems;
+ TQPtrList<KGanttRelation> _relations;
// start/end date.
// start must always be earlier then _minDateTime
// end must always be later then _maxDateTime
- QDateTime _start, _end, _minDateTime, _maxDateTime;
+ TQDateTime _start, _end, _minDateTime, _maxDateTime;
- QString _text;
+ TQString _text;
- QBrush _brush;
- QPen _pen, _textPen;
+ TQBrush _brush;
+ TQPen _pen, _textPen;
- static QBrush _selectBrush;
+ static TQBrush _selectBrush;
};