radioapp/radiouiengine/inc/radiohistorymodel_p.h
changeset 16 f54ebcfc1b80
child 19 afea38384506
equal deleted inserted replaced
14:63aabac4416d 16:f54ebcfc1b80
       
     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 
       
    18 #ifndef RADIOHISTORYMODEL_P_H
       
    19 #define RADIOHISTORYMODEL_P_H
       
    20 
       
    21 // System includes
       
    22 #include <QList>
       
    23 #include <QString>
       
    24 
       
    25 // Forward declarations
       
    26 class RadioHistoryModel;
       
    27 class RadioUiEngine;
       
    28 class RadioHistoryItem;
       
    29 
       
    30 class RadioHistoryModelPrivate
       
    31 {
       
    32 public:
       
    33 
       
    34     explicit RadioHistoryModelPrivate( RadioHistoryModel* model, RadioUiEngine& uiEngine );
       
    35 
       
    36     ~RadioHistoryModelPrivate();
       
    37 
       
    38 public: // data
       
    39 
       
    40     /**
       
    41      * Pointer to the public class
       
    42      * Not own.
       
    43      */
       
    44     RadioHistoryModel*          q_ptr;
       
    45 
       
    46     /**
       
    47      * Reference to the ui engine
       
    48      */
       
    49     RadioUiEngine&              mUiEngine;
       
    50 
       
    51     /**
       
    52      * List of history items
       
    53      */
       
    54     QList<RadioHistoryItem>     mItems;
       
    55 
       
    56     QString                     mRtItemHolder;
       
    57 
       
    58     bool                        mTopItemIsPlaying;
       
    59 
       
    60     bool                        mShowDetails;
       
    61 
       
    62 };
       
    63 
       
    64 #endif // RADIOHISTORYMODEL_P_H