<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I meant:<br>
All functions are still available, even though they would not work. I would<br>
rather expect them to be greyed out or such and the systray symbol to signal<br>
something like disconnected or unavailable. And I asked if<br>
Solid::PowerControl has a property "Working" or such, so you could test for<br>
this state in your code.<br>
Better explained?</blockquote><div><br>Great thanks, I understand now. <br></div><div> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Ideally you would split the code into a core module with all the actions,<br>
views/widgets, etc. and some embedding wrappers, one for plasma and one for a<br>
systray program (me being not yet convinced by turning everything into a<br>
all-in-one-operating-system-process-reimplemeting-the-window-manager plasma).<br>
But do as you like. :) The systray is a broken concept, too.</blockquote><div><br>Well I probably will port it to plasma eventually, but I'm really busy atm, and I want to do it right, but it should get there eventually :)<br>
<br>Thanks for your help<br><br>Tom <br></div></div><br>