phoneuis/bubblemanager2/inc/bubblestyleoption.h
changeset 30 ebdbd102c78a
parent 27 2f8f8080a020
child 32 14cdbae33453
child 36 2eacb6118286
equal deleted inserted replaced
27:2f8f8080a020 30:ebdbd102c78a
     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:  Bubble style option.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef BUBBLESTYLEOPTION_H
       
    19 #define BUBBLESTYLEOPTION_H
       
    20 
       
    21 #include <hbstyleoption.h>
       
    22 #include "bubblemanagerif.h"
       
    23 
       
    24 class BubbleStyleOption : public HbStyleOption
       
    25 {
       
    26 public:
       
    27     BubbleStyleOption();
       
    28     BubbleStyleOption(const BubbleStyleOption &other);
       
    29     ~BubbleStyleOption();
       
    30 
       
    31     enum StyleOptionType { Type = HbSO_CustomBase + 1 };
       
    32     enum StyleOptionVersion { Version = 1 };
       
    33 
       
    34     QString mText1;
       
    35     Qt::TextElideMode mText1Clip;
       
    36     QString mText2;
       
    37     Qt::TextElideMode mText2Clip;
       
    38     QString mText3;
       
    39     Qt::TextElideMode mText3Clip;
       
    40     int mCliLineNumber;
       
    41     int mTimerLineNumber;
       
    42     BubbleManagerIF::PhoneCallState mCallState;
       
    43     BubbleManagerIF::PhoneNumberType mNumberType;
       
    44     int mCallFlags;
       
    45 };
       
    46 
       
    47 #endif // BUBBLESTYLEOPTION_H