title: PyQt4: How do you iterate all items in a QListWidget
body: <p>Currently,  I use the following while loop in a class that inherits QtGui.QListWidget to iterate all items:</p>
  
  <pre><code>    i = 0
      while i &lt; self.count():
          item = self.item(i)
  
          i += 1
  </code></pre>
  
  <p>I was hoping I could use:</p>
  
  <pre><code>for item in self.items():
  </code></pre>
  
  <p>but the items() method wants a QMimeData object which I don't know how to construct to return all items.  Is there a cleaner approach than my while loop above?</p>