Skip to content

Commit

Permalink
Signal -> pyqtSignal
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielelanaro committed Jan 5, 2015
1 parent 9d8e0aa commit ba38eaf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion chemlab/graphics/qchemlabwidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class QChemlabWidget(QGLWidget):
'''

clicked = QtCore.Signal(object)
clicked = QtCore.pyqtSignal(object)

def __init__(self, *args, **kwargs):
super(QChemlabWidget, self).__init__(*args, **kwargs)
Expand Down
12 changes: 6 additions & 6 deletions chemlab/graphics/qttrajectory.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@

class PlayStopButton(QtGui.QPushButton):

play = QtCore.Signal()
pause = QtCore.Signal()
play = QtCore.pyqtSignal()
pause = QtCore.pyqtSignal()

def __init__(self):
css = '''
Expand Down Expand Up @@ -93,11 +93,11 @@ def __pixelPosToRangeValue(self, pos):
opt.upsideDown)

class TrajectoryControls(QtGui.QWidget):
play = QtCore.Signal()
pause = QtCore.Signal()
play = QtCore.pyqtSignal()
pause = QtCore.pyqtSignal()

frame_changed = QtCore.Signal(int)
speed_changed = QtCore.Signal()
frame_changed = QtCore.pyqtSignal(int)
speed_changed = QtCore.pyqtSignal()

def __init__(self, parent=None):
super(TrajectoryControls, self).__init__(parent)
Expand Down

0 comments on commit ba38eaf

Please sign in to comment.