[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: Desktop Slideshow Settings
From:       "Aaron J. Seigo" <aseigo () kde ! org>
Date:       2010-11-30 0:07:03
Message-ID: 201011291607.10121.aseigo () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Monday, November 29, 2010, Steven Sroka wrote:
> Pic of window and buttons attached. I think it is created in image.cpp

aha. the ok/apply/cancel buttons. (this is one time when a picture was only 
worth 5 words. ;)

those are handled automatically by KConfigDialog. when the settingsChanged 
signal is emitted, Apply becomes enabled. the state is reset after Apply is 
clicked. (this is actually covered in the Plasma::Wallpaper apidox, but 
sometimes that's more like a buried treasure than a useful learning tool.)

Cancel and Ok are always there.

assuming you are wanting to do something with Apply, what you are looking for 
is probably the Image::modified() slot in image.cpp. take a look at the things 
that connect to it / call it.

or are you trying to do someting else with the buttons in that area?

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks

["signature.asc" (application/pgp-signature)]

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic