MCPcopy
hub / github.com/tonquer/JMComic-qt / SendComment

Method SendComment

src/component/widget/comment_widget.py:115–121  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

113 Log.Error(es)
114
115 def SendComment(self):
116 data = self.commentLine.text()
117 if not data:
118 return
119 self.commentLine.setText("")
120 QtOwner().ShowLoading()
121 self.AddHttpTask(req.SendCommentReq2(self.bookId, data, self.cid), callBack=self.SendCommentBack)
122
123 def SendCommentBack(self, raw):
124 try:

Callers

nothing calls this directly

Calls 5

QtOwnerClass · 0.90
textMethod · 0.80
setTextMethod · 0.80
ShowLoadingMethod · 0.45
AddHttpTaskMethod · 0.45

Tested by

no test coverage detected