129 |
129 |
130 self.connect(self, SIGNAL("clientClearBreak"), self.__clientClearBreakPoint) |
130 self.connect(self, SIGNAL("clientClearBreak"), self.__clientClearBreakPoint) |
131 self.connect(self, SIGNAL("clientClearWatch"), self.__clientClearWatchPoint) |
131 self.connect(self, SIGNAL("clientClearWatch"), self.__clientClearWatchPoint) |
132 self.connect(self, SIGNAL("newConnection()"), self.__newConnection) |
132 self.connect(self, SIGNAL("newConnection()"), self.__newConnection) |
133 |
133 |
134 self.connect(self.breakpointModel, |
134 self.breakpointModel.rowsAboutToBeRemoved.connect(self.__deleteBreakPoints) |
135 SIGNAL("rowsAboutToBeRemoved(const QModelIndex &, int, int)"), |
135 self.breakpointModel.dataAboutToBeChanged.connect( |
136 self.__deleteBreakPoints) |
|
137 self.connect(self.breakpointModel, |
|
138 SIGNAL("dataAboutToBeChanged(const QModelIndex &, const QModelIndex &)"), |
|
139 self.__breakPointDataAboutToBeChanged) |
136 self.__breakPointDataAboutToBeChanged) |
140 self.connect(self.breakpointModel, |
137 self.breakpointModel.dataChanged.connect(self.__changeBreakPoints) |
141 SIGNAL("dataChanged(const QModelIndex &, const QModelIndex &)"), |
138 self.breakpointModel.rowsInserted.connect(self.__addBreakPoints) |
142 self.__changeBreakPoints) |
139 |
143 self.connect(self.breakpointModel, |
140 self.watchpointModel.rowsAboutToBeRemoved.connect(self.__deleteWatchPoints) |
144 SIGNAL("rowsInserted(const QModelIndex &, int, int)"), |
141 self.watchpointModel.dataAboutToBeChanged.connect( |
145 self.__addBreakPoints) |
|
146 |
|
147 self.connect(self.watchpointModel, |
|
148 SIGNAL("rowsAboutToBeRemoved(const QModelIndex &, int, int)"), |
|
149 self.__deleteWatchPoints) |
|
150 self.connect(self.watchpointModel, |
|
151 SIGNAL("dataAboutToBeChanged(const QModelIndex &, const QModelIndex &)"), |
|
152 self.__watchPointDataAboutToBeChanged) |
142 self.__watchPointDataAboutToBeChanged) |
153 self.connect(self.watchpointModel, |
143 self.watchpointModel.dataChanged.connect(self.__changeWatchPoints) |
154 SIGNAL("dataChanged(const QModelIndex &, const QModelIndex &)"), |
144 self.watchpointModel.rowsInserted.connect(self.__addWatchPoints) |
155 self.__changeWatchPoints) |
|
156 self.connect(self.watchpointModel, |
|
157 SIGNAL("rowsInserted(const QModelIndex &, int, int)"), |
|
158 self.__addWatchPoints) |
|
159 |
145 |
160 self.__registerDebuggerInterfaces() |
146 self.__registerDebuggerInterfaces() |
161 |
147 |
162 def getHostAddress(self, localhost): |
148 def getHostAddress(self, localhost): |
163 """ |
149 """ |