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

List:       kde-devel
Subject:    a library for qwidgets <-> kconfig binding
From:       "Roy Qu" <royqh1979 () gmail ! com>
Date:       2007-09-20 15:07:16
Message-ID: e1dda82e0709200807n4dc3741crf066c0ebf888dca4 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi, all!
I'm writing a lib to simplify the configuration management gui developments.

Using it you can do things like this:
KConfg pConfig=new KConfig(...);
KConfigBindManger manager(pConfig);

manager.bind("<default>", "useSomeFeature",&checkBox1,false);
manager.bind("section 1", "level", &intInput2, 100);
manager.bind("section 2", "url_to_someplace", &urlWidget,  "http://....");

manager.load();
....
manager.save();
.....

I use template to implement it, so it's easy to extend supporting for more
qwidgets types.

Will it be any help for kde app's development?

[Attachment #5 (text/html)]

Hi, all!<br>I&#39;m writing a lib to simplify the configuration management gui \
developments.<br><br>Using it you can do things like this:<br>KConfg pConfig=new \
KConfig(...);<br>KConfigBindManger manager(pConfig);<br><br>manager.bind \
(&quot;&lt;default&gt;&quot;, \
&quot;useSomeFeature&quot;,&amp;checkBox1,false);<br>manager.bind(&quot;section \
1&quot;, &quot;level&quot;, &amp;intInput2, 100);<br>manager.bind(&quot;section \
2&quot;, &quot;url_to_someplace&quot;, &amp;urlWidget,&nbsp; \
&quot;http://....&quot;); <br><br>manager.load();<br>....<br>manager.save(); \
<br>.....<br><br>I use template to implement it, so it&#39;s easy to extend \
supporting for more qwidgets types.<br><br>Will it be any help for kde app&#39;s \
development?<br> <br><br>



>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


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

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