phoneapp/phoneuiview2/tsrc/ut_phoneuiqtview/qsysteminfo.h
changeset 78 baacf668fe89
parent 76 cfea66083b62
equal deleted inserted replaced
76:cfea66083b62 78:baacf668fe89
     1 /*
       
     2 * Copyright (c) 2010 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 #ifndef QSYSTEMINFO_H
       
    18 #define QSYSTEMINFO_H
       
    19 
       
    20 #include <QObject>
       
    21 
       
    22 namespace QtMobility {
       
    23 	
       
    24 }
       
    25 
       
    26 class QSystemNetworkInfo : public QObject
       
    27 {
       
    28     Q_OBJECT
       
    29 
       
    30 public:
       
    31 
       
    32     enum NetworkMode {
       
    33         UnknownMode=0,
       
    34         GsmMode,
       
    35         CdmaMode,
       
    36         WcdmaMode,
       
    37         WlanMode,
       
    38         EthernetMode,
       
    39         BluetoothMode,
       
    40         WimaxMode
       
    41     };
       
    42     
       
    43     QSystemNetworkInfo (QObject *parent = 0);
       
    44     virtual ~QSystemNetworkInfo () {};
       
    45     static QString networkName(QSystemNetworkInfo::NetworkMode mode);
       
    46     	
       
    47 signals:
       
    48 	  void networkNameChanged(QSystemNetworkInfo::NetworkMode,const QString &);
       
    49 
       
    50 private:
       
    51     
       
    52 };
       
    53 
       
    54 #endif // QSYSTEMINFO_H