MCPcopy Index your code
hub / github.com/Bitmessage/PyBitmessage / addMessageListItem

Method addMessageListItem

src/bitmessageqt/__init__.py:1010–1018  ·  view source on GitHub ↗
(self, tableWidget, items)

Source from the content-addressed store, hash-verified

1008 folderItem.setUnreadCount(newCount)
1009
1010 def addMessageListItem(self, tableWidget, items):
1011 sortingEnabled = tableWidget.isSortingEnabled()
1012 if sortingEnabled:
1013 tableWidget.setSortingEnabled(False)
1014 tableWidget.insertRow(0)
1015 for i in range(len(items)):
1016 tableWidget.setItem(0, i, items[i])
1017 if sortingEnabled:
1018 tableWidget.setSortingEnabled(True)
1019
1020 def addMessageListItemSent(self, tableWidget, toAddress, fromAddress, subject, status, ackdata, lastactiontime):
1021 acct = accountClass(fromAddress)

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected