Changeset 2675

Show
Ignore:
Timestamp:
03/11/17 03:12:01 (7 years ago)
Author:
jwoithe
Message:

globalmixer.py: use pyqtSlot (from the new-style PyQt? signal API) in preference to pyqtSignature, for consistency with the use of the new style signal API elsewhere.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libffado/support/mixer-qt4/ffado/mixer/globalmixer.py

    r2473 r2675  
    2222# 
    2323 
    24 from PyQt4.QtCore import QObject, pyqtSignature 
     24from PyQt4.QtCore import QObject, pyqtSlot 
    2525from PyQt4.QtGui import QWidget, QMessageBox 
    2626from ffado.config import * 
     
    4242            self.lblName.hide() 
    4343 
    44     @pyqtSignature("int"
     44    @pyqtSlot(int
    4545    def on_clocksource_activated( self, clock ): 
    4646        #log.debug("updateClockSource( " + str(clock) + " )") 
     
    6464            self.clocksource.setCurrentIndex( selected ) 
    6565 
    66     @pyqtSignature("int"
     66    @pyqtSlot(int
    6767    def on_samplerate_activated( self, sr ): 
    6868        log.debug("on_samplerate_activated( " + str(sr) + " )") 
     
    9292            self.samplerate.setCurrentIndex( selected ) 
    9393 
    94     @pyqtSignature(""
     94    @pyqtSlot(
    9595    def on_txtNickname_returnPressed( self ): 
    9696        if self.nickname.canChangeValue():