<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>Sorry for the late reply, I just switched to KDE 4.6 Beta 1 and it took some time to get stable and fast enough to set up the development dependancies. I'm try to prevent the slideshow wallpaper from changing everytime a user clicks 'OK' after clicking 'Apply'.<br><br>I'm assuming the settingsChanged() signal is emitted twice, once by 'Apply' and once by 'OK'. Is there anyway to stop the signal from emitting from the 'OK' button if the settings aren't changed (because the 'Apply' button has already emitted the signal and done all the necessary work)?<br><br><br>From&#58; aseigo&#64;kde.org<br>To&#58; plasma-devel&#64;kde.org<br>Subject&#58; Re&#58; Desktop Slideshow Settings<br>Date&#58; Mon, 29 Nov 2010 16&#58;07&#58;03 -0800<br><br><pre>On Monday, November 29, 2010, Steven Sroka wrote&#58;<br>&#62; Pic of window and buttons attached. I think it is created in image.cpp<br> <br>aha. the ok&#47;apply&#47;cancel buttons. &#40;this is one time when a picture was only <br>worth 5 words. &#59;&#41;<br> <br>those are handled automatically by KConfigDialog. when the settingsChanged <br>signal is emitted, Apply becomes enabled. the state is reset after Apply is <br>clicked. &#40;this is actually covered in the Plasma&#58;&#58;Wallpaper apidox, but <br>sometimes that&#39;s more like a buried treasure than a useful learning tool.&#41;<br> <br>Cancel and Ok are always there.<br> <br>assuming you are wanting to do something with Apply, what you are looking for <br>is probably the Image&#58;&#58;modified&#40;&#41; slot in image.cpp. take a look at the things <br>that connect to it &#47; call it.<br> <br>or are you trying to do someting else with the buttons in that area&#63;<br> <br>-- <br>Aaron J. Seigo<br>humru othro a kohnu se<br>GPG Fingerprint&#58; 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43<br> <br>KDE core developer sponsored by Qt Development Frameworks<br></pre><br>_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https&#58;//mail.kde.org/mailman/listinfo/plasma-devel                                               </body>
</html>