I found a couple of links - this one from April 2003 - "MythAlarm Requirements":
http://www.gossamer-threads.com/lists/mythtv/users/24235
Guess a list of requirements was all the person was able to do. Ahh well some good ideas in there anyway.
Also an entry in the mythtv.org trac about adding a clock to any menu: http://svn.mythtv.org/trac/changeset/13574
Now thats not quite what I was looking to build but an interesting idea anyway.
My first attempt at putting the binClock code in didn't have any effect - not surprising from the quick code mashup I performed.
Ok, so after getting the MythAlarm stuff all working I tested it - and not much happened. After looking through the code I can see why - there's not much code there to do anything. Really - as in (almost) nothing - I'm not sure what the original poster thought would happen but to test your code it needs to do something.
So, this got me thinking.
So in this second part, I needed to add MythAlarm (and MythHelloWorld) to the MythTV main menu:
# nano /usr/share/mythtv/mainmenu.xml
I added these lines near the bottom of the file:
[lt]button[gt]
[lt]type[gt]HELLO_MYTH[lt]/type[gt]
[lt]text[gt]Hello Myth[lt]/text[gt]
[lt]action[gt]PLUGIN mythhello[lt]/action[gt]
[lt]/button[gt]
[lt]button[gt]
[lt]type[gt]MYTHALARM[lt]/type[gt]
[lt]text[gt]Myth Alarm[lt]/text[gt]
[lt]action[gt]MENU alarm_settings.xml[lt]/action[gt]
[lt]/button[gt]
Then copy over the alarm-ui.xml and alarm_settings.xml files to where MythTV can find them:
# cp al*.xml /usr/share/mythtv/.
Then fire up MythTV and see if it works ...
I was looking recently for an Alarm for my MythTV box, but there doesn't seem to be one. I did find some code on a recent posting here:
http://www.qtcentre.org/forum/f-qt-programming-2/t-q-object-problems-7670-post44252.html#post44252
Downloaded - and had to massage it to use local QT3 instead of the QT4 that's also installed on my Gentoo MythTV box. Would be nice if MythTV could move forward to QT4. Anyway, once it finally compiled right, I found this article:
http://www.mythtv.org/wiki/index.php/Building_Plugins:HelloMyth
on building MythTV plugins, and used this as a guide on where to add in the MythAlarm information.