fotaapplication/fotaserver/src/fsview.cpp
branchRCL_3
changeset 26 19bba8228ff0
parent 25 b183ec05bd8c
child 27 5cc2995847ea
equal deleted inserted replaced
25:b183ec05bd8c 26:19bba8228ff0
     1 /*
       
     2  * Copyright (c) 2000 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: Implementation of applicationmanagement components
       
    15  *
       
    16  */
       
    17 
       
    18 #include "fsview.h"
       
    19 #include "FotaServer.h"
       
    20 
       
    21 // ------------------------------------------------------------------------------------------------
       
    22 // FSView::FSView()
       
    23 // ------------------------------------------------------------------------------------------------
       
    24 FSView::FSView()
       
    25     {
       
    26     
       
    27     }
       
    28 // ------------------------------------------------------------------------------------------------
       
    29 // FSView::~FSView()
       
    30 // ------------------------------------------------------------------------------------------------
       
    31 FSView::~FSView()
       
    32     {
       
    33     
       
    34     }
       
    35 // ------------------------------------------------------------------------------------------------
       
    36 // FSView::eventFilter()
       
    37 // ------------------------------------------------------------------------------------------------
       
    38 bool FSView::eventFilter(QObject *object, QEvent *event)
       
    39 {   
       
    40     switch (event->type())
       
    41         {
       
    42         case QEvent::ApplicationActivate:
       
    43             {
       
    44 //            RDEBUG( "eventFilter: QEvent::ApplicationActivate start" );
       
    45 	    iServer->SetVisible(ETrue);
       
    46 //            RDEBUG( "eventFilter: end" );
       
    47             break;
       
    48             }
       
    49         default:
       
    50             break;
       
    51         }
       
    52 return HbView::eventFilter(object, event); 
       
    53 }
       
    54 
       
    55 
       
    56 
       
    57 void FSView::SetServer(CFotaServer * aServer)
       
    58 {
       
    59 	iServer = aServer;
       
    60 }