clientprovisioning/cpqtsp/inc/CpQtSpMainWindow.h
changeset 30 d3981f4fe6a4
equal deleted inserted replaced
27:516a867811c3 30:d3981f4fe6a4
       
     1 /*
       
     2 * Copyright (c) 2002 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: 
       
    15 *     
       
    16 *
       
    17 */
       
    18 
       
    19 #ifndef CPQTSPMAINWINDOW_H
       
    20 #define CPQTSPMAINWINDOW_H
       
    21 
       
    22 #include <hbmainwindow.h>
       
    23 #include <HbWidget>
       
    24 #include <QGraphicsLinearLayout>
       
    25 
       
    26 class CpQtSpView;
       
    27 class CpQtSp;
       
    28 
       
    29 class CpQtSpMainWindow : public HbMainWindow
       
    30 {
       
    31     Q_OBJECT
       
    32     
       
    33 public:
       
    34      CpQtSpMainWindow(QWidget *parent=0);
       
    35      ~CpQtSpMainWindow(); 
       
    36      void buildView();
       
    37      void closeWindow();
       
    38      
       
    39 public slots:
       
    40     void showView();
       
    41     void OrientationChange();
       
    42 private:
       
    43     CpQtSp* iServiceProvider;
       
    44     CpQtSpView* iView;    
       
    45     HbWidget* widget;
       
    46     QGraphicsLinearLayout* layout;    
       
    47 };
       
    48 
       
    49 #endif // CPQTSPMAINWINDOW_H