1 /****************************************************************************
3 ** Copyright (C) 2000-$THISYEAR$ $TROLLTECH$. All rights reserved.
5 ** This file is part of the $MODULE$ of the Qtopia Toolkit.
7 ** $TROLLTECH_DUAL_LICENSE$
9 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
10 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
12 ****************************************************************************/
15 #include <qpushbutton.h>
17 ExampleBase::ExampleBase( QWidget *parent, Qt::WFlags f )
18 : QWidget( parent, f )
23 ExampleBase::~ExampleBase()
28 * Constructs a Example which is a child of 'parent', with the
29 * name 'name' and widget flags set to 'f'
31 Example::Example( QWidget *parent, Qt::WFlags f )
32 : ExampleBase( parent, f )
34 connect(quit, SIGNAL(clicked()), this, SLOT(goodBye()));
38 * Destroys the object and frees any allocated resources
42 // no need to delete child widgets, Qt does it all for us
46 * A simple slot... not very interesting.
48 void Example::goodBye()