phoneplugins/infowidgetplugin/infowidgetprovider/infowidget/src/infowidgetlinehandler.cpp
equal
deleted
inserted
replaced
|
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 << ": IN"; |
|
30 DPRINT << ": OUT"; |
|
31 } |
|
32 |
|
33 /*! |
|
34 */ |
|
35 InfoWidgetLineHandler::~InfoWidgetLineHandler() |
|
36 { |
|
37 DPRINT << ": IN"; |
|
38 DPRINT << ": OUT"; |
|
39 } |
|
40 |
|
41 /*! |
|
42 */ |
|
43 void InfoWidgetLineHandler::logCurrentInfo() |
|
44 { |
|
45 DPRINT << ": IN"; |
|
46 DPRINT << ": OUT"; |
|
47 |
|
48 } |
|
49 |
|
50 /*! |
|
51 */ |
|
52 int InfoWidgetLineHandler::activeLine() const |
|
53 { |
|
54 DPRINT << ": active line: " << m_activeLine; |
|
55 return m_activeLine; |
|
56 } |
|
57 |
|
58 /*! |
|
59 */ |
|
60 void InfoWidgetLineHandler::setActiveLine(int line) |
|
61 { |
|
62 DPRINT << ": active line: " << line; |
|
63 m_activeLine = line; |
|
64 } |
|
65 |
|
66 // End of File. |
|
67 |