taskswitcherapp/tsserviceplugin/inc/tspresentation.h
changeset 39 4e8ebe173323
parent 36 cdae8c6c3876
child 42 517f4fb5ec74
child 46 23b5d6a29cce
equal deleted inserted replaced
36:cdae8c6c3876 39:4e8ebe173323
     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: 
       
    15 *
       
    16 */
       
    17 #ifndef TSPRESENTATION_H
       
    18 #define TSPRESENTATION_H
       
    19 
       
    20 #include "tspresentationinterface.h"
       
    21 #include "tsdocumentloader.h"
       
    22 
       
    23 class HbDialog;
       
    24 class TsTasksGrid;
       
    25 
       
    26 class TsPresentation : public TsPresentationInterface
       
    27 {
       
    28     Q_OBJECT
       
    29 
       
    30 public:
       
    31     TsPresentation(QObject *parent = 0);
       
    32 
       
    33 public:
       
    34     virtual void setModel(QAbstractItemModel *model);
       
    35 
       
    36 public slots:
       
    37     virtual void hide();
       
    38     virtual void show();
       
    39 
       
    40 private slots:
       
    41     void loadOrientationSpecificLayoutData(Qt::Orientation orientation);
       
    42 
       
    43 private:
       
    44     TsDocumentLoader mLoader;
       
    45     HbDialog *mDialog;
       
    46     TsTasksGrid *mGrid;
       
    47 
       
    48 };
       
    49 
       
    50 #endif // TSPRESENTATION_H