Commit 017c9039 authored by Dan Pascu's avatar Dan Pascu

Removed unused methods

parent ca0a3d22
......@@ -494,12 +494,6 @@ class ContactModel(QAbstractListModel):
def _DH_TextUriList(self, mime_data, action, index):
return False
@staticmethod
def item_mime_data_iterator(data):
stream = QDataStream(data)
while not stream.atEnd():
yield stream.readInt32(), stream.readQVariant().toPyObject()
@staticmethod
def range_iterator(indexes):
"""Return contiguous ranges from indexes"""
......@@ -669,12 +663,6 @@ class ContactSearchModel(QSortFilterProxyModel):
def _DH_TextUriList(self, mime_data, action, index):
return False
@staticmethod
def item_mime_data_iterator(data):
stream = QDataStream(data)
while not stream.atEnd():
yield stream.readInt32(), stream.readQVariant().toPyObject()
def filterAcceptsRow(self, source_row, source_parent):
source_model = self.sourceModel()
source_index = source_model.index(source_row, 0, source_parent)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment