diff options
author | Anton Khirnov <wyskas@gmail.com> | 2010-08-28 07:28:49 +0200 |
---|---|---|
committer | Anton Khirnov <wyskas@gmail.com> | 2010-08-29 12:45:32 +0200 |
commit | 17f4307fa40411b070b37ea69b6daf749db6afcf (patch) | |
tree | ca0fac38e8733045d2d930db395cccc805c545b7 /nephilim/plugins/AlbumCover.py | |
parent | 5b726224bbd8ea0bd9b4d3c06213f01c2a225680 (diff) |
import pyqtSignal as Signal, for easier future compatibility with PySide
Diffstat (limited to 'nephilim/plugins/AlbumCover.py')
-rw-r--r-- | nephilim/plugins/AlbumCover.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nephilim/plugins/AlbumCover.py b/nephilim/plugins/AlbumCover.py index c700f17..8a26bc8 100644 --- a/nephilim/plugins/AlbumCover.py +++ b/nephilim/plugins/AlbumCover.py @@ -16,6 +16,7 @@ # from PyQt4 import QtGui, QtCore, QtNetwork +from PyQt4.QtCore import pyqtSignal as Signal import os @@ -116,7 +117,7 @@ class AlbumCover(Plugin): __cover_path = None # SIGNALS - cover_changed = QtCore.pyqtSignal(QtGui.QPixmap) + cover_changed = Signal(QtGui.QPixmap) #### private #### def __init__(self, parent, mpclient, name): @@ -370,7 +371,7 @@ class FetcherLocal(QtCore.QObject): settings = None # SIGNALS - finished = QtCore.pyqtSignal('song', 'metadata') + finished = Signal('song', 'metadata') def __init__(self, plugin): QtCore.QObject.__init__(self, plugin) |