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 * This is a source file for WlanQtUtilsActiveConn class. |
|
16 */ |
|
17 |
|
18 #include "wlanqtutilsactiveconn.h" |
|
19 |
|
20 WlanQtUtilsActiveConn::WlanQtUtilsActiveConn() : |
|
21 connectionId_(0), |
|
22 iapId_(0), |
|
23 connectionStatus_(WlanQtUtilsConnectionStatusNone), |
|
24 bearerType_(WlanQtUtilsBearerTypeNone) |
|
25 { |
|
26 } |
|
27 |
|
28 WlanQtUtilsActiveConn::~WlanQtUtilsActiveConn() |
|
29 { |
|
30 } |
|
31 |
|
32 uint WlanQtUtilsActiveConn::connectionId() const |
|
33 { |
|
34 return connectionId_; |
|
35 } |
|
36 |
|
37 void WlanQtUtilsActiveConn::setConnectionId(uint connectionId) |
|
38 { |
|
39 connectionId_ = connectionId; |
|
40 } |
|
41 |
|
42 uint WlanQtUtilsActiveConn::iapId() const |
|
43 { |
|
44 return iapId_; |
|
45 } |
|
46 |
|
47 void WlanQtUtilsActiveConn::setIapId(uint iapId) |
|
48 { |
|
49 iapId_ = iapId; |
|
50 } |
|
51 |
|
52 WlanQtUtilsConnectionStatus WlanQtUtilsActiveConn::connectionStatus() const |
|
53 { |
|
54 return connectionStatus_; |
|
55 } |
|
56 |
|
57 void WlanQtUtilsActiveConn::setConnectionStatus(WlanQtUtilsConnectionStatus connectionStatus) |
|
58 { |
|
59 connectionStatus_ = connectionStatus; |
|
60 } |
|
61 |
|
62 WlanQtUtilsBearerType WlanQtUtilsActiveConn::bearerType() const |
|
63 { |
|
64 return bearerType_; |
|
65 } |
|
66 |
|
67 void WlanQtUtilsActiveConn::setBearerType(WlanQtUtilsBearerType bearerType) |
|
68 { |
|
69 bearerType_ = bearerType; |
|
70 } |
|