Esempio n. 1
0
 public function __construct()
 {
     parent::__construct();
     $this->connect($this, SIGNAL('testSignal()'), $this, SLOT('testSlot()'));
     $this->connect($this, SIGNAL('testSignal()'), $this, SLOT('show()'));
     $this->connect($this, SIGNAL('testSignalSignal()'), $this, SIGNAL('clicked()'));
     //		$this->connect( $this, SIGNAL('clicked()'), $this, SLOT('testSlot()') );
     //		$this->connect( $this, SIGNAL('clicked()'), $this, SLOT('toggle()') );
     $this->connect($this, SIGNAL('pressed()'), $this, SIGNAL('testSignalSignal()'));
     $this->connect($this, SIGNAL('released()'), $this, SIGNAL('pressed()'));
     $this->connect($this, SIGNAL('clicked(bool)'), $this, SLOT('setChecked(bool)'));
     $this->slotTester = "";
 }