[bt-devel] Config system

Eeli Kaikkonen eekaikko at mail.student.oulu.fi
Thu Feb 19 08:05:59 MST 2009


Quoting Eeli Kaikkonen <eekaikko at mail.student.oulu.fi>:


>> I think the right order for me to proceed is:
>>
>> 1. Convert KActions to QActions
>> 2. Delete the KActionCollection and not replace it.
>> 3. Get back to replacing KApplication with QApplication.
>> 4. Do the About dialog.
>>
>> I don't think these tasks will be very long.
>>
>
> I guess you are right. There are difficulties with standard actions and
> KAction subclasses. For example KToolBarPopupAction needs to be
> replaced with QWidgetAction or something else. It takes a little bit
> more time than just plain KAction, but should still be straightforward.
>
> I'm eager to get BT compile under Windows, so we can leave even the
> About dialog later.

I looked at KActionCollection. It's used quite much and in many ways  
in our code, so it can't just be taken away. If we want to keep our  
code working we have to either do everything and all Action related in  
one big chunk, or replace KActionCollection with BtActionCollection  
which has more than two functions.
It must at least:
     - return an action by name
     - create a new action with certain arguments and return it
     - add an action
But the most problematic thing is that it's used to add actions to  
windows or widgets automatically. I think I have some time tonight so  
I can look into this, unless Gary is already doing something.

Now we need more communication than ever, so let's keep everyone  
informed about our current tasks.

--Eeli Kaikkonen




More information about the bt-devel mailing list