it wasn't what i intended to work on today, but i ended up taking up where olivier goffart had left off last week rearranging the files in libkdecore. a few items moved into kdeui, mostly little bits of utility code that don't even get installed (exception: fixx11h.h, which i think is the header with more repeated letters in it than any other =). the classes are all in their little homes.
there are a few classes in there that we need to get rid of or at least limit the use of: kstringhandler, kidn and kstaticdeleter.
kstringhandler has a bunch of static methods that are useful for manipulation strings, but many of them are now provided for by qstring quite nicely. some aren't. we need to pick through these methods and figure out which is which and then removed the few dozen places they are each used. finally changing it from a class to a namespace and we'll be all good.
kidn was used to translate international domain names to strings and vice versa. well, qurl does all of that for us. in particular the QUrl::fromAce and QUrl::toAce static methods can be used to replace pretty much all remaining uses of kidn we have.
kstaticdeleter should be abandoned due to qt providing a couple of useful macros: Q_GLOBAL_STATIC and Q_GLOBAL_STATIC_WITH_ARGS. these macros are thread safe and will let us limit our public api exposure in libkdecore.
the above would make nice slightly-above-beginner-but-not-quite-intermediate jobs for people to sink their coding teeth into. let me know if you're interested in taking on any of these items.
i also got good news the other day regarding dbus adaptors in qt 4.3: it will be possible to access the dbus message and connection that called a slot in a class (as well as tell if the slot was called via dbus) in much the same way qscriptable, part of the spanky new qscript stuff, does. why is this good news? it means that we can now avoid most reasons to hand-edit dbus adaptors. yay! thiago said he'll also be backporting this qt-copy so i can start using it sooner, in specific to replace the dcop transaction based code in the screensaver/locking code with delayed dbus responses.
right now i'm watching kdelibs compile as i'm about to tear into a veg platter from the falafel king down the street. i was talking to seele earlier about the human interface guidelines and toolbars and we got talking about food ... and then fallafels. and then other med food. and ... i just had to have some. damn you seele! damn you fallafel balls for being so good! damn you! =)
Tuesday, January 16, 2007
Subscribe to:
Post Comments (Atom)

2 comments:
Online Credit History-535
Online Credit History-536
Online Credit History-537
Online Credit History-538
Online Credit History-539
Online Credit History-540
Online Credit History-541
Online Credit History-542
Online Credit History-543
Online Credit History-544
Online Credit History-545
Online Credit History-546
Online Credit History-547
Online Credit History-548
Online Credit History-549
Online Credit History-550
Online Credit History-551
Online Credit History-552
Online Credit History-553
Online Credit History-554
Online Credit History-555
Online Credit History-556
Online Credit History-557
Online Credit History-558
Online Credit History-559
Online Credit History-560
Online Credit History-561
Online Credit History-562
Online Credit History-563
Online Credit History-564
Online Credit History-565
Online Credit History-566
Online Credit History-567
Online Credit History-697
Online Credit History-698
Online Credit History-699
Online Credit History-700
Online Credit History-701
Online Credit History-702
Online Credit History-703
Online Credit History-704
Online Credit History-705
Online Credit History-706
Online Credit History-707
Online Credit History-708
Online Credit History-709
Online Credit History-710
Online Credit History-711
Online Credit History-712
Online Credit History-713
Online Credit History-714
Online Credit History-715
Online Credit History-716
Online Credit History-717
Online Credit History-718
Online Credit History-719
Online Credit History-720
Online Credit History-721
Online Credit History-722
Online Credit History-723
Online Credit History-724
Online Credit History-725
Online Credit History-726
Online Credit History-727
Online Credit History-728
Online Credit History-729
Online Credit History-730
Post a Comment