forked from openlp/openlp
last old signals
This commit is contained in:
parent
6066c80194
commit
d2df81141f
@ -362,8 +362,7 @@ class SlideController(DisplayController):
|
||||
self.toolbar.set_widget_visible(self.loop_list, False)
|
||||
self.toolbar.set_widget_visible(self.wide_menu, False)
|
||||
else:
|
||||
QtCore.QObject.connect(self.preview_list_widget,
|
||||
QtCore.SIGNAL(u'doubleClicked(QModelIndex)'), self.onGoLiveClick)
|
||||
self.preview_list_widget.doubleClicked.connect(self.onGoLiveClick)
|
||||
self.toolbar.set_widget_visible([u'editSong'], False)
|
||||
if self.is_live:
|
||||
self.setLiveHotkeys(self)
|
||||
@ -764,7 +763,7 @@ class SlideController(DisplayController):
|
||||
for counter in range(len(self.service_item.background_audio)):
|
||||
action = self.trackMenu.addAction(os.path.basename(self.service_item.background_audio[counter]))
|
||||
action.setData(counter)
|
||||
QtCore.QObject.connect(action, QtCore.SIGNAL(u'triggered(bool)'), self.onTrackTriggered)
|
||||
action.triggered.connect(self.onTrackTriggered)
|
||||
self.display.audio_player.repeat = Settings().value(
|
||||
self.main_window.generalSettingsSection + u'/audio repeat list')
|
||||
if Settings().value(self.main_window.generalSettingsSection + u'/audio start paused'):
|
||||
|
@ -44,10 +44,8 @@ class AuthorsForm(QtGui.QDialog, Ui_AuthorsDialog):
|
||||
QtGui.QDialog.__init__(self, parent)
|
||||
self.setupUi(self)
|
||||
self._autoDisplayName = False
|
||||
QtCore.QObject.connect(self.firstNameEdit, QtCore.SIGNAL(u'textEdited(QString)'),
|
||||
self.onFirstNameEditTextEdited)
|
||||
QtCore.QObject.connect(self.lastNameEdit, QtCore.SIGNAL(u'textEdited(QString)'),
|
||||
self.onLastNameEditTextEdited)
|
||||
self.firstNameEdit.textEdited.connect(self.onFirstNameEditTextEdited)
|
||||
self.lastNameEdit.textEdited.connect(self.onLastNameEditTextEdited)
|
||||
|
||||
def exec_(self, clear=True):
|
||||
if clear:
|
||||
|
@ -134,8 +134,7 @@ class Ui_SongMaintenanceDialog(object):
|
||||
self.dialogLayout.addWidget(self.button_box, 1, 0, 1, 2)
|
||||
self.retranslateUi(songMaintenanceDialog)
|
||||
self.stackedLayout.setCurrentIndex(0)
|
||||
QtCore.QObject.connect(self.typeListWidget, QtCore.SIGNAL(u'currentRowChanged(int)'),
|
||||
self.stackedLayout.setCurrentIndex)
|
||||
self.typeListWidget.currentRowChanged.connect(self.stackedLayout.setCurrentIndex)
|
||||
|
||||
def retranslateUi(self, songMaintenanceDialog):
|
||||
songMaintenanceDialog.setWindowTitle(SongStrings.SongMaintenance)
|
||||
|
Loading…
Reference in New Issue
Block a user