diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
commit | f008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch) | |
tree | 8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kdgantt/KDGanttViewTaskLinkGroup.h | |
parent | 1210f27b660efb7b37ff43ec68763e85a403471f (diff) | |
download | koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip |
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdgantt/KDGanttViewTaskLinkGroup.h')
-rw-r--r-- | kdgantt/KDGanttViewTaskLinkGroup.h | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/kdgantt/KDGanttViewTaskLinkGroup.h b/kdgantt/KDGanttViewTaskLinkGroup.h index 1438c03a..1b8bb613 100644 --- a/kdgantt/KDGanttViewTaskLinkGroup.h +++ b/kdgantt/KDGanttViewTaskLinkGroup.h @@ -27,8 +27,8 @@ ** licensing are not clear to you. ** ** As a special exception, permission is given to link this program - ** with any edition of Qt, and distribute the resulting executable, - ** without including the source code for Qt in the source distribution. + ** with any edition of TQt, and distribute the resulting executable, + ** without including the source code for TQt in the source distribution. ** **********************************************************************/ @@ -36,16 +36,16 @@ #define KDGANTTVIEWTASKLINKGROUP_H #include "KDGanttViewTaskLink.h" -#include <qptrlist.h> -#include <qdict.h> +#include <tqptrlist.h> +#include <tqdict.h> class KDTimeTableWidget; class KDGanttView; -class KDGanttViewTaskLinkGroup : public QObject +class KDGanttViewTaskLinkGroup : public TQObject { 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* tqfind( const TQString& name ); - void createNode( QDomDocument& doc, - QDomElement& parentElement ); - static KDGanttViewTaskLinkGroup* createFromDomElement( QDomElement& ); + void createNode( TQDomDocument& doc, + TQDomElement& tqparentElement ); + 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 |