summaryrefslogtreecommitdiff
path: root/noncore/multimedia/powerchord/powerchord.cpp
Unidiff
Diffstat (limited to 'noncore/multimedia/powerchord/powerchord.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/powerchord/powerchord.cpp28
1 files changed, 28 insertions, 0 deletions
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 @@
1#include "powerchord.h"
2#include <qpushbutton.h>
3
4/*
5 * Constructs a Example which is a child of 'parent', with the
6 * name 'name' and widget flags set to 'f'
7 */
8Powerchord::Powerchord( QWidget* parent, const char* name, WFlags fl )
9 : PowerchordBase( parent, name, fl )
10{
11// connect(quit, SIGNAL(clicked), this, SLOT(goodBye()));
12}
13
14/*
15 * Destroys the object and frees any allocated resources
16 */
17Powerchord::~Powerchord()
18{
19 // no need to delete child widgets, Qt does it all for us
20}
21
22/*
23 * A simple slot... not very interesting.
24 */
25void Powerchord::goodBye()
26{
27 close();
28}