[Kde-games-devel] Season of KDE

Stefan Majewsky stefan.majewsky at googlemail.com
Sat May 12 20:34:17 UTC 2012


On Tue, May 1, 2012 at 6:58 AM, Ian Wadham <iandw.au at gmail.com> wrote:
> Maybe the games that
> use KNotify are using "standard" system sounds.  Dunno why.

I used KNotify in KDiamond because KNetwalk did it, too, and I copied
quite some code from KNetwalk when I first wrote KDiamond. The nice
thing about KNotify is that you need to do almost nothing in the code
to generate the events, only one KNotification line (plus a
configuration file). KgSound is nearly as simple to use, with the only
additional line of code being the KgSound constructor. Nothing like
Phonon where you need to setup a whole infrastructure before you hear
the first beep.

Greetings
Stefan


More information about the kde-games-devel mailing list