From 90363652674deb94cd07057428b24fcb1735dbce Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: rename the following methods: tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- konq-plugins/fsview/treemap.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'konq-plugins/fsview/treemap.h') diff --git a/konq-plugins/fsview/treemap.h b/konq-plugins/fsview/treemap.h index 8ce6aca..0aa5a9d 100644 --- a/konq-plugins/fsview/treemap.h +++ b/konq-plugins/fsview/treemap.h @@ -237,8 +237,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(); @@ -261,9 +261,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*); @@ -282,7 +282,7 @@ public: /** * Parent Item */ - TreeMapItem* tqparent() const { return _parent; } + TreeMapItem* parent() const { return _parent; } /** * Temporary rectangle used for drawing this item the last time. @@ -401,7 +401,7 @@ public: */ enum SelectionMode { Single, Multi, Extended, NoSelection }; - TreeMapWidget(TreeMapItem* base, TQWidget* tqparent=0, const char* name=0); + TreeMapWidget(TreeMapItem* base, TQWidget* parent=0, const char* name=0); ~TreeMapWidget(); /** @@ -428,7 +428,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; @@ -453,17 +453,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. */ @@ -520,12 +520,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; } -- cgit v1.2.1