32 Special method implementing the equality operator. |
32 Special method implementing the equality operator. |
33 |
33 |
34 @param other reference to the object to compare against (ClosedTab) |
34 @param other reference to the object to compare against (ClosedTab) |
35 @return flag indicating equality of the tabs (boolean) |
35 @return flag indicating equality of the tabs (boolean) |
36 """ |
36 """ |
37 return self.url == other.url and \ |
37 return ( |
38 self.title == other.title and \ |
38 self.url == other.url and |
|
39 self.title == other.title and |
39 self.position == other.position |
40 self.position == other.position |
|
41 ) |
40 |
42 |
41 |
43 |
42 class ClosedTabsManager(QObject): |
44 class ClosedTabsManager(QObject): |
43 """ |
45 """ |
44 Class implementing a manager for closed tabs. |
46 Class implementing a manager for closed tabs. |