diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
commit | 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch) | |
tree | 5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /kgantt/kgantt/KGanttItem.h | |
parent | 2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff) | |
download | tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip |
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4,
however Qt3 builds are OK. Any alterations this commit makes to kdepim
behaviour under Qt3 are unintentional and should be fixed.
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kgantt/kgantt/KGanttItem.h')
-rw-r--r-- | kgantt/kgantt/KGanttItem.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/kgantt/kgantt/KGanttItem.h b/kgantt/kgantt/KGanttItem.h index fb7feb04..a49c825b 100644 --- a/kgantt/kgantt/KGanttItem.h +++ b/kgantt/kgantt/KGanttItem.h @@ -25,9 +25,9 @@ changelog : 26 dec 2000, jh - 09 jan 2001, jh - added signal destroyed(xQTask*) + 09 jan 2001, jh - added signal destroyed(xTQTask*) - 11 jan 2001, jh changed to kde : xQTask -> KGanttItem + 11 jan 2001, jh changed to kde : xTQTask -> KGanttItem */ @@ -46,16 +46,17 @@ /// KGanttItem. /*! - * This class describes a item. It tqcontains dates on which the item starts and - * ends. It also tqcontains attributes that gouverns the graphical representation + * This class describes a item. It contains dates on which the item starts and + * ends. It also contains attributes that gouverns the graphical representation * in a gantt diagramm. */ ////////////////////////////////// -class KDE_EXPORT KGanttItem : public QObject +class KDE_EXPORT KGanttItem : public TQObject ////////////////////////////////// { Q_OBJECT + TQ_OBJECT public: @@ -121,7 +122,7 @@ public: // Draw handlke for opening/closing item. DrawHandle = 16, - /// Draw handle only if item tqcontains subitems + /// Draw handle only if item contains subitems DrawHandleWSubitems = 32, DrawAll = 255 @@ -138,7 +139,7 @@ public: /*! * */ - KGanttItem(KGanttItem* parentItem, const TQString& text, + KGanttItem(KGanttItem* tqparentItem, const TQString& text, const TQDateTime& start, const TQDateTime& end); @@ -147,7 +148,7 @@ public: /*! * */ - KGanttItem(KGanttItem* parentItem, const TQString& text, + KGanttItem(KGanttItem* tqparentItem, const TQString& text, const TQDateTime& start, long durationMin); @@ -501,7 +502,7 @@ private: void registerItem(KGanttItem* item); void unregisterItem(KGanttItem* item); - void init(KGanttItem* parentItem, const TQString& text, + void init(KGanttItem* tqparentItem, const TQString& text, const TQDateTime& start, const TQDateTime& end); @@ -525,7 +526,7 @@ private: int _height, _style, _mode; - KGanttItem* _parentItem; + KGanttItem* _tqparentItem; TQPtrList<KGanttItem> _subitems; TQPtrList<KGanttRelation> _relations; |