summaryrefslogtreecommitdiff
path: root/example/example.cpp
Unidiff
Diffstat (limited to 'example/example.cpp') (more/less context) (show whitespace changes)
-rw-r--r--example/example.cpp28
1 files changed, 0 insertions, 28 deletions
diff --git a/example/example.cpp b/example/example.cpp
deleted file mode 100644
index 1e0bbe9..0000000
--- a/example/example.cpp
+++ b/dev/null
@@ -1,28 +0,0 @@
1#include "example.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 */
8Example::Example( QWidget* parent, const char* name, WFlags fl )
9 : ExampleBase( 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 */
17Example::~Example()
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 Example::goodBye()
26{
27 close();
28}