Eloquens now on KDEREVIEW)
Jonathan Riddell
jr at jriddell.org
Thu Nov 3 12:14:47 GMT 2022
Hi Felipe, there doesn't seem to have been any movement on this for some
months, are you still interested in working on it? If it's a useful app it
can be added to KDE gear to get releases done for example.
Jonathan
On Sat, 3 Sept 2022 at 10:40, Tomaz Canabrava <tcanabrava at kde.org> wrote:
> Hello All,
>
> All discussion was resolved by Felipe in the past few weeks,
> I Assume this is done, and should be moved out of KDE Review?
>
> Best.
>
>
> On Tue, Jun 28, 2022 at 4:54 PM Felipe Kinoshita <kinofhek at gmail.com>
> wrote:
>
>> friendly ping! :)
>>
>> On Wed, Jun 22, 2022 at 5:44 PM Felipe Kinoshita <kinofhek at gmail.com>
>> wrote:
>> >
>> > > Ah! I would suggest moving the conversion into the Controller then. As
>> > > far as kcfg, your Config object and your Settings.qml are concerned
>> > > they can be proper bools, it's only in the Controller that you have
>> > > the presentation requirement that bools must be 0/1. This saves you
>> > > the two-way conversion, in the Controller you only need to convert
>> > > bool=>int and the rest of the app can treat them as proper bools.
>> >
>> > Indeed, this makes much more sense.
>> >
>> > Fixed it now!
>> >
>> > Thanks,
>> > Felipe
>> >
>> > On Wed, Jun 22, 2022 at 10:10 AM Harald Sitter <sitter at kde.org> wrote:
>> > >
>> > > On Wed, Jun 22, 2022 at 12:07 AM Felipe Kinoshita <kinofhek at gmail.com>
>> wrote:
>> > > >
>> > > > > Could you elaborate why your config.kcfg uses Ints for everything
>> when
>> > > > > you clearly want booleans (e.g. `Config.code == 1 ? true : false`)
>> > > >
>> > > > The API expects ones and zeros for its params, I chose to convert
>> them to
>> > > > booleans to make the API call easier to write and change.
>> > >
>> > > Ah! I would suggest moving the conversion into the Controller then. As
>> > > far as kcfg, your Config object and your Settings.qml are concerned
>> > > they can be proper bools, it's only in the Controller that you have
>> > > the presentation requirement that bools must be 0/1. This saves you
>> > > the two-way conversion, in the Controller you only need to convert
>> > > bool=>int and the rest of the app can treat them as proper bools.
>> > >
>> > > HS
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20221103/bbf1e948/attachment.htm>
More information about the kde-core-devel
mailing list