258 command = ChangeBookmarkCommand(self, node, newUrl, False) |
261 command = ChangeBookmarkCommand(self, node, newUrl, False) |
259 self.__commands.push(command) |
262 self.__commands.push(command) |
260 |
263 |
261 def setNodeChanged(self, node): |
264 def setNodeChanged(self, node): |
262 """ |
265 """ |
263 Public method to signal changes of bookmarks other than title, URL or timestamp. |
266 Public method to signal changes of bookmarks other than title, URL |
|
267 or timestamp. |
|
268 |
|
269 @param node reference to the bookmark (BookmarkNode) |
264 """ |
270 """ |
265 self.__saveTimer.changeOccurred() |
271 self.__saveTimer.changeOccurred() |
266 |
272 |
267 def setTimestamp(self, node, timestampType, timestamp): |
273 def setTimestamp(self, node, timestampType, timestamp): |
268 """ |
274 """ |
269 Public method to set the URL of a bookmark. |
275 Public method to set the URL of a bookmark. |
270 |
276 |
271 @param node reference to the node to be changed (BookmarkNode) |
277 @param node reference to the node to be changed (BookmarkNode) |
272 @param timestampType type of the timestamp to set (BookmarkNode.TsAdded, |
278 @param timestampType type of the timestamp to set |
273 BookmarkNode.TsModified, BookmarkNode.TsVisited) |
279 (BookmarkNode.TsAdded, BookmarkNode.TsModified, |
|
280 BookmarkNode.TsVisited) |
274 @param timestamp timestamp to set (QDateTime) |
281 @param timestamp timestamp to set (QDateTime) |
275 """ |
282 """ |
276 if not self.__loaded: |
283 if not self.__loaded: |
277 return |
284 return |
278 |
285 |