diff options
Diffstat (limited to 'kdgantt/KDGanttViewItem.cpp')
-rw-r--r-- | kdgantt/KDGanttViewItem.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kdgantt/KDGanttViewItem.cpp b/kdgantt/KDGanttViewItem.cpp index 9c9c1e98b..ba6ad3437 100644 --- a/kdgantt/KDGanttViewItem.cpp +++ b/kdgantt/KDGanttViewItem.cpp @@ -133,7 +133,7 @@ overlapping tqchildren, call \a setPriority() for the childs. Blocking of user interaction to open item: - If you want to block users to open items used as tqparents of calendar items, + If you want to block users to open items used as parents of calendar items, call \a KDGanttView::setCalendarMode( true ); Example 1, Color: @@ -182,16 +182,16 @@ KDGanttViewItem::KDGanttViewItem( Type type, KDGanttView* view, Constructs an empty Gantt item. \param type the type of the item to insert - \param tqparentItem a tqparent item under which this one goes + \param parentItem a tqparent item under which this one goes \param lvtext the text to show in the list view \param name the name by which the item can be identified. If no name is specified, a unique name will be generated */ -KDGanttViewItem::KDGanttViewItem( Type type, KDGanttViewItem* tqparentItem, +KDGanttViewItem::KDGanttViewItem( Type type, KDGanttViewItem* parentItem, const TQString& lvtext, const TQString& name ) : - TQListViewItem(tqparentItem,lvtext) + TQListViewItem(parentItem,lvtext) { initColorAndShapes(type); generateAndInsertName( name ); @@ -224,18 +224,18 @@ KDGanttViewItem::KDGanttViewItem( Type type, KDGanttView* view, Constructs an empty Gantt item. \param type the type of the item to insert - \param tqparentItem a tqparent item under which this one goes + \param parentItem a tqparent item under which this one goes \param after another item at the same level behind which this one should go \param lvtext the text to show in the list view \param name the name by which the item can be identified. If no name is specified, a unique name will be generated */ -KDGanttViewItem::KDGanttViewItem( Type type, KDGanttViewItem* tqparentItem, +KDGanttViewItem::KDGanttViewItem( Type type, KDGanttViewItem* parentItem, KDGanttViewItem* after, const TQString& lvtext, const TQString& name ) : - TQListViewItem( tqparentItem, after, lvtext ) + TQListViewItem( parentItem, after, lvtext ) { initColorAndShapes(type); generateAndInsertName( name ); @@ -1547,13 +1547,13 @@ KDGanttViewItem::Shape KDGanttViewItem::stringToShape( const TQString& string ) Creates a DOM node that describes this item. \param doc the DOM document to which the node belongs - \param tqparentElement the element into which to insert this node + \param parentElement the element into which to insert this node */ void KDGanttViewItem::createNode( TQDomDocument& doc, - TQDomElement& tqparentElement ) + TQDomElement& parentElement ) { TQDomElement itemElement = doc.createElement( "Item" ); - tqparentElement.appendChild( itemElement ); + parentElement.appendChild( itemElement ); itemElement.setAttribute( "Type", typeToString( type() ) ); KDGanttXML::createDateTimeNode( doc, itemElement, "StartTime", startTime() ); |