New hardware => new KNewsTicker!

New hardware => new KNewsTicker!

My kind employer decided to grant me a brand new ThinkPad R61 – yay! Not only does this new machine allow my to play my beloved World of Warcraft in all its graphical glory, it also made me spend most of this weekend on hacking KDE4.

I decided to use the latest Kubuntu release 7.10 and not only did it come with a nice default setup, getting KDE trunk to build on this thing was quite simple as well – I basically followed the KDE4 build instructions I found online.

My plan was to give some love to my pet project KNewsTicker by porting it to KDE4. After a while of research it turned out though that so many things changed which affect KNewsTicker:

  • Qt3 is gone, Qt4 is the new standard. In particular, the way of creating menus (like KNewsTickers context menu) changed a lot.
  • Kicker is gone, Plasma is the new standard.
  • kdepimlibs features the ‘syndication’ library, a further development of librss (which I factored out of KNT a few years ago for akregator to use). So I don’t need my own RSS parsing code at all anymore.

Given that KNewsTicker is quite small, I ended up throwing almost everything away and starting from scratch. By now, I have a KNewsTicker plasmoid which can scroll the headlines of the KDE news along. It’s still pretty rough, for example you cannot extend the list of news feeds at the moment (except by editing the configuration file by hand). In fact, the only things you can configure via the settings dialog are the font size, font color and update interval. It’s a start though!

This shows my current KDE4 desktop in a Xephyr window.