37 s = itm.text(0) |
37 s = itm.text(0) |
38 return int(s.split('/')[0]) |
38 return int(s.split('/')[0]) |
39 |
39 |
40 def __lt__(self, other): |
40 def __lt__(self, other): |
41 """ |
41 """ |
42 Public method to check, if the item is less than the other one. |
42 Special method to check, if the item is less than the other one. |
43 |
43 |
44 @param other reference to item to compare against |
44 @param other reference to item to compare against |
45 (ProfileTreeWidgetItem) |
45 (ProfileTreeWidgetItem) |
46 @return true, if this item is less than other (boolean) |
46 @return true, if this item is less than other (boolean) |
47 """ |
47 """ |