summaryrefslogtreecommitdiffstats
path: root/kdgantt/KDGanttViewTaskLink.h
diff options
context:
space:
mode:
Diffstat (limited to 'kdgantt/KDGanttViewTaskLink.h')
-rw-r--r--kdgantt/KDGanttViewTaskLink.h68
1 files changed, 34 insertions, 34 deletions
diff --git a/kdgantt/KDGanttViewTaskLink.h b/kdgantt/KDGanttViewTaskLink.h
index efafb50fd..40f6660f6 100644
--- a/kdgantt/KDGanttViewTaskLink.h
+++ b/kdgantt/KDGanttViewTaskLink.h
@@ -35,10 +35,10 @@
#ifndef KDGANTTVIEWTASKLINK_H
#define KDGANTTVIEWTASKLINK_H
-#include <qcolor.h>
-#include <qstring.h>
-#include <qptrlist.h>
-#include <qcanvas.h>
+#include <tqcolor.h>
+#include <tqstring.h>
+#include <tqptrlist.h>
+#include <tqcanvas.h>
#include "KDGanttViewItem.h"
class KDGanttViewTaskLinkGroup;
@@ -50,12 +50,12 @@ class KDGanttViewTaskLink
public:
enum LinkType { None, FinishStart, StartStart, FinishFinish, StartFinish };
- KDGanttViewTaskLink( QPtrList<KDGanttViewItem> from,
- QPtrList<KDGanttViewItem> to,
+ KDGanttViewTaskLink( TQPtrList<KDGanttViewItem> from,
+ TQPtrList<KDGanttViewItem> to,
LinkType type=None );
KDGanttViewTaskLink( KDGanttViewTaskLinkGroup* group,
- QPtrList<KDGanttViewItem> from,
- QPtrList<KDGanttViewItem> to,
+ TQPtrList<KDGanttViewItem> from,
+ TQPtrList<KDGanttViewItem> to,
LinkType type=None );
KDGanttViewTaskLink( KDGanttViewTaskLinkGroup* group,
KDGanttViewItem* from,
@@ -65,8 +65,8 @@ public:
KDGanttViewItem* to,
LinkType type=None );
~KDGanttViewTaskLink();
- QPtrList<KDGanttViewItem> from() const;
- QPtrList<KDGanttViewItem> to() const;
+ TQPtrList<KDGanttViewItem> from() const;
+ TQPtrList<KDGanttViewItem> to() const;
void removeItemFromList( KDGanttViewItem* );
void setVisible( bool );
@@ -78,19 +78,19 @@ public:
void setHighlight( bool highlight );
bool highlight() const;
- void setColor( const QColor& color );
- QColor color() const;
- void setHighlightColor( const QColor& color );
- QColor highlightColor() const;
+ void setColor( const TQColor& color );
+ TQColor color() const;
+ void setHighlightColor( const TQColor& color );
+ TQColor highlightColor() const;
- void setTooltipText( const QString& text );
- QString tooltipText() const;
- void setWhatsThisText( const QString& text );
- QString whatsThisText() const;
+ void setTooltipText( const TQString& text );
+ TQString tooltipText() const;
+ void setWhatsThisText( const TQString& text );
+ TQString whatsThisText() const;
- void createNode( QDomDocument& doc,
- QDomElement& parentElement );
- static KDGanttViewTaskLink* createFromDomElement( QDomElement& );
+ void createNode( TQDomDocument& doc,
+ TQDomElement& parentElement );
+ static KDGanttViewTaskLink* createFromDomElement( TQDomElement& );
int linkType();
void setLinkType(int type);
@@ -98,22 +98,22 @@ public:
private:
friend class KDGanttViewTaskLinkGroup;
friend class KDTimeTableWidget;
- QPtrList<KDGanttViewItem> fromList,toList;
- QPtrList<KDCanvasLine>* horLineList;
- QPtrList<KDCanvasLine>* verLineList;
- QPtrList<KDCanvasPolygon>* topList;
+ TQPtrList<KDGanttViewItem> fromList,toList;
+ TQPtrList<KDCanvasLine>* horLineList;
+ TQPtrList<KDCanvasLine>* verLineList;
+ TQPtrList<KDCanvasPolygon>* topList;
// also used when linkType != None
- QPtrList<KDCanvasLine>* horLineList2;
- QPtrList<KDCanvasLine>* verLineList2;
- QPtrList<KDCanvasLine>* horLineList3;
- QPtrList<KDCanvasPolygon>* topLeftList;
- QPtrList<KDCanvasPolygon>* topRightList;
+ TQPtrList<KDCanvasLine>* horLineList2;
+ TQPtrList<KDCanvasLine>* verLineList2;
+ TQPtrList<KDCanvasLine>* horLineList3;
+ TQPtrList<KDCanvasPolygon>* topLeftList;
+ TQPtrList<KDCanvasPolygon>* topRightList;
KDGanttViewTaskLinkGroup* myGroup;
bool isvisible,ishighlighted;
- QColor myColor, myColorHL;
- QString myToolTipText,myWhatsThisText;
+ TQColor myColor, myColorHL;
+ TQString myToolTipText,myWhatsThisText;
KDTimeTableWidget* myTimeTable;
void initTaskLink();
void showMe( bool );
@@ -122,8 +122,8 @@ private:
int xOffset(KDGanttViewItem *item);
LinkType myLinkType;
- static QString linkTypeToString( LinkType type );
- static LinkType stringToLinkType( const QString type );
+ static TQString linkTypeToString( LinkType type );
+ static LinkType stringToLinkType( const TQString type );
};
#endif