diff options
Diffstat (limited to 'kcachegrind/kcachegrind/treemap.h')
-rw-r--r-- | kcachegrind/kcachegrind/treemap.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kcachegrind/kcachegrind/treemap.h b/kcachegrind/kcachegrind/treemap.h index de60f40f..1604a51c 100644 --- a/kcachegrind/kcachegrind/treemap.h +++ b/kcachegrind/kcachegrind/treemap.h @@ -244,8 +244,8 @@ public: HAlternate, VAlternate, Horizontal, Vertical }; - TreeMapItem(TreeMapItem* tqparent = 0, double value = 1.0 ); - TreeMapItem(TreeMapItem* tqparent, double value, + TreeMapItem(TreeMapItem* parent = 0, double value = 1.0 ); + TreeMapItem(TreeMapItem* parent, double value, TQString text1, TQString text2 = TQString(), TQString text3 = TQString(), TQString text4 = TQString()); virtual ~TreeMapItem(); @@ -268,9 +268,9 @@ public: bool initialized(); /** - * Adds an item to a tqparent. + * Adds an item to a parent. * When no sorting is used, the item is appended (drawn at bottom). - * This is only needed if the tqparent was not already specified in the + * This is only needed if the parent was not already specified in the * construction of the item. */ void addItem(TreeMapItem*); @@ -289,7 +289,7 @@ public: /** * Parent Item */ - TreeMapItem* tqparent() const { return _parent; } + TreeMapItem* parent() const { return _parent; } /** * Temporary rectangle used for drawing this item the last time. @@ -409,7 +409,7 @@ public: enum SelectionMode { Single, Multi, Extended, NoSelection }; /* The widget becomes owner of the base item */ - TreeMapWidget(TreeMapItem* base, TQWidget* tqparent=0, const char* name=0); + TreeMapWidget(TreeMapItem* base, TQWidget* parent=0, const char* name=0); ~TreeMapWidget(); /** @@ -436,7 +436,7 @@ public: /** * Returns the item possible for selection. this returns the - * given item itself or a tqparent thereof, + * given item itself or a parent thereof, * depending on setting of maxSelectDepth(). */ TreeMapItem* possibleSelection(TreeMapItem*) const; @@ -461,17 +461,17 @@ public: /** * Clear selection of all selected items which are tqchildren of - * tqparent. When tqparent == 0, clears whole selection + * parent. When parent == 0, clears whole selection * Returns true if selection changed. */ - bool clearSelection(TreeMapItem* tqparent = 0); + bool clearSelection(TreeMapItem* parent = 0); /** * Selects or unselects items in a range. * This is needed internally for Shift-Click in Extented mode. * Range means for a hierarchical widget: * - select/unselect i1 and i2 according selected - * - search common tqparent of i1 and i2, and select/unselect the + * - search common parent of i1 and i2, and select/unselect the * range of direct tqchildren between but excluding the child * leading to i1 and the child leading to i2. */ @@ -535,12 +535,12 @@ public: * If a tqchildren value() is almost the parents sum(), * it can happen that the border to be drawn for visibilty of * nesting relations takes to much space, and the - * tqparent/child size relation can not be mapped to a correct + * parent/child size relation can not be mapped to a correct * area size relation. * * Either * (1) Ignore the incorrect drawing, or - * (2) Skip drawing of the tqparent level alltogether. + * (2) Skip drawing of the parent level alltogether. */ void setSkipIncorrectBorder(bool enable = true); bool skipIncorrectBorder() const { return _skipIncorrectBorder; } |