Behaviour of KSystemTray Quit

Hans Meine hans_meine at gmx.net
Tue Jun 18 21:28:31 BST 2002


"Henrik \(Mauritz\) Johnson" <henrik at spinbox.se> writes:
>  	}
> +	menu->connectItem(quitID,this,SLOT(reEmitQuit()));
>  	hasQuit = 1;
>      }
>  }
...
> +
> +void KSystemTray::reEmitQuit()
> +{
> +    emit quitSelected();
>  }

AFAIK you can directly
menu->connectItem(quitID,this,SIGNAL(quitSelected()));

-- 
Ciao,  /  /
      /--/
     /  / ANS




More information about the kde-core-devel mailing list