Debugger/WatchPointModel.py

branch
Py2 comp.
changeset 3057
10516539f238
parent 2525
8b507a9a2d40
parent 2988
f53c03574697
child 3058
0a02c433f52d
diff -r 9986ec0e559a -r 10516539f238 Debugger/WatchPointModel.py
--- a/Debugger/WatchPointModel.py	Tue Oct 15 22:03:54 2013 +0200
+++ b/Debugger/WatchPointModel.py	Fri Oct 18 23:00:41 2013 +0200
@@ -22,7 +22,7 @@
         """
         Constructor
         
-        @param reference to the parent widget (QObject)
+        @param parent reference to the parent widget (QObject)
         """
         super(WatchPointModel, self).__init__(parent)
         
@@ -45,6 +45,7 @@
         """
         Public method to get the current column count.
         
+        @param parent index of the parent item (QModelIndex)
         @return column count (integer)
         """
         return len(self.header)
@@ -53,6 +54,7 @@
         """
         Public method to get the current row count.
         
+        @param parent index of the parent item (QModelIndex)
         @return row count (integer)
         """
         # we do not have a tree, parent should always be invalid
@@ -156,7 +158,7 @@
         else:
             return False
     
-    ############################################################################
+    ###########################################################################
     
     def addWatchPoint(self, cond, special, properties):
         """
@@ -165,7 +167,8 @@
         @param cond expression of the watch expression (string)
         @param special special condition of the watch expression (string)
         @param properties properties of the watch expression
-            (tuple of temporary flag (bool), enabled flag (bool), ignore count (integer))
+            (tuple of temporary flag (bool), enabled flag (bool),
+            ignore count (integer))
         """
         wp = [cond, special] + list(properties)
         cnt = len(self.watchpoints)
@@ -181,7 +184,8 @@
         @param cond expression of the watch expression (string)
         @param special special condition of the watch expression (string)
         @param properties properties of the watch expression
-            (tuple of temporary flag (bool), enabled flag (bool), ignore count (integer))
+            (tuple of temporary flag (bool), enabled flag (bool),
+            ignore count (integer))
         """
         if index.isValid():
             row = index.row()
@@ -197,7 +201,8 @@
 
     def setWatchPointEnabledByIndex(self, index, enabled):
         """
-        Public method to set the enabled state of a watch expression given by index.
+        Public method to set the enabled state of a watch expression given by
+        index.
         
         @param index index of the watch expression (QModelIndex)
         @param enabled flag giving the enabled state (boolean)
@@ -224,7 +229,8 @@
 
     def deleteWatchPoints(self, idxList):
         """
-        Public method to delete a list of watch expressions given by their indexes.
+        Public method to delete a list of watch expressions given by their
+        indexes.
         
         @param idxList list of watch expression indexes (list of QModelIndex)
         """
@@ -252,8 +258,9 @@
         Public method to get the values of a watch expression given by index.
         
         @param index index of the watch expression (QModelIndex)
-        @return watch expression (list of six values (expression, special condition,
-            temporary flag, enabled flag, ignore count, index))
+        @return watch expression (list of six values (expression,
+            special condition, temporary flag, enabled flag, ignore count,
+            index))
         """
         if index.isValid():
             return self.watchpoints[index.row()][:]  # return a copy
@@ -262,7 +269,8 @@
 
     def getWatchPointIndex(self, cond, special=""):
         """
-        Public method to get the index of a watch expression given by expression.
+        Public method to get the index of a watch expression given by
+        expression.
         
         @param cond expression of the watch expression (string)
         @param special special condition of the watch expression (string)

eric ide

mercurial