diff options
Diffstat (limited to 'kdgantt/KDGanttViewTaskLinkGroup.h')
-rw-r--r-- | kdgantt/KDGanttViewTaskLinkGroup.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/kdgantt/KDGanttViewTaskLinkGroup.h b/kdgantt/KDGanttViewTaskLinkGroup.h index 2b0f31b33..b401c590f 100644 --- a/kdgantt/KDGanttViewTaskLinkGroup.h +++ b/kdgantt/KDGanttViewTaskLinkGroup.h @@ -36,8 +36,8 @@ #define KDGANTTVIEWTASKLINKGROUP_H #include "KDGanttViewTaskLink.h" -#include <qptrlist.h> -#include <qdict.h> +#include <tqptrlist.h> +#include <tqdict.h> class KDTimeTableWidget; class KDGanttView; @@ -45,7 +45,7 @@ class KDGanttView; class KDGanttViewTaskLinkGroup : public QObject { public: - KDGanttViewTaskLinkGroup( const QString& name ); + KDGanttViewTaskLinkGroup( const TQString& name ); KDGanttViewTaskLinkGroup(); ~KDGanttViewTaskLinkGroup(); void insert (KDGanttViewTaskLink*) ; @@ -57,32 +57,32 @@ 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; - static KDGanttViewTaskLinkGroup* find( const QString& name ); + static KDGanttViewTaskLinkGroup* find( const TQString& name ); - void createNode( QDomDocument& doc, - QDomElement& parentElement ); - static KDGanttViewTaskLinkGroup* createFromDomElement( QDomElement& ); + void createNode( TQDomDocument& doc, + TQDomElement& parentElement ); + static KDGanttViewTaskLinkGroup* createFromDomElement( TQDomElement& ); - void generateAndInsertName( const QString& name ); + void generateAndInsertName( const TQString& name ); private: friend class KDTimeTableWidget; friend class KDGanttViewTaskLink; bool isvisible,ishighlighted; - QColor myColor, myColorHL; - QPtrList<KDGanttViewTaskLink> myTaskLinkList; - QString _name; + TQColor myColor, myColorHL; + TQPtrList<KDGanttViewTaskLink> myTaskLinkList; + TQString _name; void insertItem(KDGanttViewTaskLink*); void removeItem (KDGanttViewTaskLink*); - static QDict<KDGanttViewTaskLinkGroup> sGroupDict; + static TQDict<KDGanttViewTaskLinkGroup> sGroupDict; }; #endif |