phoneapp/phoneui2/src/hbphonemainwindow.cpp
changeset 78 baacf668fe89
parent 76 cfea66083b62
equal deleted inserted replaced
76:cfea66083b62 78:baacf668fe89
     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 * Description:  Main window class.
       
    15 *
       
    16 */
       
    17 
       
    18 #include "hbphonemainwindow.h"
       
    19 #include "phoneuihousehold.h"
       
    20 
       
    21 HbPhoneMainWindow::HbPhoneMainWindow(QWidget *parent): 
       
    22     HbMainWindow(parent)
       
    23 {
       
    24     mHouseHold = new PhoneUiHouseHold (*this);
       
    25 }
       
    26 
       
    27 HbPhoneMainWindow::~HbPhoneMainWindow ()
       
    28 {
       
    29     delete mHouseHold;
       
    30 }
       
    31 
       
    32 void HbPhoneMainWindow::onFocusLost()
       
    33 {
       
    34     emit focusLost();
       
    35 }
       
    36 void HbPhoneMainWindow::onFocusGained()
       
    37 {
       
    38     emit focusGained();
       
    39 }
       
    40