Hi,
We can define our own slots, at the moment with integer or without any
arguments.
See this modification of the 6th tutorial:
class LCDRange extends QWidget
{
var $lcd;
var $slider;
var $layout;
var $slots = array("test(int)", "mySlot(int)");
function __construct(){
...
function mySlot($id){
echo "mySlot ".$id."\n";
$this->lcd->display($id);
}
function test($id){
}
...
Available in the subversion repository. I would be happy if someone could test
it.
--
Thomas
|