Continuing in Aurelien Gateau‘s release month, where I recently joined in with Kookbook, I’m now also following up with Kolorfill, an app I also described in the past. It is a simple flood filling game written using the amazing Kirigami…
Continuing in Aurelien Gateau‘s release month, where I recently joined in with Kookbook, I’m now also following up with Kolorfill, an app I also described in the past. It is a simple flood filling game written using the amazing Kirigami…
Release Time A little while ago, I blogged about an application I was writing for my cooking recipes. I have now gotten to a point where I will declare it version 0.1. The release can be found on a KDE…
So, it has been a busy week of Qt and KDE hacking in the beautiful city of Vienna. Besides getting quite some of the Viennese staple food, schnitzel, it was an interesting adventure of getting smarter. Getting smarter about making…
I was invited by my boss to a dinner. He uses exchange or outlook365 or something like that. The KMail TNEF parser didn’t succeed in parsing all the info, so I’m kind of trying to fix it. But I need…
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
Item { property string text; Text { ... } MouseArea { onClicked: { if (parent.text === "Quit") { Qt.quit() } else if (parent.text === "Start") { globalObject.start() } else if (parent.text === "Stop") { globalObject.stop() } } } } |
I don’t always understand why people do things in some ways.
Once again, I got surprised by the 80 bit x87 FPU stuff. First time was around a decade ago. Back then, it was something along the lines of a sort function like:
1 2 3 4 5 6 7 8 9 |
struct ValueSorter() { bool operator (const Value& first, const Value& second) const { double valueFirst = first.amount() * first.value(); double valueSecond = second.amount() * second.value(); return valueFirst < valueSecond; } } |
With some values, first and would be…
I found this construct some time ago. It took some reading to understand why it worked. I’m still not sure if it is actually legal, or just works only because m_derivedData is not accessed in Base::Base.
1 2 3 4 5 6 7 8 9 10 11 |
struct Base { std::string& m_derivedData; Base(std::string& data) : m_derivedData(data) { } }; struct Derived : public Base { std::string m_data; struct Derived() : Base(m_data), m_data("foo") { } }; |
Last time, I was doing a recipe manager. This time I’ve been doing a game with javascript and QtQuick, and for the first time dipping my feet into the Kirigami framework. I’ve named the game Kolorfill, because it is about…
I like to cook. And sometimes store my recipes. Over the years I have tried KRecipes, kept my recipes in BasKet notes, in KJots notes, in more or less random word processor documents. I liked the free form entering recipes…
The other day, some user of Extra CMake Modules (A collection of utilities and find modules created by KDE), asked if there was an easy way to query cmake for wherever the KDEInstallDirs points to (KDEInstallDirs is a set of…
Recent Comments