X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtopia%2Fexample.cpp;fp=src%2Fqtopia%2Fexample.cpp;h=0000000000000000000000000000000000000000;hb=ec9528b2997470953e3c4e456271e696026e9717;hp=b6756a34cf4543701c2cb6dc059333bd823bc4cf;hpb=ac70c47569dc99592c5ec3fe92a5f087cd1f7bcb;p=quassel.git diff --git a/src/qtopia/example.cpp b/src/qtopia/example.cpp deleted file mode 100644 index b6756a34..00000000 --- a/src/qtopia/example.cpp +++ /dev/null @@ -1,52 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2000-$THISYEAR$ $TROLLTECH$. All rights reserved. -** -** This file is part of the $MODULE$ of the Qtopia Toolkit. -** -** $TROLLTECH_DUAL_LICENSE$ -** -** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE -** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. -** -****************************************************************************/ - -#include "example.h" -#include - -ExampleBase::ExampleBase( QWidget *parent, Qt::WFlags f ) - : QWidget( parent, f ) -{ - setupUi( this ); -} - -ExampleBase::~ExampleBase() -{ -} - -/* - * Constructs a Example which is a child of 'parent', with the - * name 'name' and widget flags set to 'f' - */ -Example::Example( QWidget *parent, Qt::WFlags f ) - : ExampleBase( parent, f ) -{ - connect(quit, SIGNAL(clicked()), this, SLOT(goodBye())); -} - -/* - * Destroys the object and frees any allocated resources - */ -Example::~Example() -{ - // no need to delete child widgets, Qt does it all for us -} - -/* - * A simple slot... not very interesting. - */ -void Example::goodBye() -{ - close(); -} -