<br><br><div class="gmail_quote">On Tue, Oct 6, 2009 at 11:06 AM, Fernando Vilas <span dir="ltr">&lt;<a href="mailto:fvilas@iname.com">fvilas@iname.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Monday 05 October 2009 22:22:15 Alvaro Soliverez wrote:<br>
</div><div class="im">&gt; On Mon, Oct 5, 2009 at 11:47 PM, Fernando Vilas &lt;<a href="mailto:fvilas@iname.com">fvilas@iname.com</a>&gt; wrote:<br>
&gt; &gt; On Monday 05 October 2009 21:35:00 Alvaro Soliverez wrote:<br>
&gt; &gt; &gt; CC&#39;ing the KMM4 mailing list.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Fernando, you worked on the button groups lately. Anything to do with<br>
&gt; &gt;<br>
&gt; &gt; this?<br>
&gt; &gt;<br>
&gt; &gt; &gt; Regards,<br>
&gt; &gt; &gt; Alvaro<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; On Mon, Oct 5, 2009 at 10:49 PM, Mike Wolfe &lt;<a href="mailto:wolfemi1@gmail.com">wolfemi1@gmail.com</a>&gt; wrote:<br>
&gt; &gt; &gt; &gt; All,<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; I recently updated the SVN code on my machine and tried to build.  I<br>
&gt; &gt;<br>
&gt; &gt; got<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; the following errors:<br>
&gt; &gt; &gt; &gt; /kmymoney_base.dir/kbudgetvalues.o<br>
&gt; &gt; &gt; &gt; /home/wolfemi1/svn/kmymoney/kmymoney2/widgets/kbudgetvalues.cpp: In<br>
&gt; &gt; &gt; &gt; constructor<br>
&gt; &gt; &gt; &gt; ‘KBudgetValues::KBudgetValues(QWidget*)’:<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; /home/wolfemi1/svn/kmymoney/kmymoney2/widgets/kbudgetvalues.cpp:84:<br>
&gt; &gt; &gt; &gt; error: ‘class KButtonGroup’ has no member named<br>
&gt; &gt; &gt; &gt; ‘id’<br>
&gt; &gt;<br>
&gt; &gt; [... snip similar errors ...]<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; Do I need to change something?<br>
&gt; &gt;<br>
&gt; &gt; I just checked, and the docs at<br>
&gt; &gt;<br>
&gt; &gt; <a href="http://api.kde.org/4.x-api/kdelibs-apidocs/kdeui/html/classKButtonGroup.h" target="_blank">http://api.kde.org/4.x-api/kdelibs-apidocs/kdeui/html/classKButtonGroup.h</a><br>
</div>&gt; &gt;tml say that the function id() was added in 4.3.<br>
<div class="im">&gt; &gt;<br>
&gt; &gt; I overlooked that last time.  I will convert the KButtonGroups to<br>
&gt; &gt; QGroupBoxes<br>
&gt; &gt; with QButtonGroup attributes on the buttons.  That should be more<br>
&gt; &gt; portable, since a lot of distros haven&#39;t upgraded to KDE 4.3 yet.<br>
&gt;<br>
&gt; Is there a way to keep the KButtonGroups but use a different method? We had<br>
&gt; problems with the QGroupBoxes before, because the API is very different<br>
&gt;  from the Qt3 one.<br>
&gt;<br>
<br>
</div>After sleeping on this, I realized that KButtonGroup derives from QGroupBox,<br>
so we have to deal with the API change regardless.  I would still like to do<br>
something simple, but don&#39;t be surprised if it comes down to doing a QGroupBox<br>
with QButtonGroup buttons.  I&#39;ll try to get something going on this tonight,<br>
since I really don&#39;t like having code in SVN that only compiles for some<br>
users.<br>
<font color="#888888"></font><br></blockquote></div><br>We have not settled on the KDE version required for KMM4, and KDE 4.3 is the one I see as being user-ready. 4.2 was close to that, but still buggy, so most distributions will go for 4.3 in the short term. Also, the next releases for Fedora, Kubuntu and Mandriva are just a month or so away, so it is not such a terrible thing.<br>
<br>So, from my point of view, if it involves too much work to fix it for pre-4.3 users, leave it that. We are still at the &quot;It will eat your home pets and run away&quot; stage for KMM4. <br><br>