82 if parent.isValid(): |
82 if parent.isValid(): |
83 return 0 |
83 return 0 |
84 else: |
84 else: |
85 return self.__manager.hostsCount() |
85 return self.__manager.hostsCount() |
86 |
86 |
87 def columnCount(self, parent=None): |
87 def columnCount(self, parent=None): # noqa: U100 |
88 """ |
88 """ |
89 Public method to get the number of columns of the model. |
89 Public method to get the number of columns of the model. |
90 |
90 |
91 @param parent parent index (QModelIndex) (Unused) |
91 @param parent parent index (QModelIndex) (Unused) |
92 @return number of columns (integer) |
92 @return number of columns (integer) |