This forum has been archived. All content is frozen. Please use KDE Discuss instead.

No settings saved - maybe a slotproblem?!

Tags: None
(comma "," separated)
weltio
Registered Member
Posts
25
Karma
0
OS
Hello

I want to create a plasmoid similar to digital clock (https://projects.kde.org/projects/kde/k ... ital-clock).

But because I dont need it to be a ClockApplet I have changed it to Applet.
Since then the settings I change in its configuration menu are not saved (means: I click "Bold", but the Plasmoids font doesnt get bold - same with every other option)
So I guess its related to the change of the parent class.
In fact I think I change a method's name to something which doesnt override another thing and so its a polymorphic problem xD
But because I'm new to c++ its difficult to figure out.
Maybe you can help me :)

My code:
http://pastebin.com/kUsniyx9


ps: I also appreciate tips related to sense or nonsense of my code :)

edit: just forgot to call "configAccepted()" when "isUserConfiguring()"


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot]