109 if parent.isValid(): |
109 if parent.isValid(): |
110 return 0 |
110 return 0 |
111 else: |
111 else: |
112 return self.__manager.sitesCount() |
112 return self.__manager.sitesCount() |
113 |
113 |
114 def columnCount(self, parent=None): # noqa: U100 |
114 def columnCount(self, parent=None): # noqa: U-100 |
115 """ |
115 """ |
116 Public method to get the number of columns of the model. |
116 Public method to get the number of columns of the model. |
117 |
117 |
118 @param parent parent index (unused) |
118 @param parent parent index (unused) |
119 @type QModelIndex |
119 @type QModelIndex |