<br><br><div class="gmail_quote">On Tue, Oct 6, 2009 at 11:06 AM, Fernando Vilas <span dir="ltr"><<a href="mailto:fvilas@iname.com">fvilas@iname.com</a>></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">> On Mon, Oct 5, 2009 at 11:47 PM, Fernando Vilas <<a href="mailto:fvilas@iname.com">fvilas@iname.com</a>> wrote:<br>
> > On Monday 05 October 2009 21:35:00 Alvaro Soliverez wrote:<br>
> > > CC'ing the KMM4 mailing list.<br>
> > ><br>
> > > Fernando, you worked on the button groups lately. Anything to do with<br>
> ><br>
> > this?<br>
> ><br>
> > > Regards,<br>
> > > Alvaro<br>
> > ><br>
> > > On Mon, Oct 5, 2009 at 10:49 PM, Mike Wolfe <<a href="mailto:wolfemi1@gmail.com">wolfemi1@gmail.com</a>> wrote:<br>
> > > > All,<br>
> > > ><br>
> > > > I recently updated the SVN code on my machine and tried to build. I<br>
> ><br>
> > got<br>
> ><br>
> > > > the following errors:<br>
> > > > /kmymoney_base.dir/kbudgetvalues.o<br>
> > > > /home/wolfemi1/svn/kmymoney/kmymoney2/widgets/kbudgetvalues.cpp: In<br>
> > > > constructor<br>
> > > > ‘KBudgetValues::KBudgetValues(QWidget*)’:<br>
> > > ><br>
> > > > /home/wolfemi1/svn/kmymoney/kmymoney2/widgets/kbudgetvalues.cpp:84:<br>
> > > > error: ‘class KButtonGroup’ has no member named<br>
> > > > ‘id’<br>
> ><br>
> > [... snip similar errors ...]<br>
> ><br>
> > > > Do I need to change something?<br>
> ><br>
> > I just checked, and the docs at<br>
> ><br>
> > <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>> >tml say that the function id() was added in 4.3.<br>
<div class="im">> ><br>
> > I overlooked that last time. I will convert the KButtonGroups to<br>
> > QGroupBoxes<br>
> > with QButtonGroup attributes on the buttons. That should be more<br>
> > portable, since a lot of distros haven't upgraded to KDE 4.3 yet.<br>
><br>
> Is there a way to keep the KButtonGroups but use a different method? We had<br>
> problems with the QGroupBoxes before, because the API is very different<br>
> from the Qt3 one.<br>
><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't be surprised if it comes down to doing a QGroupBox<br>
with QButtonGroup buttons. I'll try to get something going on this tonight,<br>
since I really don'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 "It will eat your home pets and run away" stage for KMM4. <br><br>