diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /kdgantt/KDGanttViewTaskLinkGroup.h | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 |