def userJoined(self, user): qlw_additem(user, self.users, self.widgets.userlist) if self.show_join_leave_messages: self.chat_text.append("<b>%s</b> Has Joined %s" % (user, self.target), _ChatText.infoFmt)
def add(self, username): qlw_additem(str(username), self.users, self.lw, icon=QIcon(":/icons/res/16x16/actions/dialog-cancel.png"))