19
|
1 |
/*
|
|
2 |
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
* All rights reserved.
|
|
4 |
* This component and the accompanying materials are made available
|
|
5 |
* under the terms of "Eclipse Public License v1.0"
|
|
6 |
* which accompanies this distribution, and is available
|
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
*
|
|
9 |
* Initial Contributors:
|
|
10 |
* Nokia Corporation - initial contribution.
|
|
11 |
*
|
|
12 |
* Contributors:
|
|
13 |
*
|
|
14 |
*
|
|
15 |
* Description:
|
|
16 |
* The main window function for Tone Fetcher
|
|
17 |
*/
|
|
18 |
|
|
19 |
#include "tonefetchermainwindow.h"
|
|
20 |
#include <hbview.h>
|
|
21 |
|
|
22 |
ToneFetcherMainWindow::ToneFetcherMainWindow(QWidget *parent)
|
|
23 |
: HbMainWindow(parent)
|
|
24 |
{
|
|
25 |
mToneFetcher = new ToneFetcher(this);
|
|
26 |
|
|
27 |
}
|
|
28 |
|
|
29 |
ToneFetcherMainWindow::~ToneFetcherMainWindow()
|
|
30 |
{
|
|
31 |
delete mToneFetcher;
|
|
32 |
}
|
|
33 |
|
|
34 |
void ToneFetcherMainWindow::quit()
|
|
35 |
{
|
|
36 |
connect(mToneFetcher, SIGNAL(returnValueDelivered()), qApp, SLOT(quit()));
|
|
37 |
mToneFetcher->complete();
|
|
38 |
}
|
|
39 |
|
|
40 |
//End of File
|