src/eric7/WebBrowser/UserAgent/UserAgentModel.py

branch
eric7
changeset 10069
435cc5875135
parent 9653
e67609152c5e
child 10436
f6881d10e995
equal deleted inserted replaced
10068:7febcdccb2a1 10069:435cc5875135
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)

eric ide

mercurial