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 #ifndef WLANSNIFFERMAINWINDOW_H |
|
19 #define WLANSNIFFERMAINWINDOW_H |
|
20 |
|
21 #include <QObject> |
|
22 |
|
23 #include <HbMainWindow> |
|
24 |
|
25 class HbAction; |
|
26 class WlanSnifferListView; |
|
27 class WlanSniffer; |
|
28 class WlanSnifferService; |
|
29 |
|
30 class WlanSnifferMainWindow : public HbMainWindow |
|
31 { |
|
32 Q_OBJECT |
|
33 |
|
34 public: |
|
35 WlanSnifferMainWindow(WlanSniffer *appRef); |
|
36 virtual ~WlanSnifferMainWindow(); |
|
37 |
|
38 public slots: |
|
39 void toListView(); |
|
40 void toDetailsView(int iapId); |
|
41 |
|
42 void updateListView(); |
|
43 void updateListViewConnectionOpened(int iapId); |
|
44 void updateListViewConnectionClosed(int iapId); |
|
45 |
|
46 signals: |
|
47 void exitTriggered(); |
|
48 |
|
49 private slots: |
|
50 void completeService(); |
|
51 |
|
52 private: |
|
53 // Methods to add views to the main window |
|
54 void addListView(); |
|
55 |
|
56 private: |
|
57 WlanSniffer *mAppRef; |
|
58 WlanSnifferListView *mListView; |
|
59 WlanSnifferService* mService; |
|
60 }; |
|
61 |
|
62 #endif |