1 # -*- coding: utf-8 -*-
4 from PySide import QtCore
5 from PySide import QtGui
6 from PySide import QtDeclarative
9 class AlbumItem (QtCore.QObject):
11 def __init__ (self, title, artist, album_art):
12 QtCore.QObject.__init__(self)
15 self._album_art = album_art
23 def _album_art (self):
24 return self._album_art
27 def changed (self): pass
29 title = QtCore.Property (unicode, _title, notify=changed)
30 artist = QtCore.Property (unicode, _artist, notify=changed)
31 album_art = QtCore.Property (unicode, _album_art, notify=changed)