phoneplugins/infowidgetplugin/infowidgetprovider/infowidget/src/infowidgetlinehandler.cpp
branchGCC_SURGE
changeset 51 f39ed5e045e0
parent 40 bab96b7ed1a4
parent 46 bc5a64e5bc3c
equal deleted inserted replaced
40:bab96b7ed1a4 51:f39ed5e045e0
     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 
       
    19 #include "infowidgetlinehandler.h"
       
    20 #include "infowidgetlogging.h"
       
    21 
       
    22 
       
    23 /*! 
       
    24  */
       
    25 InfoWidgetLineHandler::InfoWidgetLineHandler(QObject *parent):
       
    26     QObject(parent), 
       
    27     m_activeLine(1)
       
    28 {
       
    29     DPRINT; 
       
    30 }
       
    31 
       
    32 /*!
       
    33  */
       
    34 InfoWidgetLineHandler::~InfoWidgetLineHandler()
       
    35 {
       
    36     DPRINT; 
       
    37 }    
       
    38 
       
    39 /*!
       
    40  */
       
    41 void InfoWidgetLineHandler::logCurrentInfo()
       
    42 {
       
    43     DPRINT; 
       
    44 } 
       
    45 
       
    46 /*!
       
    47  */
       
    48 int InfoWidgetLineHandler::activeLine() const
       
    49 {
       
    50     DPRINT << ": active line: " << m_activeLine;
       
    51     return m_activeLine; 
       
    52 }
       
    53     
       
    54 /*!
       
    55  */
       
    56 void InfoWidgetLineHandler::setActiveLine(int line)
       
    57 {
       
    58     DPRINT << ": active line: " << line; 
       
    59     m_activeLine = line; 
       
    60 }
       
    61 
       
    62 // End of File. 
       
    63