From d388324e7b91bdd95553c3849d77cddd5bd0bfc4 Mon Sep 17 00:00:00 2001 From: mickeyl Date: Tue, 20 Jan 2004 13:07:31 +0000 Subject: initial import of powerchord courtesy Camilo Mesias modified some bits to be compatible with the opie build system packaging not complete yet i hope camilo will maintain this here... --- (limited to 'noncore/multimedia/powerchord/powerchord.cpp') diff --git a/noncore/multimedia/powerchord/powerchord.cpp b/noncore/multimedia/powerchord/powerchord.cpp new file mode 100644 index 0000000..79a26ea --- a/dev/null +++ b/noncore/multimedia/powerchord/powerchord.cpp @@ -0,0 +1,28 @@ +#include "powerchord.h" +#include + +/* + * Constructs a Example which is a child of 'parent', with the + * name 'name' and widget flags set to 'f' + */ +Powerchord::Powerchord( QWidget* parent, const char* name, WFlags fl ) + : PowerchordBase( parent, name, fl ) +{ +// connect(quit, SIGNAL(clicked), this, SLOT(goodBye())); +} + +/* + * Destroys the object and frees any allocated resources + */ +Powerchord::~Powerchord() +{ + // no need to delete child widgets, Qt does it all for us +} + +/* + * A simple slot... not very interesting. + */ +void Powerchord::goodBye() +{ + close(); +} -- cgit v0.9.0.2