Year: 2015

  • KDE at Qt World Summit

    So. KDE has landed at Qt World Summit.

    kdeboothqtws2015

    You can come and visit our booth and …

    • hear about our amazing Free Qt Addons (KDE Frameworks)
    • stories about our development tools
    • meet some of our developers
    • Talk about KDE in general
    • Or just say hi!

    KDE – 19 years of Qt Experience.

  • I accidentally the Debian menu

    So quite some time ago, I filed this. After some going back and forth, it lead to this. And finally we have a conclusion. It took only two years, but now we are there. Let’s continue make Debian rock.

  • Debconf 2015 – 7

    The other day, the main talk was “Lets encrypt”, today it was “Let’s reproduce”

  • Debconf 2015 – 6

    There is more people with blue hair at Debconf than at an average Akademy. KDE – we need to do better :)

  • Debconf 2015 – 5

    Watching people figuring out how to use a Danish cheese slicer is kind interesting. But by using enough force most people succeeding in getting a lump of cheese.

  • Debconf 2015 – 4

    “I refuse to be bound by software I cannot negotiate with” — enrico

  • Debconf 2015 – 3

    It is still an open question what the Debian Project Leader wears under their kilt.

  • Debconf 2015 – 2

    It is amazing at debconf when your Application Manager is rocking the dance floor!

  • Debconf 2015 – 1

    When greeted by Clint with one single word: “kamelÃ¥sÃ¥“, one has arrived to Debconf.

  • Getting a Q_INVOKABLE C++ function reevaluated by QML engine

    Unfortunately, with all the normal magic of QML property bindings, getting a property updated in a setup that involves return values from functions isn’t really doable, like this:

    I’m told there is a low priority feature request for a way of signalling that a function now returns a different value and all properties using it should be reevaluated.

    I have so far discovered two different workarounds for that that I will be presenting here.

    Using an extra property

    Appending an extra property to trigger the reevaluation of the function is one way of doing it.

    with the following on the C++ side:

    This is a bit more code to write and to remember to use, but it does get the job done.

    Intermediate layer
    Another way is to inject an intermediate layer, an extra object, that has the function. It can even be simplified by having a pointer to itself.

    with the following on the C++ side:

    It seems a bit simpler for the reader on the QML side, but also gets the job done.

    I am not sure which way is the best one, but the intermediate layer has a nicer feeling to it when more complicated types are involved.