00001 #include "powerchord.h" 00002 00003 /* 00004 * Constructs a Example which is a child of 'parent', with the 00005 * name 'name' and widget flags set to 'f' 00006 */ 00007 Powerchord::Powerchord( QWidget* parent, const char* name, WFlags fl ) 00008 : PowerchordBase( parent, name, fl ) 00009 { 00010 // connect(quit, SIGNAL(clicked), this, SLOT(goodBye())); 00011 } 00012 00013 /* 00014 * Destroys the object and frees any allocated resources 00015 */ 00016 Powerchord::~Powerchord() 00017 { 00018 // no need to delete child widgets, Qt does it all for us 00019 } 00020 00021 /* 00022 * A simple slot... not very interesting. 00023 */ 00024 void Powerchord::goodBye() 00025 { 00026 close(); 00027 }
1.4.2