Grub Customizer KDE port?

Asked by Anatoly Burakov on 2011-07-31

How much is the GUI coupled with the working code? Is it feasible to start a Qt/KDE port of this utility? It remains the only program with GTK dependencies on my desktop...

Question information

Language:
English Edit question
Status:
Answered
For:
Grub Customizer Edit question
Assignee:
No assignee Edit question
Last query:
2011-07-31
Last reply:
2011-09-14

Yes. I separated the code as follows

 * presenter
 * bootstrap (the main function, placed inside the /presenter directory)
 * model
 * view
 * interfaces

The presenter controls view and model. both, model and view are set from the main function before running it. As the whole view is based on interfaces (the presenter only knows interfaces), it's possible to re-implement them with Qt and assign them instead of the gtk classes. There are still some Gtk::Main::quit() calls inside the presenter :-( - they have to be replaced too.

In version 2.2 I did some cleanups. Now the presenter is completely gtk free, I moved the stuff to a seperate threading lib which depends on glib/gtk. So you only have to write your own ThreadController which depends on Qt threading instead of glib threading.

Can you help with this problem?

Provide an answer of your own, or ask Anatoly Burakov for more information if necessary.

To post a message you must log in.