forked from openlp/openlp
changed constructors
This commit is contained in:
parent
3409c491fe
commit
13c9a69de1
@ -53,7 +53,7 @@ class MediaSlider(QtGui.QSlider):
|
|||||||
"""
|
"""
|
||||||
Constructor
|
Constructor
|
||||||
"""
|
"""
|
||||||
QtGui.QSlider.__init__(self, direction)
|
super(MediaSlider, self).__init__(direction)
|
||||||
self.manager = manager
|
self.manager = manager
|
||||||
self.controller = controller
|
self.controller = controller
|
||||||
|
|
||||||
|
@ -87,7 +87,7 @@ class PhononPlayer(MediaPlayer):
|
|||||||
"""
|
"""
|
||||||
Constructor
|
Constructor
|
||||||
"""
|
"""
|
||||||
MediaPlayer.__init__(self, parent, u'phonon')
|
super(PhononPlayer, self).__init__(parent, u'phonon')
|
||||||
self.original_name = u'Phonon'
|
self.original_name = u'Phonon'
|
||||||
self.display_name = u'&Phonon'
|
self.display_name = u'&Phonon'
|
||||||
self.parent = parent
|
self.parent = parent
|
||||||
|
@ -41,7 +41,7 @@ class SplashScreen(QtGui.QSplashScreen):
|
|||||||
"""
|
"""
|
||||||
Constructor
|
Constructor
|
||||||
"""
|
"""
|
||||||
QtGui.QSplashScreen.__init__(self)
|
super(SplashScreen, self).__init__()
|
||||||
self.setupUi()
|
self.setupUi()
|
||||||
|
|
||||||
def setupUi(self):
|
def setupUi(self):
|
||||||
|
@ -58,7 +58,7 @@ class ThemeForm(QtGui.QWizard, Ui_ThemeWizard):
|
|||||||
``parent``
|
``parent``
|
||||||
The QWidget-derived parent of the wizard.
|
The QWidget-derived parent of the wizard.
|
||||||
"""
|
"""
|
||||||
QtGui.QWizard.__init__(self, parent)
|
super(ThemeForm, self).__init__(parent)
|
||||||
self.setupUi(self)
|
self.setupUi(self)
|
||||||
self.registerFields()
|
self.registerFields()
|
||||||
self.updateThemeAllowed = True
|
self.updateThemeAllowed = True
|
||||||
|
@ -42,7 +42,7 @@ class ThemeLayoutForm(QtGui.QDialog, Ui_ThemeLayoutDialog):
|
|||||||
"""
|
"""
|
||||||
Constructor
|
Constructor
|
||||||
"""
|
"""
|
||||||
QtGui.QDialog.__init__(self, parent)
|
super(ThemeLayoutForm, self).__init__(parent)
|
||||||
self.setupUi(self)
|
self.setupUi(self)
|
||||||
|
|
||||||
def exec_(self, image):
|
def exec_(self, image):
|
||||||
|
Loading…
Reference in New Issue
Block a user