diff options
Diffstat (limited to 'kdgantt/KDGanttViewItem.h')
-rw-r--r-- | kdgantt/KDGanttViewItem.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/kdgantt/KDGanttViewItem.h b/kdgantt/KDGanttViewItem.h index 80cc258d4..8c29760ae 100644 --- a/kdgantt/KDGanttViewItem.h +++ b/kdgantt/KDGanttViewItem.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. ** **********************************************************************/ @@ -55,7 +55,7 @@ class KDCanvasText; class KDCanvasPolygonItem; class KDGanttViewTaskLinkGroup; -class KDGanttViewItem : public QListViewItem +class KDGanttViewItem : public TQListViewItem { public: enum Type { Event, Task, Summary }; @@ -63,18 +63,18 @@ public: protected: KDGanttViewItem( Type type, KDGanttView* view, - const TQString& lvtext = TQString::null, - const TQString& name = TQString::null ); - KDGanttViewItem( Type type, KDGanttViewItem* parent, - const TQString& lvtext = TQString::null, - const TQString& name = TQString::null ); + const TQString& lvtext = TQString(), + const TQString& name = TQString() ); + KDGanttViewItem( Type type, KDGanttViewItem* tqparent, + const TQString& lvtext = TQString(), + const TQString& name = TQString() ); KDGanttViewItem( Type type, KDGanttView* view, KDGanttViewItem* after, - const TQString& lvtext = TQString::null, - const TQString& name = TQString::null ); - KDGanttViewItem( Type type, KDGanttViewItem* parent, + const TQString& lvtext = TQString(), + const TQString& name = TQString() ); + KDGanttViewItem( Type type, KDGanttViewItem* tqparent, KDGanttViewItem* after, - const TQString& lvtext = TQString::null, - const TQString& name = TQString::null ); + const TQString& lvtext = TQString(), + const TQString& name = TQString() ); //bool _isCalendar; bool isVisibleInGanttView; @@ -166,23 +166,23 @@ public: KDGanttViewItem* firstChild() const; KDGanttViewItem* nextSibling() const; - KDGanttViewItem* parent() const; + KDGanttViewItem* tqparent() const; KDGanttViewItem* itemAbove(); KDGanttViewItem* itemBelow( bool includeDisabled = true ); KDGanttViewItem* getChildByName( const TQString& name ); TQString name() const; - static KDGanttViewItem* find( const TQString& name ); + static KDGanttViewItem* tqfind( const TQString& name ); void createNode( TQDomDocument& doc, - TQDomElement& parentElement ); + TQDomElement& tqparentElement ); static KDGanttViewItem* createFromDomElement( KDGanttView* view, TQDomElement& element ); static KDGanttViewItem* createFromDomElement( KDGanttView* view, KDGanttViewItem* previous, TQDomElement& element ); - static KDGanttViewItem* createFromDomElement( KDGanttViewItem* parent, + static KDGanttViewItem* createFromDomElement( KDGanttViewItem* tqparent, TQDomElement& element ); - static KDGanttViewItem* createFromDomElement( KDGanttViewItem* parent, + static KDGanttViewItem* createFromDomElement( KDGanttViewItem* tqparent, KDGanttViewItem* previous, TQDomElement& element ); |